diff --git a/shop.lua b/shop.lua index 63dad87..86def6a 100644 --- a/shop.lua +++ b/shop.lua @@ -128,6 +128,8 @@ core.register_node("emeraldbank:shop", { local meta = core.get_meta(pos) meta:set_string("infotext", S("Exchange shop (owned by @1)", owner)) meta:set_string("owner", owner) + meta:set_int("count", 10) -- default count + meta:set_int("price", 5) -- default price core.get_node_timer(pos):start(shop_timer) local inv = meta:get_inventory() inv:set_size("stock", stock_w*stock_h)