Baseless/helpers/CreateItemWithInventory.lua

12 lines
183 B
Lua

function CreateItemWithInventory (type, prototype)
return CreateItemWithLabel(
type,
MergeTables(
prototype,
{
inventory_size = 0,
}
)
)
end