share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/epil.lua
changeset 12794 bca911f8e804
parent 12586 7510fe66bfbb
child 12900 a9e4e8fa852c
equal deleted inserted replaced
12793:575c0de98505 12794:bca911f8e804
       
     1 --[[
       
     2 A Classic Fairytale: Epilogue
       
     3 
       
     4 = SUMMARY =
       
     5 The epilogue, a final animated sequence (with 4 possible endings),
       
     6 plus a sandbox mode.
       
     7 
       
     8 = GOALS =
       
     9 You only need to finish the cut scene and quit.
       
    10 The cut scene can be skipped, this is OK, too.
       
    11 
       
    12 = FLOW CHART =
       
    13 == Linear events ==
       
    14 - Long cut scene. This is one of four possible endings.
       
    15 - The chosen ending depends on the enemy leader chosen in ACF8:
       
    16 | ACF8 leader: Dense Cloud
       
    17     - Dense Cloud is the traitor and in prison
       
    18     - See SetupAnimDense
       
    19 | ACF8 leader: Fell from Heaven
       
    20     - Fell from Heaven is the traitor
       
    21     - See SetupAnimPrincess
       
    22 | ACF8 leader: Fiery Water
       
    23     - Fiery Water is the traitor and in prison
       
    24     - See SetupAnimWater
       
    25 | ACF8 leader: Nancy Screw (cyborg)
       
    26     - No traitors
       
    27     - See SetupAnimCyborg
       
    28 - Mission is marked as completed after cut scene, but does not exit
       
    29 - Mission panel with congratulation message appears
       
    30 - Sandbox mode activated
       
    31 - All hogs except the traitor are now playable
       
    32 
       
    33 Note: This mission does not exit on its own.
       
    34 The player has either to kill everyone or use the Esc key.
       
    35 
       
    36 == Non-linear events ==
       
    37 | All hogs except the traitor are dead
       
    38     - It's the traitor's turn now
       
    39 
       
    40 ]]
       
    41 
     1 HedgewarsScriptLoad("/Scripts/Locale.lua")
    42 HedgewarsScriptLoad("/Scripts/Locale.lua")
     2 HedgewarsScriptLoad("/Scripts/Animate.lua")
    43 HedgewarsScriptLoad("/Scripts/Animate.lua")
     3 
    44 
     4 -----------------------------Constants---------------------------------
    45 -----------------------------Constants---------------------------------
     5 leaksNum = 1
    46 leaksNum = 1