Fix ability to use builtin inventory lists to store items between matches or craft
This commit is contained in:
parent
bf9ae1a75a
commit
0430aabdb0
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ setmetatable(give_initial_stuff, {
|
||||||
inv:set_list("main", {})
|
inv:set_list("main", {})
|
||||||
inv:set_list("craft", {})
|
inv:set_list("craft", {})
|
||||||
|
|
||||||
|
inv:set_size("craft", 1)
|
||||||
|
inv:set_size("craftresult", 0)
|
||||||
|
inv:set_size("hand", 0)
|
||||||
|
|
||||||
local items = give_initial_stuff.get_stuff()
|
local items = give_initial_stuff.get_stuff()
|
||||||
|
|
||||||
for _, item in pairs(items) do
|
for _, item in pairs(items) do
|
||||||
|
|
Loading…
Reference in a new issue