Minetest-WorldEditAdditions/worldeditadditions_commands/aliases.lua

24 lines
1 KiB
Lua
Raw Normal View History

local wea_c = worldeditadditions_core
2022-05-16 19:33:04 +00:00
wea_c.register_alias("smoothadv", "convolve")
wea_c.register_alias("conv", "convolve")
2022-05-16 19:33:04 +00:00
wea_c.register_alias("naturalise", "layers")
wea_c.register_alias("naturalize", "layers")
wea_c.register_alias("flora", "bonemeal")
2022-05-16 19:33:04 +00:00
-- Measure Tools
wea_c.register_alias("mcount", "count")
wea_c.register_alias("mfacing", "mface")
--- Overrides to core WorldEdit commands
-- These are commented out for now, as they could be potentially dangerous to stability
-- Thorough testing is required of our replacement commands before these are uncommented
-- TODO: Depend on worldeditadditions_core before uncommenting this
-- BUG: //move+ seems to be leaving stuff behind for some strange reason --@sbrl 2021-12-26
-- worldeditadditions_core.alias_override("copy", "copy+")
-- worldeditadditions_core.alias_override("move", "move+") -- MAY have issues where it doesn't overwrite the old region properly, but haven't been able to reliably reproduce this
-- worldeditadditions_core.alias_override("replace", "replacemix")