summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-28 20:24:38 +0100
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-28 20:24:38 +0100
commit335061997ed8b16b43b297b103cf0787f30ccda4 (patch)
tree11e23a665cb9db1e798ad6eee27be9daafa091f4 /init.lua
parent01b21d49af04f9b3251c5edfb759995dc45d5110 (diff)
Initial config file
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index b81371a..3e78f31 100644
--- a/init.lua
+++ b/init.lua
@@ -14,6 +14,10 @@ minetest.register_alias("gold_locked_chest", "technic:gold_locked_chest")
minetest.register_alias("mithril_chest", "technic:mithril_chest")
minetest.register_alias("mithril_locked_chest", "technic:mithril_locked_chest")
+--Read technic config file
+dofile(minetest.get_modpath("technic").."/config.lua")
+
+
dofile(minetest.get_modpath("technic").."/concrete.lua")
dofile(minetest.get_modpath("technic").."/iron_chest.lua")
dofile(minetest.get_modpath("technic").."/copper_chest.lua")
@@ -47,7 +51,7 @@ dofile(minetest.get_modpath("technic").."/tree_tap.lua")
dofile(minetest.get_modpath("technic").."/flashlight.lua")
dofile(minetest.get_modpath("technic").."/cans.lua")
dofile(minetest.get_modpath("technic").."/chainsaw.lua")
-dofile(minetest.get_modpath("technic").."/item_drop.lua")
+if enable_item_drop then dofile(minetest.get_modpath("technic").."/item_drop.lua") end
function has_locked_chest_privilege(meta, player)