2022-05-19 23:50:53 +02:00
|
|
|
local wea_c = worldeditadditions_core
|
2022-05-16 21:33:04 +02:00
|
|
|
|
2022-05-24 01:11:22 +02:00
|
|
|
|
2022-05-19 23:50:53 +02:00
|
|
|
wea_c.register_alias("smoothadv", "convolve")
|
|
|
|
wea_c.register_alias("conv", "convolve")
|
2022-05-16 21:33:04 +02:00
|
|
|
|
2022-05-19 23:50:53 +02:00
|
|
|
wea_c.register_alias("naturalise", "layers")
|
|
|
|
wea_c.register_alias("naturalize", "layers")
|
|
|
|
|
|
|
|
wea_c.register_alias("flora", "bonemeal")
|
2022-05-16 21:33:04 +02:00
|
|
|
|
|
|
|
-- Measure Tools
|
2022-05-19 23:50:53 +02:00
|
|
|
wea_c.register_alias("mcount", "count")
|
|
|
|
wea_c.register_alias("mfacing", "mface")
|
2022-05-16 22:21:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
--- 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
|
2022-05-24 01:11:22 +02:00
|
|
|
if minetest.settings:get_bool("worldeditadditions.override_commands", false) then
|
|
|
|
worldeditadditions_core.register_alias("copy", "copy+", true)
|
|
|
|
worldeditadditions_core.register_alias("move", "move+", true)
|
|
|
|
worldeditadditions_core.register_alias("replace", "replacemix", true)
|
|
|
|
end
|