Add hospital heal indicators to RA.

This commit is contained in:
Paul Chote
2018-05-20 16:25:05 +00:00
committed by reaperrr
parent 6359d32946
commit 74971cfbb1
2 changed files with 39 additions and 3 deletions

View File

@@ -145,6 +145,24 @@
RequiresCondition: rank-elite
ZOffset: 256
^InfantryExperienceHospitalOverrides:
WithDecoration@RANK-1:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-2:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-3:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-ELITE:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
^IronCurtainable:
WithColoredOverlay@IRONCURTAIN:
RequiresCondition: invulnerability
@@ -290,7 +308,8 @@
^Infantry:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Inherits@3: ^InfantryExperienceHospitalOverrides
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Huntable:
OwnerLostAction:
@@ -344,9 +363,22 @@
HealIfBelow: 100
DamageCooldown: 125
RequiresCondition: hospitalheal
GrantConditionOnPrerequisite:
Condition: hospitalheal
GrantConditionOnPrerequisite@HOSPITAL:
Condition: hospital
Prerequisites: hosp
GrantConditionOnDamageState@HOSPITAL:
Condition: damaged
ValidDamageStates: Light, Medium, Heavy, Critical
GrantCondition@HOSPITAL:
RequiresCondition: hospital && damaged
Condition: hospitalheal
WithDecoration@REDCROSS:
Image: pips
Sequence: medic
ReferencePoint: Bottom, Right
RequiresCondition: hospitalheal
BlinkInterval: 32
BlinkPattern: Off, On
DeathSounds@NORMAL:
DeathTypes: DefaultDeath, BulletDeath, SmallExplosionDeath, ExplosionDeath
DeathSounds@BURNED:

View File

@@ -101,6 +101,7 @@ pips:
Offset: 9, 5
medic:
Start: 20
Offset: 15, 1
#ready:
# Start: 3
#hold:
@@ -429,6 +430,8 @@ fire:
ZOffset: 1023
rank:
Defaults:
Offset: 0, 3
rank-veteran-1:
rank-veteran-2:
Start: 1
@@ -436,6 +439,7 @@ rank:
Start: 2
rank-elite:
Start: 3
Offset: 1, 3
iconchevrons:
veteran: