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:
VoiceSet: CivilianFemaleVoice
TECN:
Inherits@1: ^CivInfantry
Inherits@2: ^ArmedCivilian
AutoTarget:
Tooltip:
Name: Technician
RenderSprites:
Image: C1
FCOM:
Inherits: ^TechBuilding
Building:

View File

@@ -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:
@@ -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

View File

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