Reimplement unit levels using IUpgradable.

This commit is contained in:
Paul Chote
2014-07-30 20:14:13 +12:00
parent 0ca5336072
commit de775e2f56
8 changed files with 104 additions and 57 deletions

View File

@@ -41,6 +41,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Tank:
AppearsOnRadar:
@@ -88,6 +89,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Helicopter:
AppearsOnRadar:
@@ -119,6 +121,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Infantry:
AppearsOnRadar:
@@ -187,6 +190,7 @@
DeathSounds@POISONED:
DeathSound: Poisoned
InfDeaths: 6
GainsStatUpgrades:
^CivInfantry:
Inherits: ^Infantry
@@ -285,6 +289,7 @@
AttackMove:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Ship:
AppearsOnRadar:
@@ -311,6 +316,7 @@
Huntable:
LuaScriptEvents:
ScriptTriggers:
GainsStatUpgrades:
^Building:
AppearsOnRadar: