power cell generator: cell generation time changed from 20 to 19 ( 19 is prime number )

This commit is contained in:
rnd1 2016-06-09 19:29:23 +02:00
parent 0ebfc123b6
commit 2eeaaa2f68
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ local machines_minstep = 1 -- minimal allowed activation timestep, if faster mac
local max_range = 10; -- machines normal range of operation
local machines_operations = 10; -- 1 coal will provide 10 mover basic operations ( moving dirt 1 block distance)
local machines_TTL = 16; -- time to live for signals, how many hops before signal dissipates
basic_machines.version = "06/07/2016a";
basic_machines.version = "06/09/2016a";
basic_machines.clockgen = 1; -- if 0 all background continuously running activity (clockgen/keypad) repeating is disabled
-- how hard it is to move blocks, default factor 1, note fuel cost is this multiplied by distance and divided by machine_operations..

View File

@ -355,7 +355,7 @@ minetest.register_node("basic_machines:generator", {
minetest.register_abm({
nodenames = {"basic_machines:generator"},
neighbors = {""},
interval = 20,
interval = 19,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local meta = minetest.get_meta(pos);