summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-17 19:57:20 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-17 19:57:20 -0700
commit5a30fe40e30b20290ad349d5ec0a4eeb69569381 (patch)
tree0cb1d7a6efe53b935e03f07b99e0edd43aff0cce /init.lua
parenta3a1402e1b9ef6578375b07654a1c25765104955 (diff)
Add "Doc" modpack support. Also fix up some bugs with crate marker entities, and make them show protected nodes.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 4 insertions, 1 deletions
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.