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

better

git-svn-id: http://svn.net-core.org/repos/t-engine4@4687 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4bd8223e
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ function _M:newGame()
self.state = GameState.new{}
local birth_done = function()
if self.player.__allow_rod_recall then game.state:allowRodRecall(true) self.player.__allow_rod_recall = nil end
if self.player.__allow_transmo_chest and profile.mod.allow_build.transmo_chest then
if self.player.__allow_transmo_chest and profile.mod.allow_build.birth_transmo_chest then
self.player.__allow_transmo_chest = nil
local chest = game.zone:makeEntityByName(game.level, "object", "TRANSMO_CHEST")
if chest then
......@@ -1799,6 +1799,8 @@ function _M:countBirthUnlocks()
local nb = 0
local max = 0
local list = {
birth_transmo_chest = true,
campaign_infinite_dungeon = true,
campaign_arena = true,
......
......@@ -87,7 +87,7 @@ spawn_transmo_chest = function(self, energy)
game.level.map:particleEmitter(spot.x, spot.y, 1, "demon_teleport")
game.player:setQuestStatus(self.id, self.COMPLETED, "transmo-chest")
game:setAllowedBuild("transmo_chest", true)
game:setAllowedBuild("birth_transmo_chest", true)
end
gain_energy = function(self, energy)
......
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