From 78cacdcbc632d36122d490b16f58aab6a64de7af Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Tue, 17 Dec 2013 19:15:20 -0500 Subject: Rewrite chests --- technic_chests/init.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'technic_chests/init.lua') diff --git a/technic_chests/init.lua b/technic_chests/init.lua index 1afbf54..6003054 100644 --- a/technic_chests/init.lua +++ b/technic_chests/init.lua @@ -2,12 +2,15 @@ -- namespace: technic -- (c) 2012-2013 by RealBadAngel -modpath=minetest.get_modpath("technic_chests") +modpath = minetest.get_modpath("technic_chests") --- chests -dofile(modpath.."/chest_commons.lua") +technic.chests = {} + +dofile(modpath.."/common.lua") +dofile(modpath.."/register.lua") dofile(modpath.."/iron_chest.lua") dofile(modpath.."/copper_chest.lua") dofile(modpath.."/silver_chest.lua") dofile(modpath.."/gold_chest.lua") dofile(modpath.."/mithril_chest.lua") + -- cgit v1.2.3