Convert GlobalUpgradable to conditions.

This commit is contained in:
Paul Chote
2016-12-04 11:58:17 +00:00
parent b5ee30345b
commit 1ef3e246d1
13 changed files with 121 additions and 106 deletions

View File

@@ -283,8 +283,8 @@
DamageInterval: 16
DamageTypes: TiberiumDeath
RequiresCondition: !hazmatsuits
GlobalUpgradable@BIO:
Upgrades: hazmatsuits
GrantConditionOnPrerequisite@BIO:
Condition: hazmatsuits
Prerequisites: bio
WithDecoration@HAZMAT:
Image: pips
@@ -309,8 +309,8 @@
HealIfBelow: 100
DamageCooldown: 125
RequiresCondition: hospitalheal
GlobalUpgradable@HOSPITAL:
Upgrades: hospitalheal
GrantConditionOnPrerequisite@HOSPITAL:
Condition: hospitalheal
Prerequisites: hosp
WithDecoration@REDCROSS:
Image: pips

View File

@@ -32,6 +32,6 @@ Player:
Name: Unrestricted
Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons
Id: unrestricted
GlobalUpgradeManager:
GrantConditionOnPrerequisiteManager:
ResourceStorageWarning:
PlayerExperience: