Merge pull request #10363 from Mailaender/ts-hospital-heal

Added hospital healing to Tiberian Sun
This commit is contained in:
Paul Chote
2016-02-27 11:17:56 +00:00
3 changed files with 23 additions and 1 deletions

View File

@@ -680,9 +680,10 @@ CACRSH05:
Inherits: CACRSH01
CAHOSP:
Inherits: ^CivBuilding
Inherits: ^BasicBuilding
Tooltip:
Name: Civilian Hospital
Description: Gives friendly units a medkit to heal themselves.
Building:
Footprint: xxx xxx xxx xxx
Dimensions: 3, 4
@@ -692,6 +693,9 @@ CAHOSP:
HP: 800
RenderSprites:
Palette: player
Capturable:
CaptureNotification:
ProvidesPrerequisite@BuildingName:
CAPYR01:
Inherits: ^CivBuilding

View File

@@ -315,6 +315,23 @@
DeathSounds@ZAPPED:
Voice: Zapped
DeathTypes: EnergyDeath
SelfHealing@HOSPITAL:
Step: 5
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: hospitalheal
UpgradeMinEnabledLevel: 1
GlobalUpgradable@HOSPITAL:
Upgrades: hospitalheal
Prerequisites: cahosp
WithDecoration@REDCROSS:
Image: pips
Sequence: medic
Palette: pips
ReferencePoint: Bottom, Right
UpgradeTypes: hospitalheal
UpgradeMinEnabledLevel: 1
^Soldier:
Inherits: ^Infantry

View File

@@ -1,6 +1,7 @@
Player:
AlwaysVisible:
TechTree:
GlobalUpgradeManager:
ClassicProductionQueue@Building:
Type: Building
BuildSpeed: .4