Changes

Undoing until equippable consumables fixed
Line 214: Line 214:     
function EquipmentData:card()
 
function EquipmentData:card()
 +
    --[[
 
     if self._item or self._item_id then
 
     if self._item or self._item_id then
 
         return Formatting:item_card(self:asset_name())
 
         return Formatting:item_card(self:asset_name())
 
     end
 
     end
 +
    ]]
 
if self._card then
 
if self._card then
 
return self._card
 
return self._card
Line 289: Line 291:     
function EquipmentData:icon()
 
function EquipmentData:icon()
 +
    --[[
 
     if self._item or self._item_id then
 
     if self._item or self._item_id then
 
         return Formatting:item_card(self:asset_name())
 
         return Formatting:item_card(self:asset_name())
 
     end
 
     end
 +
    ]]
 
     if self._icon or self._icon == false then
 
     if self._icon or self._icon == false then
 
         return self._icon
 
         return self._icon
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,372

edits