share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua
changeset 12794 bca911f8e804
parent 12625 52ed732cf494
child 12798 fdb3730aa0e2
equal deleted inserted replaced
12793:575c0de98505 12794:bca911f8e804
       
     1 --[[
       
     2 A Classic Fairytale: Dragon's Lair
       
     3 
       
     4 = SUMMARY =
       
     5 Hero must collect an utility crate on the other side of the river.
       
     6 To accomplish that, hero must first collect a series of crates with
       
     7 the rope and wipe out the cyborgs.
       
     8 
       
     9 = GOALS =
       
    10 - Mission goal (leads to immediate victory): Collect utility crate at the right side of the river
       
    11 - First sub-goal: Collect (or destroy) a series of crates (all other utility crates)
       
    12 - Second sub-goal: Wipe out the cyborgs
       
    13 
       
    14 = FLOW CHART =
       
    15 - Cut scene: Intro
       
    16 - TBS
       
    17 | Player accomplishes first sub-goal first:
       
    18     - Cut scene: Cyborg reveals second goal
       
    19 | Player accomplshed second sub-goal first:
       
    20     - Hero reminds player to collect/destroy remaining crates
       
    21 - Player accomplished both goals
       
    22 - Cut scene: Cyborg teleports hero and congrats hero and reveals portal gun
       
    23 - A teleporter crate appears, allowing the player to complete the mission
       
    24 - Player takes final crate at the very right
       
    25 > Victory
       
    26 
       
    27 ]]
       
    28 
     1 HedgewarsScriptLoad("/Scripts/Locale.lua")
    29 HedgewarsScriptLoad("/Scripts/Locale.lua")
     2 HedgewarsScriptLoad("/Scripts/Animate.lua")
    30 HedgewarsScriptLoad("/Scripts/Animate.lua")
     3 
    31 
     4 -----------------------------Map--------------------------------------
    32 -----------------------------Map--------------------------------------
     5 local map = 
    33 local map =