Module:InventorySlot: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (local function)
mNo edit summary
Line 232: Line 232:
end
end


-- uh, figure this out then update makeItem
-- uhh
--local frames
local frames
--if args.parsed then
if args.parsed then
-- frames = args[1]
frames = args[1]
--end
end
Line 251: Line 251:


-- Figure out cycling here
-- Figure out cycling here
-- until then, just use args instead of frame,i,args
for i, frame in ipairs( frames ) do
local item = makeItem(args)
local item
-- how?
item = makeItem( frame, i, args)
body:node( item )


if i == activeFrame and animated then
item:addClass( 'animated-active' )
end
end
return tostring( body )
end
end


return UISlot
return UISlot
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,633

edits

Navigation menu