From 8e0df586a2b50ca79b60c6145e5a559ed069b293 Mon Sep 17 00:00:00 2001 From: Tyson Liddell Date: Sun, 16 Oct 2016 12:38:30 +1100 Subject: [PATCH 1/3] Replaced civillians with Technicians when building sold and removed engineers from default sale of building --- mods/ra/rules/civilian.yaml | 9 +++++++++ mods/ra/rules/defaults.yaml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mods/ra/rules/civilian.yaml b/mods/ra/rules/civilian.yaml index 2c40f5438c..a9152de423 100644 --- a/mods/ra/rules/civilian.yaml +++ b/mods/ra/rules/civilian.yaml @@ -56,6 +56,15 @@ C10: Voiced: VoiceSet: CivilianFemaleVoice +TECN: + Inherits@1: ^CivInfantry + Inherits@2: ^ArmedCivilian + AutoTarget: + Tooltip: + Name: Technician + RenderSprites: + Image: C1 + FCOM: Inherits: ^TechBuilding Building: diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 0daf7286ab..176b13b001 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -466,7 +466,7 @@ ExternalCapturable: ExternalCapturableBar: EmitInfantryOnSell: - 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,tecn,tecn MustBeDestroyed: RequiredForShortGame: true GpsDot: From f12a434a993842d5a90a7a30c95000ed969de351 Mon Sep 17 00:00:00 2001 From: Tyson Liddell Date: Sun, 16 Oct 2016 12:40:14 +1100 Subject: [PATCH 2/3] Added engineers to units produced when contruction yard sold --- mods/ra/rules/structures.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 7c65a2da92..646650367b 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -932,6 +932,8 @@ FACT: Name: Construction Yard CustomSellValue: Value: 2500 + EmitInfantryOnSell: + ActorTypes: e1,e1,e1,tecn,tecn,e6 BaseBuilding: Transforms: IntoActor: mcv From 5b620eeda5363c22e62c535204c18bf17ebb633e Mon Sep 17 00:00:00 2001 From: Tyson Liddell Date: Sun, 16 Oct 2016 12:48:09 +1100 Subject: [PATCH 3/3] Replaced civillians with technicians when ^ScienceBuilding sold --- mods/ra/rules/defaults.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 176b13b001..101e9da1e0 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -477,7 +477,7 @@ ^ScienceBuilding: Inherits: ^Building EmitInfantryOnSell: - ActorTypes: e1,e1,e1,e1,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,e6,e6,e6,e6,e6,chan,chan,chan,chan + ActorTypes: e1,e1,e1,e1,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,e6,e6,e6,e6,e6,chan,chan,chan,chan ^Defense: Inherits: ^Building