Add chests, the beginnings of a machines API, and other things

This commit is contained in:
Signal 2025-10-22 18:25:22 -04:00
parent 3720070a28
commit 4d8312b79d
22 changed files with 557 additions and 16 deletions

View file

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