From 10a7a61dc81f13562ed75c019806511504ece2ba Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 26 Jan 2018 22:54:39 +0000 Subject: [PATCH] Add sticks to team chest --- mods/ctf_team_base/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ctf_team_base/init.lua b/mods/ctf_team_base/init.lua index d1a0177..d6de4d6 100644 --- a/mods/ctf_team_base/init.lua +++ b/mods/ctf_team_base/init.lua @@ -145,7 +145,7 @@ end minetest.register_abm({ nodenames = {"group:team_chest"}, - interval = 2, -- Run every 10 seconds + interval = 10, -- Run every 10 seconds chance = 1, -- Select every 1 in 50 nodes action = function(pos, node, active_object_count, active_object_count_wider) local current_owner = assert(chest_name_to_team[node.name]) @@ -198,6 +198,7 @@ function ctf_team_base.place(color, pos) inv:add_item("main", ItemStack("default:cobble 99")) inv:add_item("main", ItemStack("default:cobble 99")) inv:add_item("main", ItemStack("default:wood 99")) + inv:add_item("main", ItemStack("default:stick 30")) inv:add_item("main", ItemStack("default:glass 5")) inv:add_item("main", ItemStack("default:torch 10")) end