equal
deleted
inserted
replaced
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) and (band(GetGearMessage(gear), gmDestroy) ~= 0) then |
90 if (GetGearType(gear) == gtCase) and (band(GetGearMessage(gear), gmDestroy) ~= 0) then |
91 SetTurnTimeLeft(TurnTimeLeft + 5000) |
91 SetTurnTimeLeft(TurnTimeLeft + 5000) |
|
92 AddCaption(string.format(loc("+%d seconds!"), 5), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) |
92 PlaySound(sndExtraTime) |
93 PlaySound(sndExtraTime) |
93 end |
94 end |
94 -- Note: The victory sequence is done automatically by Hedgewars |
95 -- Note: The victory sequence is done automatically by Hedgewars |
95 if ( ((gear == player) or (gear == p2)) and (GameOver == false)) then |
96 if ( ((gear == player) or (gear == p2)) and (GameOver == false)) then |
96 ShowMission(loc("Teamwork"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
97 ShowMission(loc("Teamwork"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |