Remove Infiltratable trait and refactor surrounding code to use target types

This commit is contained in:
ScottNZ
2014-08-01 01:19:05 +12:00
parent 9422285aa2
commit 058185754e
12 changed files with 54 additions and 94 deletions

View File

@@ -298,7 +298,7 @@ CHAMSPY:
TakeCover:
Disguise:
Infiltrates:
Types: Cash, SupportPower, Exploration
Types: SpyInfiltrate
-AutoTarget:
-RenderInfantry:
RenderDisguise:

View File

@@ -623,8 +623,6 @@ GARADR:
RequiresPower:
CanPowerDown:
ProvidesRadar:
Infiltratable:
Type: Exploration
InfiltrateForExploration:
DetectCloaked:
Range: 10
@@ -634,6 +632,8 @@ GARADR:
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: yes
TargetableBuilding:
TargetTypes: Ground, C4, SpyInfiltrate
NARADR:
Inherits: ^Building
@@ -661,8 +661,6 @@ NARADR:
RequiresPower:
CanPowerDown:
ProvidesRadar:
Infiltratable:
Type: Exploration
InfiltrateForExploration:
DetectCloaked:
Range: 10
@@ -672,6 +670,8 @@ NARADR:
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: yes
TargetableBuilding:
TargetTypes: Ground, C4, SpyInfiltrate
GATECH:
Inherits: ^Building