Prototype/Gate: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 12: Line 12:
=== horizontal_animation ===
=== horizontal_animation ===
'''Type''': [[Types/Animation]]
'''Type''': [[Types/Animation]]
=== vertical_base ===
'''Type''': [[Types/Sprite]]
=== horizontal_base ===
'''Type''': [[Types/Sprite]]


=== vertical_rail_animation_left ===
=== vertical_rail_animation_left ===
Line 36: Line 30:
=== horizontal_rail_base ===
=== horizontal_rail_base ===
'''Type''': [[Types/Animation]]
'''Type''': [[Types/Animation]]
=== vertical_rail_base_mask ===
'''Type''': [[Types/Sprite]]
=== horizontal_rail_base_mask ===
'''Type''': [[Types/Sprite]]


=== wall_patch ===
=== wall_patch ===
'''Type''': [[Types/Sprite4Way]]
'''Type''': [[Types/Animation]]


=== opening_speed ===
=== opening_speed ===
Line 62: Line 50:


== Optional properties ==
== Optional properties ==
=== fadeout_interval ===
'''Type''': [[Types/uint32]]
'''Default''': 0


=== collision_mask ===
=== collision_mask ===
'''Type''': [[Types/CollisionMask]]
'''Type''': [[Types/CollisionMask]]

Revision as of 15:37, 11 March 2019

Basics

Prototype type: gate

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

vertical_animation

Type: Types/Animation

horizontal_animation

Type: Types/Animation

vertical_rail_animation_left

Type: Types/Animation

vertical_rail_animation_right

Type: Types/Animation

horizontal_rail_animation_left

Type: Types/Animation

horizontal_rail_animation_right

Type: Types/Animation

vertical_rail_base

Type: Types/Animation

horizontal_rail_base

Type: Types/Animation

wall_patch

Type: Types/Animation

opening_speed

Type: Types/float

activation_distance

Type: Types/double

timeout_to_close

Type: Types/uint32

open_sound

Type: Types/Sound

close_sound

Type: Types/Sound

Optional properties

fadeout_interval

Type: Types/uint32

Default: 0

collision_mask

Type: Types/CollisionMask