share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua
changeset 5836 6d6041b50b09
parent 4662 63aafc9c2a81
child 7165 aad1aea05f1e
equal deleted inserted replaced
5835:812be8a96927 5836:6d6041b50b09
   187 			elseif score == 2 then
   187 			elseif score == 2 then
   188 				spawnTarget(1730,1040)
   188 				spawnTarget(1730,1040)
   189 			elseif score == 3 then
   189 			elseif score == 3 then
   190 				spawnTarget(2080,780)
   190 				spawnTarget(2080,780)
   191 			elseif score == 4 then
   191 			elseif score == 4 then
       
   192 				AddCaption(loc("Good so far!") .. " " .. loc("Keep it up!"));
   192 				blowUp(1730,1226)
   193 				blowUp(1730,1226)
   193 				blowUp(1440,1595)
   194 				blowUp(1440,1595)
   194 				blowUp(1527,1575)
   195 				blowUp(1527,1575)
   195 				blowUp(1614,1595)
   196 				blowUp(1614,1595)
   196 				blowUp(1420,1675)
   197 				blowUp(1420,1675)
   211 			elseif score == 9 then
   212 			elseif score == 9 then
   212 				spawnTarget(3040,1160)
   213 				spawnTarget(3040,1160)
   213 			elseif score == 10 then
   214 			elseif score == 10 then
   214 				spawnTarget(2930,1500)
   215 				spawnTarget(2930,1500)
   215 			elseif score == 11 then
   216 			elseif score == 11 then
       
   217 				AddCaption(loc("This one's tricky."));
   216 				spawnTarget(700,720)
   218 				spawnTarget(700,720)
   217 			elseif score == 12 then
   219 			elseif score == 12 then
       
   220 				AddCaption(loc("Well done."));
   218 				blowUp(914,1222)
   221 				blowUp(914,1222)
   219 				blowUp(1050,1222)
   222 				blowUp(1050,1222)
   220 				blowUp(1160,1008)
   223 				blowUp(1160,1008)
   221 				blowUp(1160,1093)
   224 				blowUp(1160,1093)
   222 				blowUp(1160,1188)
   225 				blowUp(1160,1188)
   237 			elseif score == 16 then
   240 			elseif score == 16 then
   238 				spawnTarget(300,10)
   241 				spawnTarget(300,10)
   239 			elseif score == 17 then
   242 			elseif score == 17 then
   240 				spawnTarget(2080,820)
   243 				spawnTarget(2080,820)
   241 			elseif score == 18 then
   244 			elseif score == 18 then
       
   245 				AddCaption(loc("Demolition is fun!"));
   242 				blowUp(2110,920)
   246 				blowUp(2110,920)
   243 				blowUp(2210,920)
   247 				blowUp(2210,920)
   244 				blowUp(2200,305)
   248 				blowUp(2200,305)
   245 				blowUp(2300,305)
   249 				blowUp(2300,305)
   246 				blowUp(2300,400)
   250 				blowUp(2300,400)
   258 			elseif score == 20 then
   262 			elseif score == 20 then
   259 				spawnTarget(2738,190)
   263 				spawnTarget(2738,190)
   260 			elseif score == 21 then
   264 			elseif score == 21 then
   261 				spawnTarget(2590,-100)
   265 				spawnTarget(2590,-100)
   262 			elseif score == 22 then
   266 			elseif score == 22 then
       
   267 				AddCaption(loc("Will this ever end?"));
   263 				blowUp(2790,305)
   268 				blowUp(2790,305)
   264 				blowUp(2930,305)
   269 				blowUp(2930,305)
   265 				blowUp(3060,305)
   270 				blowUp(3060,305)
   266 				blowUp(3190,305)
   271 				blowUp(3190,305)
   267 				blowUp(3310,305)
   272 				blowUp(3310,305)
   269 				blowUp(2805,370)
   274 				blowUp(2805,370)
   270 				blowUp(2805,500)
   275 				blowUp(2805,500)
   271 				blowUp(2805,630)
   276 				blowUp(2805,630)
   272 				blowUp(2805,760)
   277 				blowUp(2805,760)
   273 				blowUp(2805,890)
   278 				blowUp(2805,890)
   274 				blowUp(2700,890)
       
   275 				blowUp(3258,370)
   279 				blowUp(3258,370)
   276 				blowUp(3258,475)
   280 				blowUp(3258,475)
   277 				blowUp(3264,575)
   281 				blowUp(3264,575)
   278 				spawnTarget(3230,240)
   282 				spawnTarget(3230,240)
   279 			elseif score == 23 then
   283 			elseif score == 23 then
   289 			elseif score == 28 then
   293 			elseif score == 28 then
   290 				spawnTarget(3780,300)
   294 				spawnTarget(3780,300)
   291 			elseif score == 29 then
   295 			elseif score == 29 then
   292 				spawnTarget(3670,0)
   296 				spawnTarget(3670,0)
   293 			elseif score == 30 then
   297 			elseif score == 30 then
       
   298 				AddCaption(loc("Last Target!"));
   294 				spawnTarget(3480,1200)
   299 				spawnTarget(3480,1200)
   295 			end
   300 			end
   296 		else
   301 		else
   297 			if not game_lost then
   302 			if not game_lost then
   298 			-- Otherwise show that the goal was accomplished
   303 			-- Otherwise show that the goal was accomplished