143 |
143 |
144 AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0) |
144 AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0) |
145 AddEvent(onEnemiesDeath, {hero.gear}, enemiesDeath, {hero.gear}, 0) |
145 AddEvent(onEnemiesDeath, {hero.gear}, enemiesDeath, {hero.gear}, 0) |
146 |
146 |
147 -- add crates |
147 -- add crates |
148 SpawnUtilityCrate(teleportCrate.x, teleportCrate.y, amTeleport) |
148 SpawnSupplyCrate(teleportCrate.x, teleportCrate.y, amTeleport) |
149 SpawnUtilityCrate(drillCrate.x, drillCrate.y, amTeleport) |
149 SpawnSupplyCrate(drillCrate.x, drillCrate.y, amTeleport) |
150 SpawnAmmoCrate(drillCrate.x, drillCrate.y, amDrill) |
150 SpawnSupplyCrate(drillCrate.x, drillCrate.y, amDrill) |
151 SpawnAmmoCrate(batCrate.x, batCrate.y, amBaseballBat) |
151 SpawnSupplyCrate(batCrate.x, batCrate.y, amBaseballBat) |
152 SpawnAmmoCrate(blowtorchCrate.x, blowtorchCrate.y, amBlowTorch) |
152 SpawnSupplyCrate(blowtorchCrate.x, blowtorchCrate.y, amBlowTorch) |
153 SpawnAmmoCrate(cakeCrate.x, cakeCrate.y, amCake) |
153 SpawnSupplyCrate(cakeCrate.x, cakeCrate.y, amCake) |
154 SpawnUtilityCrate(ropeCrate.x, ropeCrate.y, amRope) |
154 SpawnSupplyCrate(ropeCrate.x, ropeCrate.y, amRope) |
155 SpawnAmmoCrate(pickHammerCrate.x, pickHammerCrate.y, amPickHammer) |
155 SpawnSupplyCrate(pickHammerCrate.x, pickHammerCrate.y, amPickHammer) |
156 SpawnHealthCrate(cakeCrate.x + 40, cakeCrate.y) |
156 SpawnHealthCrate(cakeCrate.x + 40, cakeCrate.y) |
157 SpawnHealthCrate(blowtorchCrate.x + 40, blowtorchCrate.y) |
157 SpawnHealthCrate(blowtorchCrate.x + 40, blowtorchCrate.y) |
158 -- add explosives |
158 -- add explosives |
159 AddGear(1900, 850, gtExplosives, 0, 0, 0, 0) |
159 AddGear(1900, 850, gtExplosives, 0, 0, 0, 0) |
160 AddGear(1900, 800, gtExplosives, 0, 0, 0, 0) |
160 AddGear(1900, 800, gtExplosives, 0, 0, 0, 0) |