Improve initial team chest items (#770)
This commit is contained in:
parent
33f507c28e
commit
6515f1e189
1 changed files with 3 additions and 2 deletions
|
@ -34,12 +34,13 @@ function ctf_map.place_base(color, pos)
|
||||||
minetest.set_node(pos3, chest)
|
minetest.set_node(pos3, chest)
|
||||||
local inv = minetest.get_meta(pos3):get_inventory()
|
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("default:cobble 99"))
|
inv:add_item("main", ItemStack("ctf_traps:damage_cobble 40"))
|
||||||
inv:add_item("main", ItemStack("default:wood 99"))
|
inv:add_item("main", ItemStack("default:wood 99"))
|
||||||
inv:add_item("main", ItemStack("default:stick 30"))
|
inv:add_item("main", ItemStack("default:stick 30"))
|
||||||
inv:add_item("main", ItemStack("default:glass 5"))
|
inv:add_item("main", ItemStack("default:glass 5"))
|
||||||
inv:add_item("main", ItemStack("default:torch 10"))
|
inv:add_item("main", ItemStack("default:torch 10"))
|
||||||
|
inv:add_item("main", ItemStack("doors:door_steel 2"))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Override ctf.get_spawn to implement random spawns
|
-- Override ctf.get_spawn to implement random spawns
|
||||||
|
|
Loading…
Reference in a new issue