Add things
This commit is contained in:
parent
4d8312b79d
commit
00e1fd985d
28 changed files with 395 additions and 31 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue