Prototype/Gate: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
Prototype type: '''gate'''
Prototype type: '''gate'''

Revision as of 15:48, 24 July 2019

Template:Prototype parent

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.