Minetest-WorldEditAdditions/worldeditadditions_core/utils/param2.lua
Starbeamrainbowlabs ffdd1b65b3
Implement //set+
This is on the road to //orient and later stair/etc support in //rotate :D
2024-05-25 14:45:56 +01:00

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
}