mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-23 23:53:44 +01:00
refactor aliases into a separate file
This commit is contained in:
parent
60c8f30109
commit
9d3a4ce263
11
worldeditadditions_commands/aliases.lua
Normal file
11
worldeditadditions_commands/aliases.lua
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
worldedit.alias_command("smoothadv", "convolve")
|
||||||
|
worldedit.alias_command("conv", "convolve")
|
||||||
|
|
||||||
|
worldedit.alias_command("naturalise", "layers")
|
||||||
|
worldedit.alias_command("naturalize", "layers")
|
||||||
|
|
||||||
|
worldedit.alias_command("flora", "bonemeal")
|
||||||
|
|
||||||
|
-- Measure Tools
|
||||||
|
worldedit.alias_command("mcount", "count")
|
||||||
|
worldedit.alias_command("mfacing", "mface")
|
@ -80,17 +80,7 @@ end
|
|||||||
-- end
|
-- end
|
||||||
|
|
||||||
|
|
||||||
worldedit.alias_command("smoothadv", "convolve")
|
dofile(we_c.modpath.."/aliases.lua")
|
||||||
worldedit.alias_command("conv", "convolve")
|
|
||||||
|
|
||||||
worldedit.alias_command("naturalise", "layers")
|
|
||||||
worldedit.alias_command("naturalize", "layers")
|
|
||||||
|
|
||||||
worldedit.alias_command("flora", "bonemeal")
|
|
||||||
|
|
||||||
-- Measure Tools
|
|
||||||
worldedit.alias_command("mcount", "count")
|
|
||||||
worldedit.alias_command("mfacing", "mface")
|
|
||||||
|
|
||||||
|
|
||||||
--- Overrides to core WorldEdit commands
|
--- Overrides to core WorldEdit commands
|
||||||
|
Loading…
Reference in New Issue
Block a user