diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-04 19:23:21 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-04 19:23:21 -0700 |
commit | 1ecb6964d9099d7314c3474c2a9c3caf8e6b40e6 (patch) | |
tree | 5fe4398b125ae164bdb38eb707d9314c1205b9bd /init.lua | |
parent | d545593f273430cb31966d6eb63aa44a229b76ef (diff) |
Builders no longer keep a real copy of the object they're "programmed" with. Also, add a "creative mode" configuration flag
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |