mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-01 05:43:01 +00:00
Starbeamrainbowlabs
ffdd1b65b3
This is on the road to //orient and later stair/etc support in //rotate :D
32 lines
No EOL
340 B
Lua
32 lines
No EOL
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
|
|
} |