From 253ff1281571b888cfbfeb1a719eb98a1b5b98de Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Thu, 5 Jan 2017 20:38:08 -0700 Subject: add lava and water alerts, and an option for setting lava impassible (true by default) --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index fc18dc6..1576130 100644 --- a/init.lua +++ b/init.lua @@ -7,8 +7,9 @@ dofile( minetest.get_modpath( "digtron" ) .. "/node_builders.lua" ) -- contains dofile( minetest.get_modpath( "digtron" ) .. "/node_controllers.lua" ) -- controllers dofile( minetest.get_modpath( "digtron" ) .."/recipes.lua" ) -digtron.creative_mode = false -digtron.particle_effects = true +digtron.creative_mode = false -- this causes digtrons to operate without consuming fuel or building materials. +digtron.particle_effects = true -- Enables the spray of particles out the back of a digger head +digtron.lava_impassible = true -- when true, lava counts as protected nodes. 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