Module:Crafting
Implements {{Template:Crafting}}
Dependency
See Also
- Template:Crafting
- Template:CraftingCatalyst
- Template:CraftingCell
- Template:CraftingGrid
- Template:CraftingHopper
p = {}
local slot = require([[Module:InventorySlot]])
function p.Grid( f )
local args = f.args
if #args == 0 then
args = f:getParent().args
end
return slot.Call(args, 3, 3)
end
function p.Cell( f )
local args = f.args
if #args == 0 then
args = f:getParent().args
end
return slot.Call(args, 1, 1)
end
function p.Hopper( f )
local args = f.args
if #args == 0 then
args = f:getParent().args
end
return slot.Call(args, 5, 1)
end
return p