diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,7 @@ dofile( digtron_modpath .. "/class_layout.lua" ) dofile( digtron_modpath .. "/entities.lua" ) dofile( digtron_modpath .. "/nodes/node_misc.lua" ) -- contains structure and light nodes dofile( digtron_modpath .. "/nodes/node_storage.lua" ) -- contains inventory and fuel storage nodes +dofile( digtron_modpath .. "/nodes/node_battery_holder.lua" ) -- holds rechargeable batteries from the technic mod dofile( digtron_modpath .. "/nodes/node_diggers.lua" ) -- contains all diggers dofile( digtron_modpath .. "/nodes/node_builders.lua" ) -- contains all builders (there's just one currently) dofile( digtron_modpath .. "/nodes/node_controllers.lua" ) -- controllers @@ -47,6 +48,7 @@ dofile( digtron_modpath .. "/upgrades.lua" ) -- various LBMs for upgrading older -- 4 - builder head, has a "test_build" and "execute_build" method in its definition -- 5 - fuel-holding digtron, has a "fuel" invetory that the control node can draw fuel items from. Separate from general inventory, nothing gets put here automatically. -- 6 - holds both fuel and main inventories +-- 7 - holds batteries (RE Battery from technic) to provide clean renewable power -- This code was added for use with FaceDeer's fork of the [catacomb] mod. Paramat's version doesn't support customized protected nodes, which causes -- it to "eat" Digtrons sometimes. @@ -54,6 +56,7 @@ if minetest.get_modpath("catacomb") and catacomb ~= nil and catacomb.chamber_pro local digtron_nodes = { minetest.get_content_id("digtron:inventory"), minetest.get_content_id("digtron:fuelstore"), + minetest.get_content_id("digtron:battery_holder"), minetest.get_content_id("digtron:combined_storage"), minetest.get_content_id("digtron:axle"), minetest.get_content_id("digtron:builder"), |