Module:Crafting: Difference between revisions

m
Let's try this
m (FIX)
m (Let's try this)
Line 97: Line 97:
if hideTooltip then
if hideTooltip then
sprite:HideTooltip()
sprite:HideTooltip()
end
local enchanted = args['enchanted'] or args['Enchanted']
if enchanted then
sprite:SetEnchanted()
end
end


Line 121: Line 116:
local countSpan = parentDiv:tag("span"):wikitext(count)
local countSpan = parentDiv:tag("span"):wikitext(count)
countSpan:addClass("invslot-stacksize")
countSpan:addClass("invslot-stacksize")
end
local enchanted = args['enchanted'] or args['Enchanted']
if enchanted then
spriteDiv:addClass("enchanted")
end
end


Line 177: Line 178:
if hideTooltip then
if hideTooltip then
sprite:HideTooltip()
sprite:HideTooltip()
end
local enchanted = args['enchanted'] or args['Enchanted']
if enchanted then
sprite:addClass("enchanted")
end
end


Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits