summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua21
1 files changed, 10 insertions, 11 deletions
diff --git a/init.lua b/init.lua
index 2a38a3f..b0d0cf1 100644
--- a/init.lua
+++ b/init.lua
@@ -1,22 +1,21 @@
-local modpath = minetest.get_modpath("minetest_errata")
-
minetest_errata = {}
minetest_errata.prefix = "me_"
+minetest_errata.modpath = minetest.get_modpath("minetest_errata")
-dofile(modpath.."/books.lua")
+dofile(minetest_errata.modpath.."/books.lua")
-dofile(modpath.."/doors.lua")
+dofile(minetest_errata.modpath.."/doors.lua")
-dofile(modpath.."/sandstone_cobble.lua")
+dofile(minetest_errata.modpath.."/sandstone_cobble.lua")
-dofile(modpath.."/flint_block.lua")
+dofile(minetest_errata.modpath.."/flint_block.lua")
-dofile(modpath.."/missing_groups.lua")
+dofile(minetest_errata.modpath.."/missing_groups.lua")
-dofile(modpath.."/xpanes.lua")
+dofile(minetest_errata.modpath.."/xpanes.lua")
-dofile(modpath.."/glass_panes.lua")
+dofile(minetest_errata.modpath.."/glass_panes.lua")
-dofile(modpath.."/mossy_blocks.lua")
+dofile(minetest_errata.modpath.."/mossy_blocks.lua")
-dofile(modpath.."/shelves.lua") \ No newline at end of file
+dofile(minetest_errata.modpath.."/shelves.lua") \ No newline at end of file