Prototype/Gate: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
Line 56: Line 56:
'''Default''': 0
'''Default''': 0


=== collision_mask ===
=== opened_collision_mask ===
'''Type''': [[Types/CollisionMask]]
'''Type''': [[Types/CollisionMask]]
'''Default''': {"object-layer", "item-layer", "floor-layer", "water-tile"}
This collision mask is used when the gate is open.

Revision as of 08:03, 25 April 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

opened_collision_mask

Type: Types/CollisionMask

Default: {"object-layer", "item-layer", "floor-layer", "water-tile"}

This collision mask is used when the gate is open.