diff -r e0da398805b6 -r e65aa3c3d4e6 share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua Fri Feb 09 06:03:01 2018 +0100 +++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua Fri Feb 09 07:38:14 2018 +0100 @@ -418,7 +418,7 @@ end function DoOnShroom() - ropeCrate1 = SpawnUtilityCrate(2751, 1194, amRope, 100) + ropeCrate1 = SpawnSupplyCrate(2751, 1194, amRope, 100) SetGearMessage(CurrentHedgehog, 0) AddAnim(onShroomAnim) AddEvent(CheckOnFlower, {}, DoOnFlower, {}, 0) @@ -430,7 +430,7 @@ function DoOnFlower() AddAmmo(youngh, amRope, 100) - paraCrate = SpawnUtilityCrate(3245, 1758, amParachute, 100) + paraCrate = SpawnSupplyCrate(3245, 1758, amParachute, 100) SetGearMessage(CurrentHedgehog, 0) AddAnim(onFlowerAnim) AddEvent(CheckTookParaCrate, {}, DoTookParaCrate, {}, 0) @@ -462,7 +462,7 @@ function DoPastMoleHead() -- Initiate parachute challenge RemoveEventFunc(CheckOnMoleHead) - ropeCrate2 = SpawnUtilityCrate(2782, 1720, amRope, 100) + ropeCrate2 = SpawnSupplyCrate(2782, 1720, amRope, 100) rope2InProgress = true AddAmmo(youngh, amRope, 0) SetGearMessage(CurrentHedgehog, 0) @@ -475,7 +475,7 @@ function DoOnMoleHead() -- Initiate parachute challenge RemoveEventFunc(CheckPastMoleHead) - ropeCrate2 = SpawnUtilityCrate(2782, 1720, amRope, 100) + ropeCrate2 = SpawnSupplyCrate(2782, 1720, amRope, 100) rope2InProgress = true AddAmmo(youngh, amRope, 0) SetGearMessage(CurrentHedgehog, 0) @@ -493,7 +493,7 @@ AddAmmo(youngh, amRope, 100) SetGearMessage(CurrentHedgehog, 0) AddAnim(tookRope2Anim) - punchCrate = SpawnAmmoCrate(2460, 1321, amFirePunch, 100) + punchCrate = SpawnSupplyCrate(2460, 1321, amFirePunch, 100) AddEvent(CheckTookPunch, {}, DoTookPunch, {}) end @@ -524,7 +524,7 @@ AddAnim(challengeAnim) targetsDestroyed = 0 AddFunction({func = SetChoice, args = {}}) - ropeCrate3 = SpawnUtilityCrate(2000, 1200, amRope, 100) + ropeCrate3 = SpawnSupplyCrate(2000, 1200, amRope, 100) AddEvent(CheckTookRope3, {}, AddAmmo, {youngh, amRope, 100}, 0) AddEvent(CheckCratesColled, {}, DoCratesColled, {}, 0) AddEvent(CheckChallengeWon, {}, DoChallengeWon, {}, 0) @@ -555,7 +555,7 @@ end function DoChallengeWon() - desertCrate = SpawnAmmoCrate(1240, 1212, amDEagle, 100) + desertCrate = SpawnSupplyCrate(1240, 1212, amDEagle, 100) SetGearMessage(CurrentHedgehog, 0) AddAnim(challengeCompletedAnim) AddEvent(CheckDesertColled, {}, DoDesertColled, {}, 0) @@ -633,9 +633,9 @@ function DoCloseToCannibal() SetGearMessage(CurrentHedgehog, 0) AddAnim(closeCannim) - AddFunction({func = SpawnAmmoCrate, args = {targetPosX[1][1], targetPosY[1][1], amWhip}}) - AddFunction({func = SpawnAmmoCrate, args = {targetPosX[1][2], targetPosY[1][2], amBaseballBat}}) - AddFunction({func = SpawnAmmoCrate, args = {targetPosX[1][3], targetPosY[1][3], amHammer}}) + AddFunction({func = SpawnSupplyCrate, args = {targetPosX[1][1], targetPosY[1][1], amWhip}}) + AddFunction({func = SpawnSupplyCrate, args = {targetPosX[1][2], targetPosY[1][2], amBaseballBat}}) + AddFunction({func = SpawnSupplyCrate, args = {targetPosX[1][3], targetPosY[1][3], amHammer}}) end function CheckCannibalKilled()