share/hedgewars/Data/Missions/Training/Basic_Training_-_Movement.lua
changeset 14409 cf49fac6e88a
parent 14405 bedbd983653b
child 14472 bb7f22cb0b64
equal deleted inserted replaced
14407:35af3d1ccdfc 14409:cf49fac6e88a
   302 		else
   302 		else
   303 			if INTERFACE == "desktop" then
   303 			if INTERFACE == "desktop" then
   304 				ctrl = loc("Open ammo menu: [Right click]").."|"..
   304 				ctrl = loc("Open ammo menu: [Right click]").."|"..
   305 				loc("Attack: [Space]")
   305 				loc("Attack: [Space]")
   306 			elseif INTERFACE == "touch" then
   306 			elseif INTERFACE == "touch" then
   307 				ctrl = loc("Open ammo menu: Tap the [suitcase]").."|"..
   307 				ctrl = loc("Open ammo menu: Tap the [Suitcase]").."|"..
   308 				loc("Attack: Tap the [bomb]")
   308 				loc("Attack: Tap the [Bomb]")
   309 			end
   309 			end
   310 			ShowMission(loc("Basic Movement Training"), loc("Switch Hedgehog (Failed!)"),
   310 			ShowMission(loc("Basic Movement Training"), loc("Switch Hedgehog (Failed!)"),
   311 			loc("Oops! You have selected the wrong hedgehog! Just try again.").."|"..
   311 			loc("Oops! You have selected the wrong hedgehog! Just try again.").."|"..
   312 			loc("Select “Switch Hedgehog” from the ammo menu and|hit the “Attack” key to proceed.").."|"..
   312 			loc("Select “Switch Hedgehog” from the ammo menu and|hit the “Attack” key to proceed.").."|"..
   313 			ctrl, 2, 0)
   313 			ctrl, 2, 0)
   316 	-- Crate collected (or destroyed, but this should not be possible)
   316 	-- Crate collected (or destroyed, but this should not be possible)
   317 	elseif gear == crates[1] then
   317 	elseif gear == crates[1] then
   318 		if INTERFACE == "desktop" then
   318 		if INTERFACE == "desktop" then
   319 			ctrl = loc("Long Jump: [Enter]")
   319 			ctrl = loc("Long Jump: [Enter]")
   320 		elseif INTERFACE == "touch" then
   320 		elseif INTERFACE == "touch" then
   321 			ctrl = loc("Long Jump: Tap the [curvy arrow] for long")
   321 			ctrl = loc("Long Jump: Tap the [Curvy Arrow] button for long")
   322 		end
   322 		end
   323 		ShowMission(loc("Basic Movement Training"), loc("Jumping"),
   323 		ShowMission(loc("Basic Movement Training"), loc("Jumping"),
   324 		loc("Get the next crate by jumping over the abyss.").."|"..
   324 		loc("Get the next crate by jumping over the abyss.").."|"..
   325 		loc("Careful, hedgehogs can't swim!").."|"..
   325 		loc("Careful, hedgehogs can't swim!").."|"..
   326 		ctrl, 2, 5000)
   326 		ctrl, 2, 5000)
   328 		victory()
   328 		victory()
   329 	elseif gear == crates[4] then
   329 	elseif gear == crates[4] then
   330 		if INTERFACE == "desktop" then
   330 		if INTERFACE == "desktop" then
   331 			ctrl = loc("High Jump: [Backspace]").."|"..loc("Back Jump: [Backspace] ×2")
   331 			ctrl = loc("High Jump: [Backspace]").."|"..loc("Back Jump: [Backspace] ×2")
   332 		elseif INTERFACE == "touch" then
   332 		elseif INTERFACE == "touch" then
   333 			ctrl = loc("High Jump: Tap the [curvy arrow] shortly").."|"..loc("Back Jump: Double-tap the [curvy arrow]")
   333 			ctrl = loc("High Jump: Tap the [Curvy Arrow] shortly").."|"..loc("Back Jump: Double-tap the [Curvy Arrow]")
   334 		end
   334 		end
   335 		ShowMission(loc("Basic Movement Training"), loc("Back Jumping (1/2)"),
   335 		ShowMission(loc("Basic Movement Training"), loc("Back Jumping (1/2)"),
   336 		loc("For the next crate, you have to do back jumps.") .. "|" ..
   336 		loc("For the next crate, you have to do back jumps.") .. "|" ..
   337 		loc("To reach higher ground, walk to a ledge, look to the left, then do a back jump.") .. "|" ..
   337 		loc("To reach higher ground, walk to a ledge, look to the left, then do a back jump.") .. "|" ..
   338 		ctrl, 2, 6600)
   338 		ctrl, 2, 6600)
   339 	elseif gear == crates[7] then
   339 	elseif gear == crates[7] then
   340 		if INTERFACE == "desktop" then
   340 		if INTERFACE == "desktop" then
   341 			ctrl = loc("High Jump: [Backspace]").."|"..loc("Back Jump: [Backspace] ×2")
   341 			ctrl = loc("High Jump: [Backspace]").."|"..loc("Back Jump: [Backspace] ×2")
   342 		elseif INTERFACE == "touch" then
   342 		elseif INTERFACE == "touch" then
   343 			ctrl = loc("High Jump: Tap the [curvy arrow] shortly").."|"..loc("Back Jump: Double-tap the [curvy arrow]")
   343 			ctrl = loc("High Jump: Tap the [Curvy Arrow] shortly").."|"..loc("Back Jump: Double-tap the [Curvy Arrow]")
   344 		end
   344 		end
   345 		ShowMission(loc("Basic Movement Training"), loc("Back Jumping (2/2)"),
   345 		ShowMission(loc("Basic Movement Training"), loc("Back Jumping (2/2)"),
   346 		loc("To get over the next obstacles, keep some distance from the wall before you back jump.").."|"..
   346 		loc("To get over the next obstacles, keep some distance from the wall before you back jump.").."|"..
   347 		loc("Hint: To jump higher, wait a bit before you hit “High Jump” a second time.").."|"..
   347 		loc("Hint: To jump higher, wait a bit before you hit “High Jump” a second time.").."|"..
   348 		ctrl, 2, 15000)
   348 		ctrl, 2, 15000)
   369 	elseif gear == crates[8] then
   369 	elseif gear == crates[8] then
   370 		if INTERFACE == "desktop" then
   370 		if INTERFACE == "desktop" then
   371 			ctrl = loc("Open ammo menu: [Right click]").."|"..
   371 			ctrl = loc("Open ammo menu: [Right click]").."|"..
   372 			loc("Attack: [Space]")
   372 			loc("Attack: [Space]")
   373 		elseif INTERFACE == "touch" then
   373 		elseif INTERFACE == "touch" then
   374 			ctrl = loc("Open ammo menu: Tap the [suitcase]").."|"..
   374 			ctrl = loc("Open ammo menu: Tap the [Suitcase]").."|"..
   375 			loc("Attack: Tap the [bomb]")
   375 			loc("Attack: Tap the [Bomb]")
   376 		end
   376 		end
   377 		ShowMission(loc("Basic Movement Training"), loc("Switch Hedgehog (1/3)"),
   377 		ShowMission(loc("Basic Movement Training"), loc("Switch Hedgehog (1/3)"),
   378 		loc("You have collected the “Switch Hedgehog” utility!").."|"..
   378 		loc("You have collected the “Switch Hedgehog” utility!").."|"..
   379 		loc("This allows to select any hedgehog in your team!").."|"..
   379 		loc("This allows to select any hedgehog in your team!").."|"..
   380 		loc("Select “Switch Hedgehog” from the ammo menu and|hit the “Attack” key.").."|"..
   380 		loc("Select “Switch Hedgehog” from the ammo menu and|hit the “Attack” key.").."|"..
   430 		loc("Pause: [P]").."| |"..
   430 		loc("Pause: [P]").."| |"..
   431 		loc("To begin with the training, hit the attack key!").."|"..
   431 		loc("To begin with the training, hit the attack key!").."|"..
   432 		loc("Attack: [Space]")
   432 		loc("Attack: [Space]")
   433 	elseif INTERFACE == "touch" then
   433 	elseif INTERFACE == "touch" then
   434 		ctrl = loc("IMPORTANT: To see the mission panel again, pause the game.").."| |"..
   434 		ctrl = loc("IMPORTANT: To see the mission panel again, pause the game.").."| |"..
   435 		loc("Pause: Tap the [pause symbol]").."| |"..
   435 		loc("Pause: Tap the [Pause] button").."| |"..
   436 		loc("To begin with the training, tap the attack button!").."|"..
   436 		loc("To begin with the training, tap the attack button!").."|"..
   437 		loc("Attack: Tap the [bomb]")
   437 		loc("Attack: Tap the [Bomb]")
   438 	end
   438 	end
   439 	ShowMission(loc("Basic Movement Training"), loc("Mission Panel"),
   439 	ShowMission(loc("Basic Movement Training"), loc("Mission Panel"),
   440 	loc("This is the mission panel.").."|"..
   440 	loc("This is the mission panel.").."|"..
   441 	loc("Here you will find the current mission instructions.").."|"..
   441 	loc("Here you will find the current mission instructions.").."|"..
   442 	loc("Normally, the mission panel disappears after a few seconds.").."|"..
   442 	loc("Normally, the mission panel disappears after a few seconds.").."|"..