Changes

no edit summary
Line 18: Line 18:  
     local image = args.image
 
     local image = args.image
 
     local icon = args.icon
 
     local icon = args.icon
 +
    local size = args.size
    
     local cards = {}
 
     local cards = {}
 
     for _, arg in ipairs(args) do
 
     for _, arg in ipairs(args) do
         table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size = "260px" }))
+
         table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size = size or "160px" }))
 
     end
 
     end
    
     local formatted_image
 
     local formatted_image
 
         = image
 
         = image
         and EquipmentCardKai:Asset({ name, size = image, link = link or name })
+
         and EquipmentCardKai:Asset({ name, size = image == "true" and "50px" or image, link = link or name })
 
         or ""
 
         or ""
  
cssedit, gkautomate
7,064

edits