Streamline RA target types

No more sharing of target types between terrain
and actors (except bridges), removed 'Ground(Actor)'
from WaterActors (was only used by weapons/warheads,
which can just list both ground- and water types.
This commit is contained in:
reaperrr
2020-05-09 22:26:50 +02:00
committed by reaperrr
parent 672bd2d9fe
commit 6a545bb942
13 changed files with 57 additions and 57 deletions

View File

@@ -96,7 +96,7 @@ DOG:
TRUK:
-Demolishable:
Targetable:
TargetTypes: Ground, Truk
TargetTypes: GroundActor, Truk
Armor:
Type: Truk

View File

@@ -35,7 +35,7 @@ SAM:
LST:
-Selectable:
Targetable:
TargetTypes: Ground, Water
TargetTypes: GroundActor, WaterActor
Interactable:
LST.IN:
@@ -50,7 +50,7 @@ TRAN:
RevealsShroud:
Range: 4c0
Targetable@GROUND:
TargetTypes: Ground
TargetTypes: GroundActor
Interactable:
TRAN.IN:
@@ -82,14 +82,14 @@ SPY:
WEAP:
-InfiltrateForSupportPower:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure
TargetTypes: GroundActor, C4, DetonateAttack, Structure
WEAP.infiltratable:
Inherits: WEAP
Buildable:
Prerequisites: ~disabled
Targetable@Spy:
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
TargetTypes: GroundActor, C4, DetonateAttack, Structure, Mission Objectives
RenderSprites:
Image: WEAP
ProvidesPrerequisite:
@@ -99,7 +99,7 @@ MISS:
Tooltip:
Name: Prison
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
TargetTypes: GroundActor, C4, DetonateAttack, Structure, Mission Objectives
AttackOmni:
Armament:
Weapon: PrisonColt

View File

@@ -48,7 +48,7 @@ TRUK:
STEK:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
TECH.CAM:
Inherits: CAMERA

View File

@@ -50,7 +50,7 @@ TECH.CAM:
STEK:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
APWR:
Buildable:

View File

@@ -33,7 +33,7 @@ World:
MISS:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, MissionObjective, NoAutoTarget
TargetTypes: GroundActor, C4, DetonateAttack, Structure, MissionObjective, NoAutoTarget
LST.Unselectable.UnloadOnly:
Inherits: LST
@@ -45,7 +45,7 @@ LST.Unselectable.UnloadOnly:
Cargo:
MaxWeight: 0
Targetable:
TargetTypes: Ground, Water, Repair, NoAutoTarget
TargetTypes: GroundActor, Water, Repair, NoAutoTarget
Interactable:
SPY.Strong:
@@ -90,7 +90,7 @@ TRUK.Hijackable:
PassengerConditions:
spy.strong: mobile
Targetable:
TargetTypes: Ground, Repair, Vehicle, NoAutoTarget
TargetTypes: GroundActor, Repair, Vehicle, NoAutoTarget
-Huntable:
Capturable:
Types: MissionObjective

View File

@@ -195,7 +195,7 @@ DOME.NoInfiltrate:
Image: DOME
-InfiltrateForExploration:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, MissionObjective
TargetTypes: GroundActor, Structure, C4, DetonateAttack, MissionObjective
ProvidesPrerequisite:
Prerequisite: dome

View File

@@ -304,7 +304,7 @@ V19:
SpawnActorOnDeath:
Actor: V19.Husk
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, NoAutoTarget
TargetTypes: GroundActor, C4, DetonateAttack, Structure, NoAutoTarget
V19.Husk:
Inherits: ^CivBuilding
@@ -338,7 +338,7 @@ BARL:
Armor:
Type: None
Targetable:
TargetTypes: Ground, DemoTruck, Barrel, NoAutoTarget
TargetTypes: GroundActor, DemoTruck, Barrel, NoAutoTarget
-ShakeOnDeath:
-SoundOnDamageTransition:
-Demolishable:
@@ -360,7 +360,7 @@ BRL3:
Armor:
Type: None
Targetable:
TargetTypes: Ground, DemoTruck, Barrel, NoAutoTarget
TargetTypes: GroundActor, DemoTruck, Barrel, NoAutoTarget
-ShakeOnDeath:
-SoundOnDamageTransition:
-Demolishable:

View File

@@ -197,7 +197,7 @@
^AutoTargetAir:
AutoTarget:
AutoTargetPriority@DEFAULT:
ValidTargets: Air
ValidTargets: AirborneActor
InvalidTargets: NoAutoTarget
^AutoTargetAll:
@@ -205,11 +205,11 @@
AttackAnythingCondition: stance-attackanything
AutoTargetPriority@DEFAULT:
RequiresCondition: !stance-attackanything
ValidTargets: Infantry, Vehicle, Ship, Underwater, Air, Defense, Mine
ValidTargets: Infantry, Vehicle, Ship, Underwater, AirborneActor, Defense, Mine
InvalidTargets: NoAutoTarget
AutoTargetPriority@ATTACKANYTHING:
RequiresCondition: stance-attackanything
ValidTargets: Infantry, Vehicle, Ship, Underwater, Air, Structure, Defense, Mine
ValidTargets: Infantry, Vehicle, Ship, Underwater, AirborneActor, Structure, Defense, Mine
InvalidTargets: NoAutoTarget
^AutoTargetAllAssaultMove:
@@ -246,7 +246,7 @@
Bounds: 24, 24
Targetable:
RequiresCondition: !parachute
TargetTypes: Ground, Vehicle
TargetTypes: GroundActor, Vehicle
Targetable@REPAIR:
RequiresCondition: !parachute && damaged
TargetTypes: Repair
@@ -331,7 +331,7 @@
DecorationBounds: 12,18,0,-8
Targetable:
RequiresCondition: !parachute
TargetTypes: Ground, Infantry, Disguise
TargetTypes: GroundActor, Infantry, Disguise
Targetable@HEAL:
RequiresCondition: !parachute && damaged
TargetTypes: Heal
@@ -490,7 +490,7 @@
Selectable:
Bounds: 24,24
Targetable:
TargetTypes: Ground, Water, Ship
TargetTypes: WaterActor, Ship
Targetable@REPAIR:
RequiresCondition: damaged
TargetTypes: Repair
@@ -544,10 +544,10 @@
AirborneCondition: airborne
Targetable@GROUND:
RequiresCondition: !airborne
TargetTypes: Ground, Vehicle
TargetTypes: GroundActor, Vehicle
Targetable@AIRBORNE:
RequiresCondition: airborne
TargetTypes: Air
TargetTypes: AirborneActor
Targetable@REPAIR:
RequiresCondition: !airborne && damaged
TargetTypes: Repair
@@ -625,7 +625,7 @@
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableBuilding
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure
TargetTypes: GroundActor, C4, DetonateAttack, Structure
Building:
Dimensions: 1,1
Footprint: x
@@ -712,7 +712,7 @@
Selectable:
Bounds: 24,24
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, Defense
TargetTypes: GroundActor, C4, DetonateAttack, Structure, Defense
MustBeDestroyed:
RequiredForShortGame: false
-GivesBuildableArea:
@@ -755,7 +755,7 @@
LineBuildNode:
Types: wall
Targetable:
TargetTypes: Ground, DetonateAttack, Wall, NoAutoTarget
TargetTypes: GroundActor, DetonateAttack, Wall, NoAutoTarget
-GivesExperience:
RenderSprites:
Palette: effect
@@ -814,7 +814,7 @@
^InfiltratableFake:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
InfiltrateForDecoration:
Types: SpyInfiltrate
Position: Top
@@ -833,7 +833,7 @@
Tooltip:
Name: Ammo Box
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, NoAutoTarget
TargetTypes: GroundActor, C4, DetonateAttack, Structure, NoAutoTarget
Armor:
Type: Light
MapEditorData:
@@ -997,7 +997,7 @@
WithColoredOverlay@IDISABLE:
Palette: disabled
Targetable:
TargetTypes: Ground, Husk, NoAutoTarget
TargetTypes: GroundActor, Husk, NoAutoTarget
RequiresForceFire: true
Chronoshiftable:
Tooltip:
@@ -1048,7 +1048,7 @@
Name: Bridge
ShowOwnerRow: false
Targetable:
TargetTypes: Ground, Water, Bridge
TargetTypes: GroundActor, WaterActor, Bridge
RequiresForceFire: true
Building:
Footprint: ____ ____
@@ -1157,7 +1157,7 @@
Tooltip:
Name: Mine
Targetable:
TargetTypes: Ground, Mine
TargetTypes: GroundActor, Mine
Immobile:
OccupiesSpace: true
HitShape:

View File

@@ -83,7 +83,7 @@ SYRF:
GenericVisibility: Enemy
GenericStancePrefix: False
Targetable:
TargetTypes: Ground, Water, Structure, SpyInfiltrate
TargetTypes: WaterActor, Structure, SpyInfiltrate
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
@@ -117,7 +117,7 @@ SPEF:
Selectable:
Bounds: 72,48
Targetable:
TargetTypes: Ground, Water, Structure, SpyInfiltrate
TargetTypes: WaterActor, Structure, SpyInfiltrate
Buildable:
BuildPaletteOrder: 890
Queue: Defense

View File

@@ -47,7 +47,7 @@ DOG:
AutoTargetPriority@DEFAULT:
ValidTargets: Infantry
Targetable:
TargetTypes: Ground, Infantry
TargetTypes: GroundActor, Infantry
WithInfantryBody:
MoveSequence: walk
StandSequences: stand
@@ -763,7 +763,7 @@ Ant:
Armament:
Weapon: mandible
Targetable:
TargetTypes: Ground, Infantry, Ant
TargetTypes: GroundActor, Infantry, Ant
WithDeathAnimation:
UseDeathTypeSuffix: false
Voiced:

View File

@@ -27,7 +27,7 @@ SS:
RevealsShroud@GAPGEN:
Range: 5c0
Targetable:
TargetTypes: Ground, Water, Ship, Submarine, Repair
TargetTypes: WaterActor, Ship, Submarine, Repair
RequiresCondition: !underwater
Targetable@UNDERWATER:
TargetTypes: Underwater, Submarine
@@ -53,9 +53,9 @@ SS:
InitialStance: HoldFire
InitialStanceAI: ReturnFire
AutoTargetPriority@DEFAULT:
ValidTargets: Water, Underwater
ValidTargets: WaterActor, Underwater
AutoTargetPriority@ATTACKANYTHING:
ValidTargets: Water, Underwater
ValidTargets: WaterActor, Underwater
DetectCloaked:
CloakTypes: Underwater
Range: 4c0
@@ -96,7 +96,7 @@ MSUB:
RevealsShroud@GAPGEN:
Range: 5c0
Targetable:
TargetTypes: Ground, Water, Ship, Submarine, Repair
TargetTypes: WaterActor, Ship, Submarine, Repair
RequiresCondition: !underwater
Targetable@UNDERWATER:
TargetTypes: Underwater, Submarine

View File

@@ -61,7 +61,7 @@ MSLO:
InfiltrateForSupportPowerReset:
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
Power:
Amount: -150
MustBeDestroyed:
@@ -133,7 +133,7 @@ SPEN:
Prerequisites: anypower, ~structures.soviet, ~techlevel.low
Description: Produces and repairs\nsubmarines and transports.
Targetable:
TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: WaterActor, Structure, C4, DetonateAttack, SpyInfiltrate
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
@@ -272,7 +272,7 @@ SYRD:
Tooltip:
Name: Naval Yard
Targetable:
TargetTypes: Ground, Water, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: WaterActor, Structure, C4, DetonateAttack, SpyInfiltrate
Building:
Footprint: XXX xxx XXX
Dimensions: 3,3
@@ -433,7 +433,7 @@ IRON:
InfiltrateForSupportPowerReset:
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
Power:
Amount: -200
MustBeDestroyed:
@@ -521,7 +521,7 @@ PDOX:
InfiltrateForSupportPowerReset:
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
Power:
Amount: -200
MustBeDestroyed:
@@ -644,7 +644,7 @@ DOME:
Dimensions: 2,3
LocalCenterOffset: 0,-512,0
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
Health:
HP: 100000
Armor:
@@ -981,7 +981,7 @@ ATEK:
InfiltrateForSupportPowerReset:
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
Power:
Amount: -200
ProvidesPrerequisite@buildingname:
@@ -1086,7 +1086,7 @@ WEAP:
Amount: -30
ProvidesPrerequisite@buildingname:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
InfiltrateForSupportPower:
Proxy: vehicles.upgraded
Types: SpyInfiltrate
@@ -1227,7 +1227,7 @@ PROC:
Bounds: 72,50,0,4
DecorationBounds: 72,70,0,-2
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, ThiefInfiltrate, SpyInfiltrate
Health:
HP: 90000
Armor:
@@ -1300,7 +1300,7 @@ SILO:
Valued:
Cost: 150
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, ThiefInfiltrate
Tooltip:
Name: Silo
-GivesBuildableArea:
@@ -1415,7 +1415,7 @@ HPAD:
Prerequisite: aircraft.germany
ProvidesPrerequisite@buildingname:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
InfiltrateForSupportPower:
Proxy: aircraft.upgraded
Types: SpyInfiltrate
@@ -1556,7 +1556,7 @@ AFLD:
ProvidesPrerequisite@buildingname:
Prerequisite: afld
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
InfiltrateForSupportPower:
Proxy: aircraft.upgraded
Types: SpyInfiltrate
@@ -1605,7 +1605,7 @@ POWR:
Power:
Amount: 100
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:
WithDeathAnimation:
DeathSequence: dead
@@ -1645,7 +1645,7 @@ APWR:
Power:
Amount: 200
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
TargetTypes: GroundActor, Structure, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:
WithDeathAnimation:
DeathSequence: dead
@@ -1771,7 +1771,7 @@ BARR:
Proxy: barracks.upgraded
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
KENN:
Inherits: ^Building
@@ -1938,7 +1938,7 @@ TENT:
Proxy: barracks.upgraded
Types: SpyInfiltrate
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
FIX:
Inherits: ^Building

View File

@@ -517,7 +517,7 @@ MNLY:
Rearmable:
RearmActors: fix
Targetable:
TargetTypes: Ground, Vehicle, Mine
TargetTypes: GroundActor, Vehicle, Mine
WithAmmoPipsDecoration:
Position: BottomLeft
Margin: 4, 3
@@ -829,7 +829,7 @@ QTNK:
Color: FFFF0080
Range: 7c0
Targetable:
TargetTypes: Ground, MADTank, Vehicle
TargetTypes: GroundActor, MADTank, Vehicle
Selectable:
DecorationBounds: 44,38,0,-4