Add ScriptUpgradesCache class to enable maps to explicitly declare what upgrades their Lua scripts will use

This commit is contained in:
penev92
2015-05-27 17:00:33 +03:00
parent f1ec71b17d
commit 2ab7abcee4
5 changed files with 67 additions and 5 deletions

View File

@@ -1259,6 +1259,8 @@ Rules:
ValuePerUnit: 0
LuaScript:
Scripts: desert-shellmap.lua
ScriptUpgradesCache:
Upgrades: unkillable
-StartGameNotification:
^Vehicle:
GivesBounty: