Extract common inherits in ra defaults.yaml.

This commit is contained in:
Paul Chote
2015-04-22 19:48:16 +12:00
parent 2cbe269c1e
commit 44f2dd5a3d

View File

@@ -1,5 +1,40 @@
^Vehicle: ^ExistsInWorld:
AppearsOnRadar: AppearsOnRadar:
UpdatesPlayerStatistics:
CombatDebugOverlay:
DrawLineToTarget:
GivesExperience:
BodyOrientation:
ScriptTriggers:
UpgradeManager:
Huntable:
^GainsExperience:
GainsExperience:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
^IronCurtainable:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^IronCurtainable
Mobile: Mobile:
Crushes: mine, crate Crushes: mine, crate
TerrainSpeeds: TerrainSpeeds:
@@ -22,9 +57,6 @@
CargoType: Vehicle CargoType: Vehicle
AttackMove: AttackMove:
HiddenUnderFog: HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification: ActorLostNotification:
ProximityCaptor: ProximityCaptor:
Types: Vehicle Types: Vehicle
@@ -32,11 +64,8 @@
GpsDot: GpsDot:
String: Vehicle String: Vehicle
WithSmoke: WithSmoke:
UpdatesPlayerStatistics:
CombatDebugOverlay:
Guard: Guard:
Guardable: Guardable:
BodyOrientation:
Tooltip: Tooltip:
GenericName: Vehicle GenericName: Vehicle
EjectOnDeath: EjectOnDeath:
@@ -45,36 +74,18 @@
EjectOnGround: true EjectOnGround: true
EjectInAir: false EjectInAir: false
AllowUnsuitableCell: false AllowUnsuitableCell: false
Huntable:
Capturable: Capturable:
Type: vehicle Type: vehicle
CaptureThreshold: 1 CaptureThreshold: 1
CancelActivity: True CancelActivity: True
CaptureNotification: CaptureNotification:
Notification: UnitStolen Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
UpgradeManager:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
MustBeDestroyed: MustBeDestroyed:
^Tank: ^Tank:
AppearsOnRadar: Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^IronCurtainable
Mobile: Mobile:
Crushes: wall, mine, crate Crushes: wall, mine, crate
TerrainSpeeds: TerrainSpeeds:
@@ -97,9 +108,6 @@
CargoType: Vehicle CargoType: Vehicle
AttackMove: AttackMove:
HiddenUnderFog: HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification: ActorLostNotification:
ProximityCaptor: ProximityCaptor:
Types: Tank Types: Tank
@@ -107,11 +115,8 @@
GpsDot: GpsDot:
String: Vehicle String: Vehicle
WithSmoke: WithSmoke:
UpdatesPlayerStatistics:
CombatDebugOverlay:
Guard: Guard:
Guardable: Guardable:
BodyOrientation:
Tooltip: Tooltip:
GenericName: Tank GenericName: Tank
EjectOnDeath: EjectOnDeath:
@@ -120,32 +125,12 @@
EjectOnGround: true EjectOnGround: true
EjectInAir: false EjectInAir: false
AllowUnsuitableCell: false AllowUnsuitableCell: false
Huntable:
Capturable: Capturable:
Type: vehicle Type: vehicle
CaptureThreshold: 1 CaptureThreshold: 1
CancelActivity: True CancelActivity: True
CaptureNotification: CaptureNotification:
Notification: UnitStolen Notification: UnitStolen
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
UpgradeManager:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
MustBeDestroyed: MustBeDestroyed:
Parachutable: Parachutable:
ParachuteOffset: 0,0,200 ParachuteOffset: 0,0,200
@@ -158,7 +143,8 @@
WaterCorpsePalette: WaterCorpsePalette:
^Infantry: ^Infantry:
AppearsOnRadar: Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Health: Health:
Radius: 128 Radius: 128
Armor: Armor:
@@ -189,9 +175,6 @@
Passenger: Passenger:
CargoType: Infantry CargoType: Infantry
HiddenUnderFog: HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification: ActorLostNotification:
ProximityCaptor: ProximityCaptor:
Types: Infantry Types: Infantry
@@ -200,11 +183,8 @@
String: Infantry String: Infantry
Crushable: Crushable:
CrushSound: squishy2.aud CrushSound: squishy2.aud
UpdatesPlayerStatistics:
CombatDebugOverlay:
Guard: Guard:
Guardable: Guardable:
BodyOrientation:
Tooltip: Tooltip:
GenericName: Soldier GenericName: Soldier
SelfHealing@HOSPITAL: SelfHealing@HOSPITAL:
@@ -217,8 +197,6 @@
GlobalUpgradable: GlobalUpgradable:
Upgrades: hospitalheal Upgrades: hospitalheal
Prerequisites: hosp Prerequisites: hosp
Huntable:
ScriptTriggers:
DeathSounds@NORMAL: DeathSounds@NORMAL:
DeathTypes: 1, 2, 3, 4 DeathTypes: 1, 2, 3, 4
DeathSounds@BURNED: DeathSounds@BURNED:
@@ -236,19 +214,12 @@
WaterImpactSound: splash9.aud WaterImpactSound: splash9.aud
Cloneable: Cloneable:
Types: Infantry Types: Infantry
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
UpgradeManager:
MustBeDestroyed: MustBeDestroyed:
^Ship: ^Ship:
AppearsOnRadar: Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^IronCurtainable
Mobile: Mobile:
Crushes: crate Crushes: crate
TerrainSpeeds: TerrainSpeeds:
@@ -260,9 +231,6 @@
TargetTypes: Ground, Water, Repair TargetTypes: Ground, Water, Repair
HiddenUnderFog: HiddenUnderFog:
AttackMove: AttackMove:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification: ActorLostNotification:
Notification: NavalUnitLost Notification: NavalUnitLost
ProximityCaptor: ProximityCaptor:
@@ -271,37 +239,16 @@
GpsDot: GpsDot:
String: Ship String: Ship
WithSmoke: WithSmoke:
UpdatesPlayerStatistics:
CombatDebugOverlay:
Guard: Guard:
Guardable: Guardable:
BodyOrientation:
Tooltip: Tooltip:
GenericName: Ship GenericName: Ship
Huntable:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
UpgradeManager:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
UpgradeMinEnabledLevel: 1
MustBeDestroyed: MustBeDestroyed:
^Plane: ^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^IronCurtainable
AppearsOnRadar: AppearsOnRadar:
UseLocation: true UseLocation: true
SelectionDecorations: SelectionDecorations:
@@ -314,9 +261,6 @@
AttackMove: AttackMove:
Guard: Guard:
Guardable: Guardable:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification: ActorLostNotification:
Notification: AirUnitLost Notification: AirUnitLost
ProximityCaptor: ProximityCaptor:
@@ -330,31 +274,8 @@
GivesBounty: GivesBounty:
GpsDot: GpsDot:
String: Plane String: Plane
UpdatesPlayerStatistics:
CombatDebugOverlay:
BodyOrientation:
Tooltip: Tooltip:
GenericName: Plane GenericName: Plane
Huntable:
ScriptTriggers:
GainsStatUpgrades:
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
UpgradeManager:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
WithShadow: WithShadow:
MustBeDestroyed: MustBeDestroyed:
@@ -367,7 +288,8 @@
Hovers: Hovers:
^Building: ^Building:
AppearsOnRadar: Inherits@1: ^ExistsInWorld
Inherits@2: ^IronCurtainable
SelectionDecorations: SelectionDecorations:
Selectable: Selectable:
Priority: 3 Priority: 3
@@ -393,7 +315,6 @@
ActorTypes: e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,e6,e6,e6,e6,e6 ActorTypes: e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,e1,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,e6,e6,e6,e6,e6
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: true RequiredForShortGame: true
GivesExperience:
CaptureNotification: CaptureNotification:
EditorAppearance: EditorAppearance:
RelativeToTopLeft: true RelativeToTopLeft: true
@@ -404,29 +325,14 @@
SellSounds: cashturn.aud SellSounds: cashturn.aud
AcceptsSupplies: AcceptsSupplies:
GivesBounty: GivesBounty:
UpdatesPlayerStatistics:
CombatDebugOverlay:
Guardable: Guardable:
Range: 3 Range: 3
BodyOrientation:
FrozenUnderFog: FrozenUnderFog:
Tooltip: Tooltip:
GenericName: Structure GenericName: Structure
GpsDot: GpsDot:
String: Structure String: Structure
Huntable:
Demolishable: Demolishable:
ScriptTriggers:
UpgradeManager:
UpgradeOverlay@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
InvulnerabilityUpgrade@IRONCURTAIN:
UpgradeTypes: invulnerability
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 2
TimedUpgradeBar:
Upgrade: invulnerability
^Defense: ^Defense:
Inherits: ^Building Inherits: ^Building