share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/epil.lua
changeset 11955 d72a177dbaea
parent 11954 62be63822a96
child 12049 030464f34d47
equal deleted inserted replaced
11954:62be63822a96 11955:d72a177dbaea
    81   crate = SpawnHealthCrate(0, 0)
    81   crate = SpawnHealthCrate(0, 0)
    82   SetGearMessage(CurrentHedgehog, 0)
    82   SetGearMessage(CurrentHedgehog, 0)
    83   AddNewEvent(CheckCrateTaken, {}, DoCrateTaken, {}, 1)
    83   AddNewEvent(CheckCrateTaken, {}, DoCrateTaken, {}, 1)
    84   TurnTimeLeft = 0
    84   TurnTimeLeft = 0
    85   ShowMission("Epilogue", "That's all folks!", "You have successfully finished the campaign!|If you wish to replay, there are other possible endings, too!|You can practice moving around and using utilities in this mission.|However, it will never end!", 1, 0)
    85   ShowMission("Epilogue", "That's all folks!", "You have successfully finished the campaign!|If you wish to replay, there are other possible endings, too!|You can practice moving around and using utilities in this mission.|However, it will never end!", 1, 0)
       
    86   SaveCampaignVar("Progress", "10")
    86   SaveCampaignVar("Won", "true")
    87   SaveCampaignVar("Won", "true")
    87 end
    88 end
    88 
    89 
    89 ---------------------------Events-------------------------------------
    90 ---------------------------Events-------------------------------------
    90 function CheckCrateTaken()
    91 function CheckCrateTaken()