equal
deleted
inserted
replaced
54 rope2Taken = false |
54 rope2Taken = false |
55 punchTaken = false |
55 punchTaken = false |
56 canKilled = false |
56 canKilled = false |
57 desertTaken = false |
57 desertTaken = false |
58 challengeFailed = false |
58 challengeFailed = false |
|
59 deleteCrate = false |
59 difficultyChoice = false |
60 difficultyChoice = false |
60 princessFace = "Left" |
61 princessFace = "Left" |
61 elderFace = "Left" |
62 elderFace = "Left" |
62 |
63 |
63 goals = { |
64 goals = { |
467 return TurnTimeLeft == 100 |
468 return TurnTimeLeft == 100 |
468 end |
469 end |
469 |
470 |
470 function DoTimesUp() |
471 function DoTimesUp() |
471 challengeFailed = true |
472 challengeFailed = true |
|
473 deleteCrate = true |
472 DeleteGear(crates[1]) |
474 DeleteGear(crates[1]) |
473 TurnTimeLeft = -1 |
475 TurnTimeLeft = -1 |
474 AddCaption(loc("And so happenned that Leaks A Lot failed to complete the challenge! He landed, pressured by shame...")) |
476 AddCaption(loc("And so happenned that Leaks A Lot failed to complete the challenge! He landed, pressured by shame...")) |
475 AddEvent(CheckChallengeFailed, {}, DoChallengeFailed, {}, 0) |
477 AddEvent(CheckChallengeFailed, {}, DoChallengeFailed, {}, 0) |
476 end |
478 end |
666 paraTaken = true |
668 paraTaken = true |
667 elseif gear == ropeCrate2 then |
669 elseif gear == ropeCrate2 then |
668 rope2Taken = true |
670 rope2Taken = true |
669 elseif gear == ropeCrate3 then |
671 elseif gear == ropeCrate3 then |
670 rope3Taken = true |
672 rope3Taken = true |
|
673 elseif gear == crates[1] and deleteCrate == true then |
|
674 deleteCrate = false |
671 elseif gear == crates[1] and challengeFailed == false then |
675 elseif gear == crates[1] and challengeFailed == false then |
672 crates[1] = nil |
676 crates[1] = nil |
673 cratesCollected = cratesCollected + 1 |
677 cratesCollected = cratesCollected + 1 |
674 PutCrate(cratesCollected + 1) |
678 PutCrate(cratesCollected + 1) |
675 elseif gear == punchCrate then |
679 elseif gear == punchCrate then |