Merge pull request #13162 from pchote/tunnel-enter-cursor

Implement "Enter Tunnel" cursor
This commit is contained in:
reaperrr
2017-05-05 23:47:57 +02:00
committed by GitHub
10 changed files with 290 additions and 39 deletions

View File

@@ -381,6 +381,8 @@
ReferencePoint: Bottom, Right
RequiresCondition: hospitalheal
RevealOnFire:
EntersTunnels:
Voice: Move
^RegularInfantryDeath:
WithDeathAnimation@normal:
@@ -565,6 +567,8 @@
Carryable:
RequiresCondition: !inside-tunnel
RevealOnFire:
EntersTunnels:
Voice: Move
^Tank:
Inherits: ^Vehicle
@@ -710,6 +714,8 @@
Guardable:
WithFacingSpriteBody:
RevealOnFire:
EntersTunnels:
Voice: Move
^BlossomTree:
Inherits@1: ^SpriteActor
@@ -870,9 +876,21 @@
TerrainType: Rail
^Tunnel:
Inherits: ^TerrainOverlay
RenderSprites:
Palette: terraindecoration
WithSpriteBody:
BodyOrientation:
UseClassicPerspectiveFudge: False
QuantizedFacings: 1
Building:
Dimensions: 3, 3
Footprint: ___ ___ ___
CustomSelectionSize:
CustomBounds: 220,220
CustomBounds: 144, 144
Targetable:
AlwaysVisible:
TunnelEntrance:
Dimensions: 3, 3
^Gate:
Inherits: ^Building

View File

@@ -213,12 +213,24 @@ TRACKS16:
TUNTOP01:
Inherits: ^Tunnel
TunnelEntrance:
RallyPoint: -3, 1
Sensor: 0, 1
TUNTOP02:
Inherits: ^Tunnel
TunnelEntrance:
RallyPoint: 1, -3
Sensor: 1, 0
TUNTOP03:
Inherits: ^Tunnel
TunnelEntrance:
RallyPoint: 3, 1
Sensor: 0, 1
TUNTOP04:
Inherits: ^Tunnel
TunnelEntrance:
RallyPoint: 1, 3
Sensor: 1, 0