Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''offshore-pump'''
Extends [[Prototype/EntityWithHealth]].
Extends [[Prototype/EntityWithHealth]].



Revision as of 16:27, 21 January 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

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.