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

Sacrifice at the endgame will really kill the main player, not a copy

git-svn-id: http://svn.net-core.org/repos/t-engine4@5021 51575b47-30f0-44d4-a5cc-537603b46e54
parent ed1ea434
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ on_status_change = function(self, who, status, sub)
self:end_end_combat()
local Chat = require"engine.Chat"
local chat = Chat.new("sorcerer-end", {name="Endgame"}, game.player)
local chat = Chat.new("sorcerer-end", {name="Endgame"}, game:getPlayer(true))
chat:invoke()
end
end
......
......@@ -83,7 +83,7 @@ function _M:generateList()
self.c_list:drawItem(item)
end,}
local zone = Textzone.new{width=self.c_desc.w, height=self.c_desc.h, text=string.toTString"Forces the game to save each level instead of each zone.\nThis makes it save more often but the game will use less memory when deep in a dungeon.\n\n#LIGHT_RED#Changing this option will not affect already visited zones.#WHITE#"}
local zone = Textzone.new{width=self.c_desc.w, height=self.c_desc.h, text=string.toTString"Forces the game to save each level instead of each zone.\nThis makes it save more often but the game will use less memory when deep in a dungeon.\n\n#LIGHT_RED#Changing this option will not affect already visited zones.\n*THIS DOES NOT MAKE A FULL SAVE EACH LEVEL*.#WHITE#"}
list[#list+1] = { zone=zone, name=string.toTString"#GOLD##{bold}#Zone save per level#WHITE##{normal}#", status=function(item)
return tostring(config.settings.tome.save_zone_levels and "enabled" or "disabled")
end, fct=function(item)
......
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