Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Actually added override code I meant to have already added
(Changed how icon overrides work to make adding more cleaner)
(Actually added override code I meant to have already added)
Line 73: Line 73:
   if extOverrides[img] ~= nil then  
   if extOverrides[img] ~= nil then  
     ext = extOverrides[img]  
     ext = extOverrides[img]  
  end
  if typeOverrides[type] ~= nil then
    type = typeOverrides[type]
   end
   end
   --There are a couple specific double overrides I want to include that don't fit in the above lists
   --There are a couple specific double overrides I want to include that don't fit in the above lists