Prototype/Gate: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
A [[gate]].


== Basics ==
{{Prototype TOC|gate}}
Prototype type: '''gate'''
 
Extends [[Prototype/EntityWithHealth]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== vertical_animation ===
{{Prototype property|vertical_animation|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== horizontal_animation ===
{{Prototype property|horizontal_animation|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== vertical_rail_animation_left ===
{{Prototype property|vertical_rail_animation_left|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== vertical_rail_animation_right ===
{{Prototype property|vertical_rail_animation_right|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== horizontal_rail_animation_left ===
{{Prototype property|horizontal_rail_animation_left|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== horizontal_rail_animation_right ===
{{Prototype property|horizontal_rail_animation_right|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== vertical_rail_base ===
{{Prototype property|vertical_rail_base|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== horizontal_rail_base ===
{{Prototype property|horizontal_rail_base|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== wall_patch ===
{{Prototype property|wall_patch|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== opening_speed ===
{{Prototype property|opening_speed|[[Types/float|float]]}}
'''Type''': [[Types/float]]


=== activation_distance ===
{{Prototype property|activation_distance|[[Types/double|double]]}}
'''Type''': [[Types/double]]


=== timeout_to_close ===
{{Prototype property|timeout_to_close|[[Types/uint32|uint32]]}}
'''Type''': [[Types/uint32]]


=== open_sound ===
{{Prototype property|open_sound|[[Types/Sound|Sound]]}}
'''Type''': [[Types/Sound]]


=== close_sound ===
{{Prototype property|close_sound|[[Types/Sound|Sound]]}}
'''Type''': [[Types/Sound]]


== Optional properties ==
== Optional properties ==


=== fadeout_interval ===
{{Prototype property|fadeout_interval|[[Types/uint32|uint32]]|0|optional=true}}
'''Type''': [[Types/uint32]]
 
'''Default''': 0
 
=== opened_collision_mask ===
'''Type''': [[Types/CollisionMask]]
 
'''Default''': {"object-layer", "item-layer", "floor-layer", "water-tile"}


{{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.
This collision mask is used when the gate is open.

Revision as of 21:24, 29 July 2019