equal
deleted
inserted
replaced
85 |
85 |
86 if gear == bCrate then |
86 if gear == bCrate then |
87 HogSay(CurrentHedgehog, loc("Hmmm..."), SAY_THINK) |
87 HogSay(CurrentHedgehog, loc("Hmmm..."), SAY_THINK) |
88 end |
88 end |
89 |
89 |
90 if GetGearType(gear) == gtCase then |
90 if (GetGearType(gear) == gtCase) and (band(GetGearMessage(gear), gmDestroy) ~= 0) then |
91 SetTurnTimeLeft(TurnTimeLeft + 5000) |
91 SetTurnTimeLeft(TurnTimeLeft + 5000) |
|
92 PlaySound(sndExtraTime) |
92 end |
93 end |
93 -- Note: The victory sequence is done automatically by Hedgewars |
94 -- Note: The victory sequence is done automatically by Hedgewars |
94 if ( ((gear == player) or (gear == p2)) and (GameOver == false)) then |
95 if ( ((gear == player) or (gear == p2)) and (GameOver == false)) then |
95 ShowMission(loc("Teamwork"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
96 ShowMission(loc("Teamwork"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
96 GameOver = true |
97 GameOver = true |