refactor s-tool init

This commit is contained in:
VorTechnix 2021-06-28 20:17:43 -07:00
parent 442cb8a8d8
commit 71fb8da089

View file

@ -6,17 +6,16 @@
-- Chat commands that operate on selections.
local we_c = worldeditadditions_commands
we_c.modpath = minetest.get_modpath("worldeditadditions_commands")
local we_cm = worldeditadditions_commands.modpath .. "/commands/selectors/"
dofile(we_c.modpath.."/commands/selectors/srel.lua")
dofile(we_c.modpath.."/commands/selectors/scentre.lua")
dofile(we_c.modpath.."/commands/selectors/scloud.lua")
dofile(we_c.modpath.."/commands/selectors/scol.lua")
dofile(we_c.modpath.."/commands/selectors/scube.lua")
dofile(we_c.modpath.."/commands/selectors/sfactor.lua")
dofile(we_c.modpath.."/commands/selectors/smake.lua")
dofile(we_c.modpath.."/commands/selectors/spop.lua")
dofile(we_c.modpath.."/commands/selectors/spush.lua")
dofile(we_c.modpath.."/commands/selectors/srect.lua")
dofile(we_c.modpath.."/commands/selectors/sstack.lua")
dofile(we_cm.."srel.lua")
dofile(we_cm.."scentre.lua")
dofile(we_cm.."scloud.lua")
dofile(we_cm.."scol.lua")
dofile(we_cm.."scube.lua")
dofile(we_cm.."sfactor.lua")
dofile(we_cm.."smake.lua")
dofile(we_cm.."spop.lua")
dofile(we_cm.."spush.lua")
dofile(we_cm.."srect.lua")
dofile(we_cm.."sstack.lua")