Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === fluid_box...")
 
Line 46: Line 46:
=== circuit_wire_connection_points ===
=== circuit_wire_connection_points ===
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]
Mandatory if circuit_wire_max_distance > 0.


=== circuit_connector_sprites ===
=== circuit_connector_sprites ===
'''Type''': [[Types/table]] of [[Types/CircuitConnectorSprites]]
'''Type''': [[Types/table]] of [[Types/CircuitConnectorSprites]]
Mandatory if circuit_wire_max_distance > 0.

Revision as of 19:36, 19 June 2018

Basics

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

fluid_box

Type: Types/FluidBox

pumping_speed

Type: Types/float

fluid

Type: Types/string

The name of the fluid that is produced by the pump.

picture

Type: Types/Sprite4Way

Optional properties

fluid_box_tile_collision_test

Type: Types/CollisionMask

Default: "ground-tile"

adjacent_tile_collision_test

Type: Types/CollisionMask

Default: "water-tile"

placeable_position_visualization

Type: Types/Sprite

circuit_wire_max_distance

Type: Types/double

Default: 0

remove_on_tile_collision

Type: Types/bool

Default: false

circuit_wire_connection_points

Type: Types/table of Types/WireConnectionPoint

Mandatory if circuit_wire_max_distance > 0.

circuit_connector_sprites

Type: Types/table of Types/CircuitConnectorSprites

Mandatory if circuit_wire_max_distance > 0.