summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-11-20 14:43:07 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-11-20 14:43:07 +0300
commit5d8cdf692baf9a88aaab82e6c9d67b70dade4401 (patch)
treee8a9e850af12834e70268c9ec5955531db28f4bb /init.lua
parentb0f073a6a792a03d09c6d75deac28c559af2796c (diff)
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