share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua
changeset 12424 b9cc405541c1
parent 11405 307832da2756
child 13071 bcb205281f38
equal deleted inserted replaced
12423:e9d2efe5763b 12424:b9cc405541c1
    96 	Ammo = { [amJetpack] = 1 }, }
    96 	Ammo = { [amJetpack] = 1 }, }
    97 
    97 
    98 TargetPos[7] = { 
    98 TargetPos[7] = { 
    99 	Targets = {{ X = 1884, Y = 704 }},
    99 	Targets = {{ X = 1884, Y = 704 }},
   100 	MessageTime = 6500,
   100 	MessageTime = 6500,
   101 	Message = loc("Now dive just one more time and collect the next crate." .. "|" ..
   101 	Message = loc("Now dive just one more time and collect the next crate.") .. "|" ..
   102 		loc("Tip: Don't remain for too long in the water, or you won't make it.")),
   102 		loc("Tip: Don't remain for too long in the water, or you won't make it."),
   103 	Ammo = { [amJetpack] = 1}, }
   103 	Ammo = { [amJetpack] = 1}, }
   104 
   104 
   105 -- The Boom Target
   105 -- The Boom Target
   106 local BoomTarget = 8
   106 local BoomTarget = 8
   107 TargetPos[8] = {
   107 TargetPos[8] = {
   112 		loc("It's not that easy, so listen carefully:") .. "|" ..
   112 		loc("It's not that easy, so listen carefully:") .. "|" ..
   113 		loc("Step 1: Activate your flying saucer but do NOT move yet!") .. "|" ..
   113 		loc("Step 1: Activate your flying saucer but do NOT move yet!") .. "|" ..
   114 		loc("Step 2: Select your grenade.") .. "|" ..
   114 		loc("Step 2: Select your grenade.") .. "|" ..
   115 		loc("Step 3: Start flying and get yourself right above the target.") .. "|" ..
   115 		loc("Step 3: Start flying and get yourself right above the target.") .. "|" ..
   116 		loc("Step 4: Drop your grenade by pressing the [Long jump] key.") .. "|" ..
   116 		loc("Step 4: Drop your grenade by pressing the [Long jump] key.") .. "|" ..
   117 		loc("Step 5: Get away quickly and land safely anywhere." .. "| |" ..
   117 		loc("Step 5: Get away quickly and land safely anywhere.") .. "| |" ..
   118 		loc("Note: We only give you grenades if you stay in your flying saucer.")), nil, 20000)
   118 		loc("Note: We only give you grenades if you stay in your flying saucer."), nil, 20000)
   119 
   119 
   120 		SpawnBoomTarget()
   120 		SpawnBoomTarget()
   121 
   121 
   122 		if SaucerGear ~= nil then
   122 		if SaucerGear ~= nil then
   123 			AddAmmo(Player, amGrenade, 1)
   123 			AddAmmo(Player, amGrenade, 1)