share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
changeset 14620 c3c0f94a5333
parent 14617 bd15c8551318
child 14903 4596357d002d
equal deleted inserted replaced
14619:efa2bdeadd79 14620:c3c0f94a5333
   437 function antiFlyArea(gear)
   437 function antiFlyArea(gear)
   438 	heroAtAntiFlyArea = true
   438 	heroAtAntiFlyArea = true
   439 	if not heroVisitedAntiFlyArea then
   439 	if not heroVisitedAntiFlyArea then
   440 		EndTurn(true)
   440 		EndTurn(true)
   441 		FollowGear(hero.gear)
   441 		FollowGear(hero.gear)
       
   442 		SetGearMessage(hero.gear, band(GetGearMessage(hero.gear), bnot(gmAllStoppable)))
   442 		AnimSwitchHog(bandit1.gear)
   443 		AnimSwitchHog(bandit1.gear)
   443 		FollowGear(hero.gear)
   444 		FollowGear(hero.gear)
   444 		HogSay(hero.gear, loc("My flying saucer stopped working!"), SAY_THINK)
   445 		HogSay(hero.gear, loc("My flying saucer stopped working!"), SAY_THINK)
   445 		EndTurn(true)
   446 		EndTurn(true)
   446 	end
   447 	end