share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
changeset 12900 a9e4e8fa852c
parent 12619 2b529ddf1b01
child 12933 e65aa3c3d4e6
equal deleted inserted replaced
12899:2bcd3f48ddd0 12900:a9e4e8fa852c
    24 -- dialogs
    24 -- dialogs
    25 local dialog01 = {}
    25 local dialog01 = {}
    26 -- mission objectives
    26 -- mission objectives
    27 local goals = {
    27 local goals = {
    28 	[dialog01] = {missionName, loc("Getting ready"), loc("The device part is hidden in one of the crates! Go and get it!").."|"..
    28 	[dialog01] = {missionName, loc("Getting ready"), loc("The device part is hidden in one of the crates! Go and get it!").."|"..
    29 			loc("Most of the destructible terrain in marked with blue color").."|"..loc("Mines time: 0 seconds"), 1, 6000},
    29 			loc("Most of the destructible terrain is marked with blue color").."|"..loc("Mines time: 0 seconds"), 1, 6000},
    30 }
    30 }
    31 -- crates
    31 -- crates
    32 local btorch1Y = 60
    32 local btorch1Y = 60
    33 local btorch1X = 2700
    33 local btorch1X = 2700
    34 local btorch2Y = 1900
    34 local btorch2Y = 1900
   513 		dy = div(dy, 3)
   513 		dy = div(dy, 3)
   514 	end
   514 	end
   515 	heroIsInBattle = true
   515 	heroIsInBattle = true
   516 	AddAmmo(hero.gear, amSkip, 100)
   516 	AddAmmo(hero.gear, amSkip, 100)
   517 	ongoingBattle = 2
   517 	ongoingBattle = 2
   518 	AnimSay(smuggler2.gear, loc("This is seems like a wealthy hedgehog, nice ..."), SAY_THINK, 5000)
   518 	AnimSay(smuggler2.gear, loc("This seems like a wealthy hedgehog, nice ..."), SAY_THINK, 5000)
   519 	AnimSwitchHog(smuggler2.gear)
   519 	AnimSwitchHog(smuggler2.gear)
   520 	EndTurn(true)
   520 	EndTurn(true)
   521 	SetGearVelocity(hero.gear, dx, dy)
   521 	SetGearVelocity(hero.gear, dx, dy)
   522 end
   522 end
   523 
   523