Add chests, the beginnings of a machines API, and other things
This commit is contained in:
parent
3720070a28
commit
4d8312b79d
22 changed files with 557 additions and 16 deletions
|
|
@ -224,6 +224,11 @@ function ns.place_plot(grid, pos, plot, owner, rot)
|
|||
|
||||
local def = ns.plots[plot]
|
||||
|
||||
-- Erase all preexisting node metadata.
|
||||
for _, pos in ipairs(minetest.find_nodes_with_meta(box.min, box.max)) do
|
||||
minetest.remove_node(pos)
|
||||
end
|
||||
|
||||
minetest.place_schematic(dst, def.schematic, rot, repl, true, {})
|
||||
|
||||
local p, gp, m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue