Improve initial team chest items (#770)

This commit is contained in:
-sniper- 2021-01-31 17:33:57 +01:00 committed by GitHub
parent 33f507c28e
commit 6515f1e189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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