From 9420be389624b87cf2887c4d0bd4fef73d0f7a95 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Sun, 18 Jul 2021 19:24:57 -0700 Subject: [PATCH] untangle init.lua --- worldeditadditions/init.lua | 57 ++----------------------------------- 1 file changed, 2 insertions(+), 55 deletions(-) diff --git a/worldeditadditions/init.lua b/worldeditadditions/init.lua index e118c9f..5672e41 100644 --- a/worldeditadditions/init.lua +++ b/worldeditadditions/init.lua @@ -6,64 +6,11 @@ -- @author Starbeamrainbowlabs worldeditadditions = {} -worldeditadditions.modpath = minetest.get_modpath("worldeditadditions") -dofile(worldeditadditions.modpath.."/utils/vector.lua") -worldeditadditions.Set = dofile(worldeditadditions.modpath.."/utils/set.lua") -worldeditadditions.Vector3 = dofile(worldeditadditions.modpath.."/utils/vector3.lua") -worldeditadditions.Mesh, -worldeditadditions.Face = dofile(worldeditadditions.modpath.."/utils/mesh.lua") - -worldeditadditions.Queue = dofile(worldeditadditions.modpath.."/utils/queue.lua") -worldeditadditions.LRU = dofile(worldeditadditions.modpath.."/utils/lru.lua") - - -dofile(worldeditadditions.modpath.."/utils/strings/init.lua") -dofile(worldeditadditions.modpath.."/utils/format/init.lua") -dofile(worldeditadditions.modpath.."/utils/parse/init.lua") -dofile(worldeditadditions.modpath.."/utils/tables/init.lua") - -dofile(worldeditadditions.modpath.."/utils/numbers.lua") -dofile(worldeditadditions.modpath.."/utils/nodes.lua") -dofile(worldeditadditions.modpath.."/utils/node_identification.lua") -dofile(worldeditadditions.modpath.."/utils/terrain.lua") -dofile(worldeditadditions.modpath.."/utils/raycast_adv.lua") -- For the farwand -dofile(worldeditadditions.modpath.."/utils/axes.lua") - -dofile(worldeditadditions.modpath.."/lib/compat/saplingnames.lua") - -dofile(worldeditadditions.modpath.."/lib/floodfill.lua") -dofile(worldeditadditions.modpath.."/lib/overlay.lua") -dofile(worldeditadditions.modpath.."/lib/layers.lua") -dofile(worldeditadditions.modpath.."/lib/fillcaves.lua") -dofile(worldeditadditions.modpath.."/lib/ellipsoid.lua") -dofile(worldeditadditions.modpath.."/lib/torus.lua") -dofile(worldeditadditions.modpath.."/lib/line.lua") -dofile(worldeditadditions.modpath.."/lib/walls.lua") -dofile(worldeditadditions.modpath.."/lib/replacemix.lua") -dofile(worldeditadditions.modpath.."/lib/maze2d.lua") -dofile(worldeditadditions.modpath.."/lib/maze3d.lua") -dofile(worldeditadditions.modpath.."/lib/hollow.lua") -dofile(worldeditadditions.modpath.."/lib/scale_up.lua") -dofile(worldeditadditions.modpath.."/lib/scale_down.lua") -dofile(worldeditadditions.modpath.."/lib/scale.lua") -dofile(worldeditadditions.modpath.."/lib/conv/conv.lua") -dofile(worldeditadditions.modpath.."/lib/erode/erode.lua") -dofile(worldeditadditions.modpath.."/lib/noise/init.lua") - -dofile(worldeditadditions.modpath.."/lib/count.lua") - -dofile(worldeditadditions.modpath.."/lib/bonemeal.lua") -dofile(worldeditadditions.modpath.."/lib/forest.lua") - -dofile(worldeditadditions.modpath.."/lib/ellipsoidapply.lua") -dofile(worldeditadditions.modpath.."/lib/airapply.lua") - -dofile(worldeditadditions.modpath.."/lib/subdivide.lua") -dofile(worldeditadditions.modpath.."/lib/selection/stack.lua") -dofile(worldeditadditions.modpath.."/lib/selection/cloud.lua") local wea = worldeditadditions wea.modpath = minetest.get_modpath("worldeditadditions") +wea.Set = dofile(wea.modpath.."/utils/set.lua") + wea.Vector3 = dofile(wea.modpath.."/utils/vector3.lua") wea.Mesh, wea.Face = dofile(wea.modpath.."/utils/mesh.lua")