mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +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
|
||||
|
||||
|
||||
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")
|
||||
dofile(we_c.modpath.."/aliases.lua")
|
||||
|
||||
|
||||
--- Overrides to core WorldEdit commands
|
||||
|
Loading…
Reference in New Issue
Block a user