ACF5: Disable utilities until the traitor has been dealt with
authorWuzzy <Wuzzy2@mail.ru>
Wed, 16 Jan 2019 23:58:12 +0100
changeset 14620 5c52013fd0aa
parent 14619 03033213e800
child 14621 eb5ed9ead151
ACF5: Disable utilities until the traitor has been dealt with
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua	Wed Jan 16 23:50:35 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua	Wed Jan 16 23:58:12 2019 +0100
@@ -600,6 +600,11 @@
   SetState(speakerHog, 0)
   SetTurnTimeLeft(MAX_TURN_TIME)
   ShowMission(loc("Backstab"), loc("The food bites back"), loc("Defeat the cannibals!"), 1, 4000)
+  SetAmmoDelay(amBlowTorch, 0)
+  SetAmmoDelay(amGirder, 0)
+  SetAmmoDelay(amLandGun, 0)
+  SetAmmoDelay(amRope, 0)
+  SetAmmoDelay(amParachute, 0)
   SpawnCrates()
 end
 
@@ -1042,6 +1047,11 @@
   AnimationSetup()
   AddAnim(startAnim)
   AddFunction({func = AfterStartAnim, args = {}})
+  SetAmmoDelay(amBlowTorch, 9999)
+  SetAmmoDelay(amGirder, 9999)
+  SetAmmoDelay(amLandGun, 9999)
+  SetAmmoDelay(amRope, 9999)
+  SetAmmoDelay(amParachute, 9999)
 end
 
 function onGameTick()