Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(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 | -- Make a dynamic crafting grid | ||
function p. | 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, | return Grid(args, args['width'] or args['Width'], args['height'] or args['Height']) | ||
end | end | ||
edits