Changes
no edit summary
local equipment_slot = self._equipment[slot]
local equipment_slot = self._equipment[slot]
if not equipment_slot then
if not equipment_slot then
return not raw and "- Locked -" or nil
return not raw and "" or nil
end
end
local equipment = equipment_slot["equipment"]
local equipment = equipment_slot["equipment"]
return "??"
return "??"
elseif equipment == false then
elseif equipment == false then
return self.format_image("Xx_c.png")
return self:format_image("Xx_c.png")
else
else
return equipment:icon()
return equipment:icon()