share/hedgewars/Data/Missions/Challenge/User_Mission_-_That_Sinking_Feeling.lua
changeset 15068 6f51c75994a4
parent 15002 3ed1cbd31754
equal deleted inserted replaced
15067:d59da429d22c 15068:6f51c75994a4
    23 	local recordInfo = ""
    23 	local recordInfo = ""
    24 	if show then
    24 	if show then
    25 		recordInfo = getReadableChallengeRecord("Highscore")
    25 		recordInfo = getReadableChallengeRecord("Highscore")
    26 	end
    26 	end
    27 	ShowMission(loc("That Sinking Feeling"), loc("Challenge"), loc("Save as many hogs as possible!")
    27 	ShowMission(loc("That Sinking Feeling"), loc("Challenge"), loc("Save as many hogs as possible!")
    28 	.. "|" .. recordInfo, 4, 0)
    28 	.. "|" .. recordInfo, 10, 0)
    29 end
    29 end
    30 
    30 
    31 -- allow skipping of the intro via hitting precise key
    31 -- allow skipping of the intro via hitting precise key
    32 function onPrecise()
    32 function onPrecise()
    33 	if introStage < 100 then
    33 	if introStage < 100 then
   213 		elseif introStage == 7 then
   213 		elseif introStage == 7 then
   214 
   214 
   215 			if genCounter == 2000 then
   215 			if genCounter == 2000 then
   216 				introStage = 110
   216 				introStage = 110
   217 				FollowGear(CurrentHedgehog)
   217 				FollowGear(CurrentHedgehog)
   218 				ShowMission(loc("That Sinking Feeling"), loc("User Challenge"), loc("Save as many hogs as possible!"), 4, 0)
   218 				ShowMission(loc("That Sinking Feeling"), loc("User Challenge"), loc("Save as many hogs as possible!"), 10, 0)
   219 				SetInputMask(0xFFFFFFFF)
   219 				SetInputMask(0xFFFFFFFF)
   220 			end
   220 			end
   221 
   221 
   222 		end
   222 		end
   223 
   223