equal
deleted
inserted
replaced
110 -- A timeframe of 0 is replaced with the default time to show. |
110 -- A timeframe of 0 is replaced with the default time to show. |
111 ShowMission(loc("Bazooka Training"), loc("Aiming Practice"), loc("Eliminate all targets before your time runs out.|You have unlimited ammo for this mission."), -amBazooka, 0) |
111 ShowMission(loc("Bazooka Training"), loc("Aiming Practice"), loc("Eliminate all targets before your time runs out.|You have unlimited ammo for this mission."), -amBazooka, 0) |
112 end |
112 end |
113 |
113 |
114 function onNewTurn() |
114 function onNewTurn() |
115 ParseCommand("setweap " .. string.char(amBazooka)) |
115 SetWeapon(amBazooka) |
116 end |
116 end |
117 |
117 |
118 -- This function is called every game tick. |
118 -- This function is called every game tick. |
119 -- Note that there are 1000 ticks within one second. |
119 -- Note that there are 1000 ticks within one second. |
120 -- You shouldn't try to calculate too complicated |
120 -- You shouldn't try to calculate too complicated |