Prototype/UndergroundBelt: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(underground_remove_belts_sprite is optional) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/TransportBeltConnectable}} | {{Prototype parent|Prototype/TransportBeltConnectable}} | ||
An [[underground belt]]. | |||
{{Prototype TOC|underground-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|max_distance|[[Types/uint8|uint8]]}} | |||
{{Prototype property|structure|[[Types/table|table]]}} | |||
Table with the following members: | |||
* direction_in - [[Types/Sprite4Way|Sprite4Way]] - Mandatory. | |||
* direction_out - [[Types/Sprite4Way|Sprite4Way]] - Mandatory. | |||
* back_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional. | |||
* front_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional. | |||
* direction_in_side_loading - [[Types/Sprite4Way|Sprite4Way]] - Optional. | |||
* direction_out_side_loading - [[Types/Sprite4Way|Sprite4Way]] - Optional. | |||
{{Prototype property|underground_sprite|[[Types/Sprite|Sprite]]}} | |||
=== | == Optional properties == | ||
{{Prototype property|underground_remove_belts_sprite|[[Types/Sprite|Sprite]]|optional=true}} | |||
Latest revision as of 12:39, 17 March 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TransportBeltConnectable » Prototype/UndergroundBelt
An underground belt.
Mandatory properties
This prototype inherits all the properties from Prototype/TransportBeltConnectable.
max_distance
Type: uint8
structure
Type: table
Table with the following members:
- direction_in - Sprite4Way - Mandatory.
- direction_out - Sprite4Way - Mandatory.
- back_patch - Sprite4Way - Optional.
- front_patch - Sprite4Way - Optional.
- direction_in_side_loading - Sprite4Way - Optional.
- direction_out_side_loading - Sprite4Way - Optional.
underground_sprite
Type: Sprite
Optional properties
underground_remove_belts_sprite
Type: Sprite