Skip to content
Snippets Groups Projects
Commit 8cbd496b authored by DarkGod's avatar DarkGod
Browse files

fix

parent 759e87ff
No related branches found
No related tags found
No related merge requests found
......@@ -1700,7 +1700,13 @@ function _M:getTextualDesc(compare_with, use_actor)
end
if self.is_tinker then
if self.on_type then desc:add("Attach on item of type '", {"color","ORANGE"}, self.on_type, {"color", "LAST"}, "'", true) end
if self.on_type then
if self.on_subtype then
desc:add("Attach on item of type '", {"color","ORANGE"}, self.on_type, " / ", self.on_subtype, {"color", "LAST"}, "'", true)
else
desc:add("Attach on item of type '", {"color","ORANGE"}, self.on_type, {"color", "LAST"}, "'", true)
end
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.combat or self.object_tinker.wielder) then
......
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