Add hospital healing.

This commit is contained in:
Matthias Mailänder
2016-01-01 12:43:59 +01:00
parent 7f5143bf46
commit d189838b77
3 changed files with 23 additions and 1 deletions

View File

@@ -719,9 +719,10 @@ CACRSH05:
HP: 400
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
@@ -731,6 +732,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