Refactor hardcoded ammo IDs in The Great Escape
authorWuzzy <almikes@aol.com>
Thu, 27 Apr 2017 05:07:35 +0200
changeset 12363 b9582e2ebb56
parent 12362 ae6503e17764
child 12364 81ab841a0da5
Refactor hardcoded ammo IDs in The Great Escape
share/hedgewars/Data/Missions/Scenario/User_Mission_-_The_Great_Escape.lua
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_The_Great_Escape.lua	Thu Apr 27 05:04:32 2017 +0200
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_The_Great_Escape.lua	Thu Apr 27 05:07:35 2017 +0200
@@ -80,13 +80,13 @@
 SetHealth(player, 1)
 SetHealth(enemy, 1)
 ------ AMMO CRATE LIST ------
-SpawnAmmoCrate(1632,943,5)
-SpawnAmmoCrate(1723,888,12)
-SpawnAmmoCrate(1915,599,1)
+SpawnAmmoCrate(1632,943,amShotgun)
+SpawnAmmoCrate(1723,888,amFirePunch)
+SpawnAmmoCrate(1915,599,amGrenade)
+SpawnAmmoCrate(1416,913,amBlowTorch)
+SpawnAmmoCrate(1227,640,amPickHammer)
 ------ UTILITY CRATE LIST ------
-SpawnUtilityCrate(1519,945,15)
-SpawnUtilityCrate(1227,640,6)
-SpawnUtilityCrate(1416,913,18)
+SpawnUtilityCrate(1519,945,amParachute)
 ------ END LOADING DATA ------
 
 end