equal
deleted
inserted
replaced
1733 ScriptSetInteger('Delay', cInactDelay); |
1733 ScriptSetInteger('Delay', cInactDelay); |
1734 ScriptSetInteger('Ready', cReadyDelay); |
1734 ScriptSetInteger('Ready', cReadyDelay); |
1735 ScriptSetInteger('SuddenDeathTurns', cSuddenDTurns); |
1735 ScriptSetInteger('SuddenDeathTurns', cSuddenDTurns); |
1736 ScriptSetInteger('WaterRise', cWaterRise); |
1736 ScriptSetInteger('WaterRise', cWaterRise); |
1737 ScriptSetInteger('HealthDecrease', cHealthDecrease); |
1737 ScriptSetInteger('HealthDecrease', cHealthDecrease); |
1738 ScriptSetString('Map', 'CHANGE_ME'); |
1738 ScriptSetString('Map', cMapName); |
|
1739 |
1739 ScriptSetString('Theme', ''); |
1740 ScriptSetString('Theme', ''); |
1740 ScriptSetString('Goals', ''); |
1741 ScriptSetString('Goals', ''); |
1741 |
1742 |
1742 ScriptCall('onGameInit'); |
1743 ScriptCall('onGameInit'); |
1743 |
1744 |
1760 cReadyDelay := ScriptGetInteger('Ready'); |
1761 cReadyDelay := ScriptGetInteger('Ready'); |
1761 cSuddenDTurns := ScriptGetInteger('SuddenDeathTurns'); |
1762 cSuddenDTurns := ScriptGetInteger('SuddenDeathTurns'); |
1762 cWaterRise := ScriptGetInteger('WaterRise'); |
1763 cWaterRise := ScriptGetInteger('WaterRise'); |
1763 cHealthDecrease := ScriptGetInteger('HealthDecrease'); |
1764 cHealthDecrease := ScriptGetInteger('HealthDecrease'); |
1764 |
1765 |
1765 if ScriptGetString('Map') <> 'CHANGE_ME' then |
1766 ParseCommand('map ' + ScriptGetString('Map'), true); |
1766 ParseCommand('map ' + ScriptGetString('Map'), true); |
|
1767 if ScriptGetString('Theme') <> '' then |
1767 if ScriptGetString('Theme') <> '' then |
1768 ParseCommand('theme ' + ScriptGetString('Theme'), true); |
1768 ParseCommand('theme ' + ScriptGetString('Theme'), true); |
1769 LuaGoals:= ScriptGetString('Goals'); |
1769 LuaGoals:= ScriptGetString('Goals'); |
1770 |
1770 |
1771 // Support lua changing the ammo layout - assume all hogs have same ammo, note this might leave a few ammo stores lying around. |
1771 // Support lua changing the ammo layout - assume all hogs have same ammo, note this might leave a few ammo stores lying around. |