share/hedgewars/Data/Missions/Scenario/User_Mission_-_Newton_and_the_Hammock.lua
changeset 12410 e6ec081b7fe0
parent 12353 40833d930d82
child 12518 d90db45a0c4f
equal deleted inserted replaced
12409:78715ca14e08 12410:e6ec081b7fe0
   124 end
   124 end
   125 
   125 
   126 function onGearDelete(gear)
   126 function onGearDelete(gear)
   127 
   127 
   128 	if (gear == enemy) and (failed == false) then
   128 	if (gear == enemy) and (failed == false) then
   129 		ShowMission(loc("Newton's Hammock"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0)
   129 		ShowMission(loc("Newton and the Hammock"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0)
   130 	elseif gear == player then
   130 	elseif gear == player then
   131 		ShowMission(loc("Newton's Hammock"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
   131 		ShowMission(loc("Newton and the Hammock"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
   132 	end
   132 	end
   133 
   133 
   134 end
   134 end