Prototype/Inserter: Difference between revisions
(0.17.69) |
(0.18.10: use_easter_egg) |
||
Line 22: | Line 22: | ||
{{Prototype property|hand_closed_picture|[[Types/Sprite|Sprite]]}} | {{Prototype property|hand_closed_picture|[[Types/Sprite|Sprite]]}} | ||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | {{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | ||
Line 49: | Line 43: | ||
{{Prototype property|draw_held_item|[[Types/bool|bool]]|true|optional=true}} | {{Prototype property|draw_held_item|[[Types/bool|bool]]|true|optional=true}} | ||
Whether the item that the inserter is holding should be drawn. | Whether the item that the inserter is holding should be drawn. | ||
{{Prototype property|use_easter_egg|[[Types/bool|bool]]|true|optional=true}} | |||
Whether the inserter should be able to fish [[raw fish|fish]]. | |||
{{Prototype property|filter_count|[[Types/uint8|uint8]]|0|optional=true}} | {{Prototype property|filter_count|[[Types/uint8|uint8]]|0|optional=true}} | ||
How many filters this inserter has. Maximum count of filtered items in inserter is 5. | How many filters this inserter has. Maximum count of filtered items in inserter is 5. | ||
{{Prototype property|hand_base_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_open_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_closed_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_size|[[Types/double|double]]|0.75|optional=true}} | {{Prototype property|hand_size|[[Types/double|double]]|0.75|optional=true}} |
Revision as of 18:00, 3 March 2020
Template:Prototype parent An inserter.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution.
Optional properties
Template:Prototype property Whether this inserter is considered a stack inserter. Relevant for determining how Inserter capacity bonus (research) applies to the inserter.
Template:Prototype property Whether pickup and insert position can be set run-time.
Template:Prototype property Whether this burner inserter can fuel itself from the fuel inventory of the entity it is picking up items from.
Template:Prototype property Whether the item that the inserter is holding should be drawn.
Template:Prototype property Whether the inserter should be able to fish fish.
Template:Prototype property How many filters this inserter has. Maximum count of filtered items in inserter is 5.
Template:Prototype property Used to determine how long the arm of the inserter is when drawing it. Does not affect gameplay. The lower the value, the straighter the arm. Increasing the value will give the inserter a bigger bend due to its longer parts.
Template:Prototype property The maximum circuit wire distance for this entity.
Template:Prototype property Whether the yellow arrow that indicates the drop point of the inserter and the line that indicates the pickup position should be drawn.