mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-01 13:53:03 +00:00
32 lines
340 B
Lua
32 lines
340 B
Lua
|
|
||
|
---
|
||
|
-- @module worldeditadditions_core.param2
|
||
|
|
||
|
-- //set <nodename>
|
||
|
-- //set param2|p2 <param2>
|
||
|
|
||
|
|
||
|
local function param2_to_dir(param2_type, param2)
|
||
|
if param2_type == "" then
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
else
|
||
|
return nil
|
||
|
end
|
||
|
end
|
||
|
|
||
|
local function dir_to_param2(dir)
|
||
|
|
||
|
end
|
||
|
|
||
|
local function orient(param2, rotlist)
|
||
|
|
||
|
end
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
return {
|
||
|
orient = orient
|
||
|
}
|