Add things

This commit is contained in:
Signal 2025-10-27 22:05:23 -04:00
parent 4d8312b79d
commit 00e1fd985d
28 changed files with 395 additions and 31 deletions

View file

@ -36,7 +36,24 @@ function say(msg)
minetest.chat_send_all("# Server: "..msg)
end
rgt = {}
rgt = {
horizontal_neighbor_offests = {
vector.new(0,0,1),
vector.new(0,0,-1),
vector.new(1,0,0),
vector.new(-1,0,0),
vector.new(1,0,1),
vector.new(1,0,-1),
vector.new(-1,0,1),
vector.new(-1,0,-1),
},
adjacent_horizontal_neighbor_offests = {
vector.new(0,0,1),
vector.new(0,0,-1),
vector.new(1,0,0),
vector.new(-1,0,0),
}
}
local ns = rgt
function ns.register_node(name, def)