hedgewars/uScript.pas
changeset 3777 5276f2150d65
parent 3774 af0e68ca273e
child 3836 833c0f32e326
equal deleted inserted replaced
3776:28849f5a03c9 3777:5276f2150d65
   799 ParseCommand('$turntime ' + ScriptGetString('TurnTime'), true);
   799 ParseCommand('$turntime ' + ScriptGetString('TurnTime'), true);
   800 ParseCommand('$casefreq ' + ScriptGetString('CaseFreq'), true);
   800 ParseCommand('$casefreq ' + ScriptGetString('CaseFreq'), true);
   801 ParseCommand('$landadds ' + ScriptGetString('LandAdds'), true);
   801 ParseCommand('$landadds ' + ScriptGetString('LandAdds'), true);
   802 ParseCommand('$explosives ' + ScriptGetString('Explosives'), true);
   802 ParseCommand('$explosives ' + ScriptGetString('Explosives'), true);
   803 ParseCommand('$delay ' + ScriptGetString('Delay'), true);
   803 ParseCommand('$delay ' + ScriptGetString('Delay'), true);
       
   804 ParseCommand('$ready ' + ScriptGetString('Ready'), true);
   804 ParseCommand('$sd_turns ' + ScriptGetString('SuddenDeathTurns'), true);
   805 ParseCommand('$sd_turns ' + ScriptGetString('SuddenDeathTurns'), true);
   805 if ScriptGetString('Map') <> '' then
   806 if ScriptGetString('Map') <> '' then
   806     ParseCommand('map ' + ScriptGetString('Map'), true);
   807     ParseCommand('map ' + ScriptGetString('Map'), true);
   807 if ScriptGetString('Theme') <> '' then
   808 if ScriptGetString('Theme') <> '' then
   808     ParseCommand('theme ' + ScriptGetString('Theme'), true);
   809     ParseCommand('theme ' + ScriptGetString('Theme'), true);
   809 cReadyDelay:= ScriptGetInteger('Ready');
       
   810 
   810 
   811 if ScriptExists('onAmmoStoreInit') then
   811 if ScriptExists('onAmmoStoreInit') then
   812     begin
   812     begin
   813     ScriptPrepareAmmoStore;
   813     ScriptPrepareAmmoStore;
   814     ScriptCall('onAmmoStoreInit');
   814     ScriptCall('onAmmoStoreInit');