Skip to content
Snippets Groups Projects
Commit c4601391 authored by dg's avatar dg
Browse files

Made sure the transmo chest always spawn

git-svn-id: http://svn.net-core.org/repos/t-engine4@6558 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7d216460
No related branches found
No related tags found
No related merge requests found
......@@ -1284,6 +1284,7 @@ function _M:setupCommands()
print("===============")
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
error("ah fuck an error ... "..os.time())
game.level.map:particleEmitter(game.player.x, game.player.y, 1, "shout", {})
do return end
......
......@@ -88,7 +88,7 @@ end
spawn_transmo_chest = function(self, energy)
local spot = game.level:pickSpot{type="spawn", subtype="butler"}
local chest = game.zone:makeEntityByName(game.level, "object", "TRANSMO_CHEST")
local chest = game.zone:makeEntityByName(game.level, "object", "TRANSMO_CHEST", true)
game.zone:addEntity(game.level, chest, "object", spot.x + 1, spot.y)
game.level.map:particleEmitter(spot.x, spot.y, 1, "demon_teleport")
game.player:setQuestStatus(self.id, self.COMPLETED, "transmo-chest")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment