From 5a30fe40e30b20290ad349d5ec0a4eeb69569381 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 17 Jan 2017 19:57:20 -0700 Subject: Add "Doc" modpack support. Also fix up some bugs with crate marker entities, and make them show protected nodes. --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index e5193bd..71b54d5 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,7 @@ +digtron = {} + dofile( minetest.get_modpath( "digtron" ) .. "/util.lua" ) +dofile( minetest.get_modpath( "digtron" ) .. "/doc.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/class_pointset.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/class_layout.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/entities.lua" ) @@ -8,7 +11,7 @@ dofile( minetest.get_modpath( "digtron" ) .. "/node_diggers.lua" ) -- contains a dofile( minetest.get_modpath( "digtron" ) .. "/node_builders.lua" ) -- contains all builders (there's just one currently) dofile( minetest.get_modpath( "digtron" ) .. "/node_controllers.lua" ) -- controllers dofile( minetest.get_modpath( "digtron" ) .. "/node_axle.lua" ) -- Rotation controller -dofile( minetest.get_modpath( "digtron" ) .. "/crate.lua" ) -- Digtron portability support +dofile( minetest.get_modpath( "digtron" ) .. "/node_crate.lua" ) -- Digtron portability support dofile( minetest.get_modpath( "digtron" ) .. "/recipes.lua" ) digtron.creative_mode = false -- this causes digtrons to operate without consuming fuel or building materials. -- cgit v1.2.3