Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(fixed that remove_on_tile_collision was duplicated)
Line 59: Line 59:


{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|remove_on_tile_collision|[[Types/bool|bool]]|false|optional=true}}


{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}}
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}}

Revision as of 11:36, 19 August 2021

Template:Prototype parent An offshore pump.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

Template:Prototype property How many units of fluid are produced per tick. Must be > 0.

Template:Prototype property The name of the fluid that is produced by the pump.

Optional properties

Template:Prototype property Mandatory if picture is not defined. Table with the following members:

  • animation - Animation4Way - Mandatory. Rendered in "object" layer, with secondary draw order 0.
  • base_render_layer - RenderLayer - Optional. Default: "ground-patch"
  • underwater_layer_offset - int8 - Optional. Default: 1
  • fluid_animation - Animation4Way - Optional. Rendered in "object" layer, with secondary draw order 20.
  • glass_pictures - Sprite4Way - Optional. Rendered in "object" layer, with secondary draw order 40.
  • base_pictures - Sprite4Way - Optional. Rendered in layer specified by base_render_layer, with secondary draw order 0.
  • underwater_pictures - Sprite4Way - Optional. Drawn by tile renderer when water animation is enabled.

Template:Prototype property Deprecated, use graphics_set instead. Ignored if graphics_set is defined.

Template:Prototype property Animation runs at least this fast.

Template:Prototype property

Template:Prototype property Tiles colliding with adjacent_tile_collision_box must collide with this collision mask (unless it's empty).

Template:Prototype property Tiles colliding with adjacent_tile_collision_box must NOT collide with this collision mask.

Template:Prototype property Tile at placement position must NOT collide with this collision mask.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The maximum circuit wire distance for this entity.

Template:Prototype property

Template:Prototype property

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.