share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork_2.lua
changeset 13354 f9a15dcd857c
parent 12933 e65aa3c3d4e6
child 13583 141cdfe0f3ca
equal deleted inserted replaced
13353:3bf935c1e672 13354:f9a15dcd857c
    95 	SetAmmo(amDynamite, 0, 0, 0, 1)
    95 	SetAmmo(amDynamite, 0, 0, 0, 1)
    96 end
    96 end
    97 
    97 
    98 function onGearDelete(gear)
    98 function onGearDelete(gear)
    99 	if gear == Pack then
    99 	if gear == Pack then
   100 		HogSay(CurrentHedgehog, loc("This will certianly come in handy."), SAY_THINK)
   100 		HogSay(CurrentHedgehog, loc("This will certainly come in handy."), SAY_THINK)
   101 	end
   101 	end
   102 	-- Note: The victory sequence is done automatically by Hedgewars
   102 	-- Note: The victory sequence is done automatically by Hedgewars
   103 	if ( ((gear == player) or (gear == hlayer)) and (GameOver == false)) then
   103 	if ( ((gear == player) or (gear == hlayer)) and (GameOver == false)) then
   104 		ShowMission(loc("Teamwork 2"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
   104 		ShowMission(loc("Teamwork 2"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
   105 		GameOver = true
   105 		GameOver = true