From 1ecb6964d9099d7314c3474c2a9c3caf8e6b40e6 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Wed, 4 Jan 2017 19:23:21 -0700 Subject: Builders no longer keep a real copy of the object they're "programmed" with. Also, add a "creative mode" configuration flag --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index ea3476b..cf843c2 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,14 @@ dofile( minetest.get_modpath( "digtron" ) .. "/util.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/pointset.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/entities.lua" ) - dofile( minetest.get_modpath( "digtron" ) .. "/node_misc.lua" ) -- contains inventory and structure nodes dofile( minetest.get_modpath( "digtron" ) .. "/node_diggers.lua" ) -- contains all diggers 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" ) .."/recipes.lua" ) +digtron.creative_mode = false + digtron.cycle_time = 1 -- How many seconds a digtron waits between cycles. Auto-controllers can make this wait longer, but cannot make it shorter. digtron.traction_factor = 3.0 -- How many digtron nodes can be moved for each adjacent solid node that the digtron has traction against -- cgit v1.2.3