Prototype/TransportBelt: Difference between revisions
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/TransportBeltConnectable}} | {{Prototype parent|Prototype/TransportBeltConnectable}} | ||
A [[transport belt]]. | |||
{{Prototype TOC|transport-belt}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/TransportBeltConnectable]]. | This prototype inherits all the properties from [[Prototype/TransportBeltConnectable]]. | ||
{{Prototype property|connector_frame_sprites|[[Types/TransportBeltConnectorFrame|TransportBeltConnectorFrame]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
The maximum circuit wire distance for this entity. | The maximum circuit wire distance for this entity. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|circuit_wire_connection_point|Array of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
Defines how wires visually connect to this transport belt. | Defines how wires visually connect to this transport belt. | ||
{{Prototype property|circuit_connector_sprites|Array of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
The pictures displayed for circuit connections to this transport belt. | The pictures displayed for circuit connections to this transport belt. | ||
{{Prototype property|belt_animation_set|[[Types/table|table]]|optional=true}} | |||
Either this, or <code>animations</code> has to present. | Either this, or <code>animations</code> has to present. | ||
Line 49: | Line 30: | ||
Table with the following additional optional properties: | Table with the following additional optional properties: | ||
* east_to_north_index - [[Types/uint8]] - Default: 5 | * east_to_north_index - [[Types/uint8|uint8]] - Default: 5 | ||
* north_to_east_index - [[Types/uint8]] - Default: 6 | * north_to_east_index - [[Types/uint8|uint8]] - Default: 6 | ||
* west_to_north_index - [[Types/uint8]] - Default: 7 | * west_to_north_index - [[Types/uint8|uint8]] - Default: 7 | ||
* north_to_west_index - [[Types/uint8]] - Default: 8 | * north_to_west_index - [[Types/uint8|uint8]] - Default: 8 | ||
* south_to_east_index - [[Types/uint8]] - Default: 9 | * south_to_east_index - [[Types/uint8|uint8]] - Default: 9 | ||
* east_to_south_index - [[Types/uint8]] - Default: 10 | * east_to_south_index - [[Types/uint8|uint8]] - Default: 10 | ||
* south_to_west_index - [[Types/uint8]] - Default: 11 | * south_to_west_index - [[Types/uint8|uint8]] - Default: 11 | ||
* west_to_south_index - [[Types/uint8]] - Default: 12 | * west_to_south_index - [[Types/uint8|uint8]] - Default: 12 | ||
{{Prototype property|animations|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | |||
Transport belts must have 12 animations. Mandatory if <code>belt_animation_set</code> is not present. | Transport belts must have 12 animations. Mandatory if <code>belt_animation_set</code> is not present. |
Revision as of 17:23, 5 August 2019
Template:Prototype parent A transport belt.
Mandatory properties
This prototype inherits all the properties from Prototype/TransportBeltConnectable.
Optional properties
Template:Prototype property The maximum circuit wire distance for this entity.
Template:Prototype property Defines how wires visually connect to this transport belt.
Template:Prototype property The pictures displayed for circuit connections to this transport belt.
Template:Prototype property
Either this, or animations
has to present.
This is the same table as the one used by Prototype/TransportBeltConnectable, with additional properties. If this is present, the belt_animation_set will used for all graphics.
Table with the following additional optional properties:
- east_to_north_index - uint8 - Default: 5
- north_to_east_index - uint8 - Default: 6
- west_to_north_index - uint8 - Default: 7
- north_to_west_index - uint8 - Default: 8
- south_to_east_index - uint8 - Default: 9
- east_to_south_index - uint8 - Default: 10
- south_to_west_index - uint8 - Default: 11
- west_to_south_index - uint8 - Default: 12
Template:Prototype property
Transport belts must have 12 animations. Mandatory if belt_animation_set
is not present.