Module:Crafting: Difference between revisions

Jump to navigation Jump to search
Change cauldron grid to dynamic grid
(Added Cauldron (temp name), 1*3 gui (will be variable size))
(Change cauldron grid to dynamic grid)
Line 35: Line 35:
end
end


-- Make a 1*3 crafting grid
-- Make a dynamic crafting grid
function p.Cauldron( f )
function p.Dynamic( f )
local args = f.args
local args = f.args
if #args == 0 then
if #args == 0 then
Line 42: Line 42:
end
end


return Grid(args, 3, 1)
return Grid(args, args['width'] or args['Width'], args['height'] or args['Height'])
end
end


Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits

Navigation menu