Module:Sprite: Difference between revisions

Add Gm4RPSprite, which changes only the icons, but keeps gm4 aliases
(comment out mask-image, mask-size, and mask-position, uncomment if we ever find out how to get cors to work, cry if not)
(Add Gm4RPSprite, which changes only the icons, but keeps gm4 aliases)
Line 21: Line 21:
gm4 = [[Module:Gm4Sprite]],
gm4 = [[Module:Gm4Sprite]],
effect = [[Module:EffectSprite]],
effect = [[Module:EffectSprite]],
trophy = [[Module:TrophySprite]]
trophy = [[Module:TrophySprite]],
gm4RP = [[Module:Gm4RPSprite]]
}
}


Line 131: Line 132:
function Sprite:setItem(item, type)
function Sprite:setItem(item, type)
     -- set aliases
     -- set aliases
     if type == "gm4" then
     if type == "gm4" or type == "gm4RP" then
         aliases = gm4Aliases
         aliases = gm4Aliases
elseif type == "effect" then
elseif type == "effect" then
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits