share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua
changeset 14388 cf49fac6e88a
parent 14382 f9d4b8222903
child 14454 fd34b9037c69
equal deleted inserted replaced
14386:35af3d1ccdfc 14388:cf49fac6e88a
   197 	local ctrl = ""
   197 	local ctrl = ""
   198 	if not wasFirstTurn then
   198 	if not wasFirstTurn then
   199 		if INTERFACE == "desktop" then
   199 		if INTERFACE == "desktop" then
   200 			ctrl = loc("Open ammo menu: [Right click]")
   200 			ctrl = loc("Open ammo menu: [Right click]")
   201 		elseif INTERFACE == "touch" then
   201 		elseif INTERFACE == "touch" then
   202 			ctrl = loc("Open ammo menu: Tap the [suitcase]")
   202 			ctrl = loc("Open ammo menu: Tap the [Suitcase]")
   203 		end
   203 		end
   204 		ShowMission(loc("Basic Rope Training"), loc("Select Rope"),
   204 		ShowMission(loc("Basic Rope Training"), loc("Select Rope"),
   205 		loc("Select the rope to begin!").."|"..
   205 		loc("Select the rope to begin!").."|"..
   206 		ctrl, 2, 7500)
   206 		ctrl, 2, 7500)
   207 		wasFirstTurn = true
   207 		wasFirstTurn = true
   222 		if INTERFACE == "desktop" then
   222 		if INTERFACE == "desktop" then
   223 			ctrl = loc("Aim: [Up]/[Down]").."|"..
   223 			ctrl = loc("Aim: [Up]/[Down]").."|"..
   224 			loc("Attack: [Space]")
   224 			loc("Attack: [Space]")
   225 		elseif INTERFACE == "touch" then
   225 		elseif INTERFACE == "touch" then
   226 			ctrl = loc("Aim: [Up]/[Down]").."|"..
   226 			ctrl = loc("Aim: [Up]/[Down]").."|"..
   227 			loc("Attack: Tap the [bomb]")
   227 			loc("Attack: Tap the [Bomb]")
   228 		end
   228 		end
   229 		ShowMission(loc("Basic Rope Training"), loc("Getting Started"),
   229 		ShowMission(loc("Basic Rope Training"), loc("Getting Started"),
   230 		loc("You can use the rope to reach new places.").."|"..
   230 		loc("You can use the rope to reach new places.").."|"..
   231 		loc("Aim at the ceiling and hold [Attack] pressed until the rope attaches.").."|"..
   231 		loc("Aim at the ceiling and hold [Attack] pressed until the rope attaches.").."|"..
   232 		ctrl, 2, 15000)
   232 		ctrl, 2, 15000)
   384 			if INTERFACE == "desktop" then
   384 			if INTERFACE == "desktop" then
   385 				ctrl = loc("Aim: [Up]/[Down]").."|"..
   385 				ctrl = loc("Aim: [Up]/[Down]").."|"..
   386 				loc("Attack: [Space]")
   386 				loc("Attack: [Space]")
   387 			elseif INTERFACE == "touch" then
   387 			elseif INTERFACE == "touch" then
   388 				ctrl = loc("Aim: [Up]/[Down]").."|"..
   388 				ctrl = loc("Aim: [Up]/[Down]").."|"..
   389 				loc("Attack: Tap the [bomb]")
   389 				loc("Attack: Tap the [Bomb]")
   390 			end
   390 			end
   391 			ShowMission(loc("Basic Rope Training"), loc("How to Rope"),
   391 			ShowMission(loc("Basic Rope Training"), loc("How to Rope"),
   392 			loc("Go to the target.").."|"..
   392 			loc("Go to the target.").."|"..
   393 			loc("Hold [Attack] to attach the rope.").."|"..
   393 			loc("Hold [Attack] to attach the rope.").."|"..
   394 			ctrl, 2, 13000)
   394 			ctrl, 2, 13000)