share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua
changeset 12933 e65aa3c3d4e6
parent 12905 06791c62c759
child 12934 bc7138add7eb
equal deleted inserted replaced
12932:e0da398805b6 12933:e65aa3c3d4e6
   272 function SkipStartAnim()
   272 function SkipStartAnim()
   273   AnimSwitchHog(leaks)
   273   AnimSwitchHog(leaks)
   274 end
   274 end
   275 
   275 
   276 function PlaceCratesDuo()
   276 function PlaceCratesDuo()
   277   SpawnAmmoCrate(3090, 827, amBaseballBat)
   277   SpawnSupplyCrate(3090, 827, amBaseballBat)
   278   girderCrate1 = SpawnUtilityCrate(2466, 1814, amGirder)
   278   girderCrate1 = SpawnSupplyCrate(2466, 1814, amGirder)
   279   girderCrate2 = SpawnUtilityCrate(2630, 1278, amGirder)
   279   girderCrate2 = SpawnSupplyCrate(2630, 1278, amGirder)
   280   SpawnUtilityCrate(2422, 1810, amParachute)
   280   SpawnSupplyCrate(2422, 1810, amParachute)
   281   SpawnUtilityCrate(3157, 1009, amLowGravity)
   281   SpawnSupplyCrate(3157, 1009, amLowGravity)
   282   sniperCrate = SpawnAmmoCrate(784, 1715, amSniperRifle)
   282   sniperCrate = SpawnSupplyCrate(784, 1715, amSniperRifle)
   283 end
   283 end
   284 
   284 
   285 function PlaceMinesDuo()
   285 function PlaceMinesDuo()
   286   AddGear(2920, 1448, gtMine, 0, 0, 0, 0)
   286   AddGear(2920, 1448, gtMine, 0, 0, 0, 0)
   287   AddGear(2985, 1338, gtMine, 0, 0, 0, 0)
   287   AddGear(2985, 1338, gtMine, 0, 0, 0, 0)
   406   PlaceGirder(962, 650, 2)
   406   PlaceGirder(962, 650, 2)
   407   PlaceGirder(962, 630, 2)
   407   PlaceGirder(962, 630, 2)
   408   PlaceGirder(1033, 649, 0)
   408   PlaceGirder(1033, 649, 0)
   409   PlaceGirder(952, 650, 0)
   409   PlaceGirder(952, 650, 0)
   410 
   410 
   411   fireCrate = SpawnAmmoCrate(1846, 1100, amFirePunch)
   411   fireCrate = SpawnSupplyCrate(1846, 1100, amFirePunch)
   412   SpawnAmmoCrate(1900, 1100, amPickHammer)
   412   SpawnSupplyCrate(1900, 1100, amPickHammer)
   413   SpawnAmmoCrate(950, 674, amDynamite)
   413   SpawnSupplyCrate(950, 674, amDynamite)
   414   SpawnUtilityCrate(994, 825, amRope)
   414   SpawnSupplyCrate(994, 825, amRope)
   415   SpawnUtilityCrate(570, 1357, amLowGravity)
   415   SpawnSupplyCrate(570, 1357, amLowGravity)
   416 end
   416 end
   417 
   417 
   418 local trackedGears = {}
   418 local trackedGears = {}
   419 
   419 
   420 -- Remove mines and crates for the princess cage scene.
   420 -- Remove mines and crates for the princess cage scene.
   719   end
   719   end
   720 end
   720 end
   721 
   721 
   722 function SetupPlaceAlone()
   722 function SetupPlaceAlone()
   723   ------ AMMO CRATE LIST ------
   723   ------ AMMO CRATE LIST ------
   724   SpawnAmmoCrate(3124, 952, amBaseballBat)
   724   SpawnSupplyCrate(3124, 952, amBaseballBat)
   725   SpawnAmmoCrate(2508, 1110, amFirePunch)
   725   SpawnSupplyCrate(2508, 1110, amFirePunch)
   726   ------ UTILITY CRATE LIST ------
   726   ------ UTILITY CRATE LIST ------
   727   blowCrate = SpawnAmmoCrate(3675, 1480, amBlowTorch)
   727   blowCrate = SpawnSupplyCrate(3675, 1480, amBlowTorch)
   728   gravityCrate = SpawnUtilityCrate(3448, 1349, amLowGravity)
   728   gravityCrate = SpawnSupplyCrate(3448, 1349, amLowGravity)
   729   SpawnUtilityCrate(3212, 1256, amGirder)
   729   SpawnSupplyCrate(3212, 1256, amGirder)
   730   SpawnUtilityCrate(3113, 911, amParachute)
   730   SpawnSupplyCrate(3113, 911, amParachute)
   731   sniperCrate = SpawnAmmoCrate(784, 1715, amSniperRifle)
   731   sniperCrate = SpawnSupplyCrate(784, 1715, amSniperRifle)
   732   ------ MINE LIST ------
   732   ------ MINE LIST ------
   733   AddGear(3328, 1399, gtMine, 0, 0, 0, 0)
   733   AddGear(3328, 1399, gtMine, 0, 0, 0, 0)
   734   AddGear(3028, 1262, gtMine, 0, 0, 0, 0)
   734   AddGear(3028, 1262, gtMine, 0, 0, 0, 0)
   735   AddGear(2994, 1274, gtMine, 0, 0, 0, 0)
   735   AddGear(2994, 1274, gtMine, 0, 0, 0, 0)
   736   AddGear(2956, 1277, gtMine, 0, 0, 0, 0)
   736   AddGear(2956, 1277, gtMine, 0, 0, 0, 0)
   834   PlaceGirder(1270, 783, 2)
   834   PlaceGirder(1270, 783, 2)
   835   PlaceGirder(1207, 825, 2)
   835   PlaceGirder(1207, 825, 2)
   836   PlaceGirder(1135, 775, 1)
   836   PlaceGirder(1135, 775, 1)
   837 
   837 
   838   ------ UTILITY CRATE LIST ------
   838   ------ UTILITY CRATE LIST ------
   839   SpawnUtilityCrate(1590, 628, amParachute)
   839   SpawnSupplyCrate(1590, 628, amParachute)
   840   SpawnAmmoCrate(1540, 100, amDynamite)
   840   SpawnSupplyCrate(1540, 100, amDynamite)
   841   SpawnUtilityCrate(2175, 1815, amLowGravity)
   841   SpawnSupplyCrate(2175, 1815, amLowGravity)
   842   SpawnAmmoCrate(2210, 1499, amFirePunch)
   842   SpawnSupplyCrate(2210, 1499, amFirePunch)
   843   girderCrate = SpawnUtilityCrate(2300, 1663, amGirder)
   843   girderCrate = SpawnSupplyCrate(2300, 1663, amGirder)
   844   SpawnAmmoCrate(610, 1394, amPickHammer)
   844   SpawnSupplyCrate(610, 1394, amPickHammer)
   845   
   845   
   846   ------ BARREL LIST ------
   846   ------ BARREL LIST ------
   847   SetHealth(AddGear(1148, 736, gtExplosives, 0, 0, 0, 0), 20)
   847   SetHealth(AddGear(1148, 736, gtExplosives, 0, 0, 0, 0), 20)
   848 
   848 
   849 end
   849 end