Changes

no edit summary
Line 213: Line 213:  
end
 
end
   −
function EquipmentData:card()
+
function EquipmentData:card(as_item)
     if self._item then
+
     if self._item or as_item and self._item_id then
 
         return Formatting:item_card(self:asset_name())
 
         return Formatting:item_card(self:asset_name())
 
     end
 
     end
Line 288: Line 288:  
end
 
end
   −
function EquipmentData:icon()
+
function EquipmentData:icon(as_item)
     if self._item then
+
     if self._item or as_item and self._item_id then
 
         return Formatting:item_card(self:asset_name())
 
         return Formatting:item_card(self:asset_name())
 
     end
 
     end
cssedit, gkautomate
7,064

edits