added missing game modifiers to lua
authorHenek
Tue, 09 Nov 2010 00:21:59 +0100
changeset 4221 a1bf0f6b0d65
parent 4220 20b67364aef9
child 4222 e0de341a75ab
added missing game modifiers to lua
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Mon Nov 08 23:59:21 2010 +0100
+++ b/hedgewars/uScript.pas	Tue Nov 09 00:21:59 2010 +0100
@@ -832,7 +832,10 @@
 ScriptSetInteger('CaseFreq', cCaseFactor);
 ScriptSetInteger('HealthCaseProb', cHealthCaseProb);
 ScriptSetInteger('HealthCaseAmount', cHealthCaseAmount);
+ScriptSetInteger('DamagePercent', cDamagePercent);
 ScriptSetInteger('MinesNum', cLandMines);
+ScriptSetInteger('MinesTime', cMinesTime);
+ScriptSetInteger('MineDudPercent', cMineDudPercent);
 ScriptSetInteger('Explosives', cExplosives);
 ScriptSetInteger('Delay', cInactDelay);
 ScriptSetInteger('Ready', cReadyDelay);
@@ -857,7 +860,10 @@
 ParseCommand('$casefreq ' + ScriptGetString('CaseFreq'), true);
 ParseCommand('$healthprob ' + ScriptGetString('HealthCaseProb'), true);
 ParseCommand('$hcaseamount ' + ScriptGetString('HealthCaseAmount'), true);
+ParseCommand('$damagepct ' + ScriptGetString('DamagePercent'), true);
 ParseCommand('$minesnum ' + ScriptGetString('MinesNum'), true);
+ParseCommand('$minestime ' + ScriptGetString('MinesTime'), true);
+ParseCommand('$minedudpct ' + ScriptGetString('MineDudPercent'), true);
 ParseCommand('$explosives ' + ScriptGetString('Explosives'), true);
 ParseCommand('$delay ' + ScriptGetString('Delay'), true);
 ParseCommand('$ready ' + ScriptGetString('Ready'), true);