Prototype/Gate: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Protected "Prototype/Gate": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Removed old prototype docs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/GatePrototype.html https://lua-api.factorio.com/latest/prototypes/GatePrototype.html]
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/GatePrototype.html https://lua-api.factorio.com/latest/prototypes/GatePrototype.html]


This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
 
 
{{Prototype parent|Prototype/EntityWithOwner}}
A [[gate]].
 
{{Prototype TOC|gate}}
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithOwner]].
 
{{Prototype property|vertical_animation|[[Types/Animation|Animation]]}}
 
{{Prototype property|horizontal_animation|[[Types/Animation|Animation]]}}
 
{{Prototype property|vertical_rail_animation_left|[[Types/Animation|Animation]]}}
 
{{Prototype property|vertical_rail_animation_right|[[Types/Animation|Animation]]}}
 
{{Prototype property|horizontal_rail_animation_left|[[Types/Animation|Animation]]}}
 
{{Prototype property|horizontal_rail_animation_right|[[Types/Animation|Animation]]}}
 
{{Prototype property|vertical_rail_base|[[Types/Animation|Animation]]}}
 
{{Prototype property|horizontal_rail_base|[[Types/Animation|Animation]]}}
 
{{Prototype property|wall_patch|[[Types/Animation|Animation]]}}
 
{{Prototype property|opening_speed|[[Types/float|float]]}}
 
{{Prototype property|activation_distance|[[Types/double|double]]}}
 
{{Prototype property|timeout_to_close|[[Types/uint32|uint32]]}}
 
{{Prototype property|open_sound|[[Types/Sound|Sound]]}}
 
{{Prototype property|close_sound|[[Types/Sound|Sound]]}}
 
== Optional properties ==
 
{{Prototype property|fadeout_interval|[[Types/uint32|uint32]]|0|optional=true}}
 
{{Prototype property|opened_collision_mask|[[Types/CollisionMask|CollisionMask]]|<nowiki>{"object-layer", "item-layer", "floor-layer", "water-tile"}</nowiki>|optional=true}}
This collision mask is used when the gate is open.

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/GatePrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.