Merge pull request #12174 from tysonliddell/techFix

Replaced civillians with Technicians when building sold
This commit is contained in:
abcdefg30
2016-10-21 09:14:00 +02:00
committed by GitHub
3 changed files with 13 additions and 2 deletions

View File

@@ -56,6 +56,15 @@ C10:
Voiced: Voiced:
VoiceSet: CivilianFemaleVoice VoiceSet: CivilianFemaleVoice
TECN:
Inherits@1: ^CivInfantry
Inherits@2: ^ArmedCivilian
AutoTarget:
Tooltip:
Name: Technician
RenderSprites:
Image: C1
FCOM: FCOM:
Inherits: ^TechBuilding Inherits: ^TechBuilding
Building: Building:

View File

@@ -466,7 +466,7 @@
ExternalCapturable: ExternalCapturable:
ExternalCapturableBar: ExternalCapturableBar:
EmitInfantryOnSell: 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: MustBeDestroyed:
RequiredForShortGame: true RequiredForShortGame: true
GpsDot: GpsDot:
@@ -477,7 +477,7 @@
^ScienceBuilding: ^ScienceBuilding:
Inherits: ^Building Inherits: ^Building
EmitInfantryOnSell: 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: ^Defense:
Inherits: ^Building Inherits: ^Building

View File

@@ -932,6 +932,8 @@ FACT:
Name: Construction Yard Name: Construction Yard
CustomSellValue: CustomSellValue:
Value: 2500 Value: 2500
EmitInfantryOnSell:
ActorTypes: e1,e1,e1,tecn,tecn,e6
BaseBuilding: BaseBuilding:
Transforms: Transforms:
IntoActor: mcv IntoActor: mcv