Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 40: Line 40:


'''Default''': 0
'''Default''': 0
The maximum circuit wire distance for this entity.
=== draw_copper_wires ===
'''Type''': [[Types/bool]]
'''Default''': true
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]
'''Default''': true


=== remove_on_tile_collision ===
=== remove_on_tile_collision ===

Revision as of 16:59, 9 April 2019

Basics

Prototype type: offshore-pump

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

The maximum circuit wire distance for this entity.

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true

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.