From 6515f1e189a8d6c21dfcbd4823cc3fdae65c6c0b Mon Sep 17 00:00:00 2001 From: -sniper- <47271658+JostP@users.noreply.github.com> Date: Sun, 31 Jan 2021 17:33:57 +0100 Subject: [PATCH] Improve initial team chest items (#770) --- mods/ctf/ctf_map/ctf_map_core/base.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ctf/ctf_map/ctf_map_core/base.lua b/mods/ctf/ctf_map/ctf_map_core/base.lua index b431168..dce97e8 100644 --- a/mods/ctf/ctf_map/ctf_map_core/base.lua +++ b/mods/ctf/ctf_map/ctf_map_core/base.lua @@ -34,12 +34,13 @@ function ctf_map.place_base(color, pos) minetest.set_node(pos3, chest) local inv = minetest.get_meta(pos3):get_inventory() inv:add_item("main", ItemStack("default:cobble 99")) - inv:add_item("main", ItemStack("default:cobble 99")) - inv:add_item("main", ItemStack("default:cobble 99")) + inv:add_item("main", ItemStack("ctf_map:reinforced_cobble 50")) + inv:add_item("main", ItemStack("ctf_traps:damage_cobble 40")) 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")) + inv:add_item("main", ItemStack("doors:door_steel 2")) end -- Override ctf.get_spawn to implement random spawns