Skip to content
Snippets Groups Projects
Commit 08e097c8 authored by DarkGod's avatar DarkGod
Browse files

fixed uiset on boot

parent 3c7086d1
No related branches found
No related tags found
No related merge requests found
...@@ -1669,6 +1669,8 @@ function _M:setupCommands() ...@@ -1669,6 +1669,8 @@ function _M:setupCommands()
print("===============") print("===============")
end end, end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then [{"_g","ctrl"}] = function() if config.settings.cheat then
DamageType:get(DamageType.NATURE).projector(self.player, self.player.x, self.player.y, DamageType.NATURE, 100)
do return end
self:changeLevel(6, "orcs+palace-fumes") self:changeLevel(6, "orcs+palace-fumes")
do return end do return end
local o = game.zone:makeEntity(game.level, "object", {subtype="steamsaw", random_object=true}, nil, true) local o = game.zone:makeEntity(game.level, "object", {subtype="steamsaw", random_object=true}, nil, true)
......
...@@ -163,7 +163,7 @@ function _M:generateListUi() ...@@ -163,7 +163,7 @@ function _M:generateListUi()
end) end)
end,} end,}
if game.uiset:checkGameOption("log_lines") then if self:isTome() and game.uiset:checkGameOption("log_lines") then
local zone = Textzone.new{width=self.c_desc.w, height=self.c_desc.h, text=string.toTString"The number of lines to display in the combat log (for the Classic HUD)."} local zone = Textzone.new{width=self.c_desc.w, height=self.c_desc.h, text=string.toTString"The number of lines to display in the combat log (for the Classic HUD)."}
list[#list+1] = { zone=zone, name=string.toTString"#GOLD##{bold}#Log lines#WHITE##{normal}#", status=function(item) list[#list+1] = { zone=zone, name=string.toTString"#GOLD##{bold}#Log lines#WHITE##{normal}#", status=function(item)
return tostring(config.settings.tome.log_lines) return tostring(config.settings.tome.log_lines)
......
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