Module:Crafting: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 85: Line 85:


     local name = args['name'] or args['Name'] or args['title'] or args['Title']
     local name = args['name'] or args['Name'] or args['title'] or args['Title']
     if name.len() ~= 0 then
     if #name ~= 0 then
         sprite:SetTitle(name)
         sprite:SetTitle(name)
     end
     end


     local lore = args['lore'] or args['Lore'] or args['text'] or args['Text']
     local lore = args['lore'] or args['Lore'] or args['text'] or args['Text']
     if lore.len() ~= 0 then
     if #lore ~= 0 then
         sprite:SetLore(lore)
         sprite:SetLore(lore)
     end
     end
Line 155: Line 155:


     local name = args['name'] or args['Name'] or args['title'] or args['Title']
     local name = args['name'] or args['Name'] or args['title'] or args['Title']
     if name.len() ~= 0 then
     if #name ~= 0 then
         sprite:SetTitle(name)
         sprite:SetTitle(name)
     end
     end


     local lore = args['lore'] or args['Lore'] or args['text'] or args['Text']
     local lore = args['lore'] or args['Lore'] or args['text'] or args['Text']
     if lore.len() ~= 0 then
     if #lore ~= 0 then
         sprite:SetLore(lore)
         sprite:SetLore(lore)
     end
     end
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits

Navigation menu