Convert GlobalUpgradable to conditions.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -32,6 +32,6 @@ Player:
|
||||
Name: Unrestricted
|
||||
Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons
|
||||
Id: unrestricted
|
||||
GlobalUpgradeManager:
|
||||
GrantConditionOnPrerequisiteManager:
|
||||
ResourceStorageWarning:
|
||||
PlayerExperience:
|
||||
|
||||
@@ -88,7 +88,7 @@ Player:
|
||||
Id: unrestricted
|
||||
EnemyWatcher:
|
||||
HarvesterInsurance:
|
||||
GlobalUpgradeManager:
|
||||
GrantConditionOnPrerequisiteManager:
|
||||
ResourceStorageWarning:
|
||||
AdviceInterval: 26
|
||||
PlayerExperience:
|
||||
|
||||
@@ -90,9 +90,9 @@ construction_yard:
|
||||
PrimaryBuilding:
|
||||
PrimaryCondition: primary
|
||||
ProvidesPrerequisite@buildingname:
|
||||
GlobalUpgradable:
|
||||
GrantConditionOnPrerequisite:
|
||||
Prerequisites: upgrade.conyard
|
||||
Upgrades: stardecoration
|
||||
Condition: stardecoration
|
||||
WithDecoration@upgraded:
|
||||
RequiresSelection: true
|
||||
Image: pips
|
||||
@@ -203,9 +203,9 @@ barracks:
|
||||
smuggler: barracks.ordos
|
||||
mercenary: barracks.ordos
|
||||
ProvidesPrerequisite@buildingname:
|
||||
GlobalUpgradable:
|
||||
GrantConditionOnPrerequisite:
|
||||
Prerequisites: upgrade.barracks
|
||||
Upgrades: stardecoration
|
||||
Condition: stardecoration
|
||||
WithDecoration@upgraded:
|
||||
RequiresSelection: true
|
||||
Image: pips
|
||||
@@ -383,9 +383,9 @@ light_factory:
|
||||
Sequence: idle-top
|
||||
Power:
|
||||
Amount: -125
|
||||
GlobalUpgradable:
|
||||
GrantConditionOnPrerequisite:
|
||||
Prerequisites: upgrade.light
|
||||
Upgrades: stardecoration
|
||||
Condition: stardecoration
|
||||
WithDecoration@upgraded:
|
||||
RequiresSelection: true
|
||||
Image: pips
|
||||
@@ -463,9 +463,9 @@ heavy_factory:
|
||||
ProvidesPrerequisite@buildingname:
|
||||
SelectionDecorations:
|
||||
VisualBounds: 96,96
|
||||
GlobalUpgradable:
|
||||
GrantConditionOnPrerequisite:
|
||||
Prerequisites: upgrade.heavy
|
||||
Upgrades: stardecoration
|
||||
Condition: stardecoration
|
||||
WithDecoration@upgraded:
|
||||
RequiresSelection: true
|
||||
Image: pips
|
||||
@@ -841,9 +841,9 @@ high_tech_factory:
|
||||
Amount: -75
|
||||
SelectionDecorations:
|
||||
VisualBounds: 96,96
|
||||
GlobalUpgradable:
|
||||
GrantConditionOnPrerequisite:
|
||||
Prerequisites: upgrade.hightech
|
||||
Upgrades: stardecoration
|
||||
Condition: stardecoration
|
||||
WithDecoration@upgraded:
|
||||
RequiresSelection: true
|
||||
Image: pips
|
||||
|
||||
@@ -291,8 +291,8 @@
|
||||
HealIfBelow: 100
|
||||
DamageCooldown: 125
|
||||
RequiresCondition: hospitalheal
|
||||
GlobalUpgradable:
|
||||
Upgrades: hospitalheal
|
||||
GrantConditionOnPrerequisite:
|
||||
Condition: hospitalheal
|
||||
Prerequisites: hosp
|
||||
DeathSounds@NORMAL:
|
||||
DeathTypes: DefaultDeath, BulletDeath, SmallExplosionDeath, ExplosionDeath
|
||||
|
||||
@@ -69,7 +69,7 @@ Player:
|
||||
Name: Unrestricted
|
||||
Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.high, techlevel.unrestricted
|
||||
Id: unrestricted
|
||||
GlobalUpgradeManager:
|
||||
GrantConditionOnPrerequisiteManager:
|
||||
EnemyWatcher:
|
||||
VeteranProductionIconOverlay:
|
||||
Image: iconchevrons
|
||||
|
||||
@@ -326,8 +326,8 @@
|
||||
HealIfBelow: 100
|
||||
DamageCooldown: 125
|
||||
RequiresCondition: hospitalheal
|
||||
GlobalUpgradable@HOSPITAL:
|
||||
Upgrades: hospitalheal
|
||||
GrantConditionOnPrerequisite@HOSPITAL:
|
||||
Condition: hospitalheal
|
||||
Prerequisites: cahosp
|
||||
WithDecoration@REDCROSS:
|
||||
Image: pips
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Player:
|
||||
AlwaysVisible:
|
||||
TechTree:
|
||||
GlobalUpgradeManager:
|
||||
GrantConditionOnPrerequisiteManager:
|
||||
ClassicProductionQueue@Building:
|
||||
Type: Building
|
||||
BuildDurationModifier: 120
|
||||
|
||||
Reference in New Issue
Block a user