diff options
author | ShadowNinja <noreply@gmail.com> | 2013-07-07 01:44:33 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-07-07 01:49:11 -0400 |
commit | ae8ff4b8e2da35265ebbbe7afe99ed29e61efa7d (patch) | |
tree | efa3e6a19b16e829a8402c798cbce6aae7793ed9 /builtin/builtin.lua | |
parent | d22baa88edcdba21881310d0f5b728074c4c8876 (diff) | |
download | minetest-ae8ff4b8e2da35265ebbbe7afe99ed29e61efa7d.tar.gz minetest-ae8ff4b8e2da35265ebbbe7afe99ed29e61efa7d.tar.bz2 minetest-ae8ff4b8e2da35265ebbbe7afe99ed29e61efa7d.zip |
Add vector helpers
Diffstat (limited to 'builtin/builtin.lua')
-rw-r--r-- | builtin/builtin.lua | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/builtin/builtin.lua b/builtin/builtin.lua index d573cba90..34477e6aa 100644 --- a/builtin/builtin.lua +++ b/builtin/builtin.lua @@ -11,18 +11,20 @@ math.randomseed(os.time()) os.setlocale("C", "numeric") -- Load other files -dofile(minetest.get_modpath("__builtin").."/serialize.lua") -dofile(minetest.get_modpath("__builtin").."/misc_helpers.lua") -dofile(minetest.get_modpath("__builtin").."/item.lua") -dofile(minetest.get_modpath("__builtin").."/misc_register.lua") -dofile(minetest.get_modpath("__builtin").."/item_entity.lua") -dofile(minetest.get_modpath("__builtin").."/deprecated.lua") -dofile(minetest.get_modpath("__builtin").."/misc.lua") -dofile(minetest.get_modpath("__builtin").."/privileges.lua") -dofile(minetest.get_modpath("__builtin").."/auth.lua") -dofile(minetest.get_modpath("__builtin").."/chatcommands.lua") -dofile(minetest.get_modpath("__builtin").."/static_spawn.lua") -dofile(minetest.get_modpath("__builtin").."/detached_inventory.lua") -dofile(minetest.get_modpath("__builtin").."/falling.lua") -dofile(minetest.get_modpath("__builtin").."/features.lua") -dofile(minetest.get_modpath("__builtin").."/voxelarea.lua") +local modpath = minetest.get_modpath("__builtin") +dofile(modpath.."/serialize.lua") +dofile(modpath.."/misc_helpers.lua") +dofile(modpath.."/item.lua") +dofile(modpath.."/misc_register.lua") +dofile(modpath.."/item_entity.lua") +dofile(modpath.."/deprecated.lua") +dofile(modpath.."/misc.lua") +dofile(modpath.."/privileges.lua") +dofile(modpath.."/auth.lua") +dofile(modpath.."/chatcommands.lua") +dofile(modpath.."/static_spawn.lua") +dofile(modpath.."/detached_inventory.lua") +dofile(modpath.."/falling.lua") +dofile(modpath.."/features.lua") +dofile(modpath.."/voxelarea.lua") +dofile(modpath.."/vector.lua") |