Skip to content
Snippets Groups Projects
Commit 034e8930 authored by DarkGod's avatar DarkGod
Browse files

fixes

parent 5a23a615
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ function _M:init(errs, mod)
-- I like to fak'it fak'it !
self.__mod_info = mod
_G.game = self
UIBase.ui = "dark"
-- Force load definitions of UI to be able to display the error
for _, file in ipairs(fs.list("/data/gfx/ui/definitions")) do
......
......@@ -1703,9 +1703,10 @@ function _M:getTextualDesc(compare_with, use_actor)
if self.on_type then desc:add("Attach on item of type '", {"color","ORANGE"}, self.on_type, {"color", "LAST"}, "'", true) end
if self.on_slot then desc:add("Attach on item worn on slot '", {"color","ORANGE"}, self.on_slot:lower():gsub('_', ' '), {"color", "LAST"}, "'", true) end
if self.object_tinker and self.object_tinker.wielder then
if self.object_tinker and (self.object_tinker.combat or self.object_tinker.wielder) then
desc:add({"color","YELLOW"}, "When attach to an other item:", {"color", "LAST"}, true)
desc_wielder(self.object_tinker, compare_with, "wielder")
if self.object_tinker.combat then desc_combat(self.object_tinker, compare_with, "combat") end
if self.object_tinker.wielder then desc_wielder(self.object_tinker, compare_with, "wielder") end
end
end
......
* more varied ID levels
* RSS feed of events in a character's life, exportable to FB
* auto-leveling for beginners/lazy
* sleep => replace all talents with spcial dream talents, freeze all tmp effects
......
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