Make Gate more independent from Building and pausable-conditional

Replace Gate IsDisabled checks with IsTraitDisabled/Paused checks
This commit is contained in:
reaperrr
2017-11-19 17:10:29 +01:00
committed by Paul Chote
parent 383840135f
commit c1cba4ecc1
6 changed files with 93 additions and 37 deletions

View File

@@ -707,22 +707,22 @@
Type: Heavy
LineBuildNode:
Types: concrete, gate
-Building:
-WithSpriteBody:
WithGateSpriteBody:
Tooltip:
Name: Gate
Gate:
BlocksProjectilesHeight: 0
Building:
BuildSounds: place2.aud
OpeningSound: cashturn.aud
ClosingSound: cashturn.aud
TerrainTypes: Clear, Road
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
EditorTilesetFilter:
Categories: Wall
Gate:
OpeningSound: cashturn.aud
ClosingSound: cashturn.aud
BlocksProjectilesHeight: 0
^TechBuilding:
Inherits: ^BasicBuilding