Reduce the waiting time for experience points

This commit is contained in:
Joachim Stolberg 2023-05-14 15:39:48 +02:00
parent 2d39171b1f
commit 125e5ad689

View File

@ -21,9 +21,9 @@ local getpos = techage.assemble.get_pos
local CYCLE_TIME = 2 local CYCLE_TIME = 2
local TNO_MAGNETS = 22 local TNO_MAGNETS = 22
local IMPROBABILITY = 60 -- every 60 min local IMPROBABILITY = 40 -- every 40 min
-- one point per 60 min: check every 20 s => factor = 60 * 3 = 180 -- one point per 40 min: check every 20 s => factor = 40 * 3 = 120
IMPROBABILITY = (minetest.settings:get("techage_expoint_rate_in_min") or 60) * 3 IMPROBABILITY = (minetest.settings:get("techage_expoint_rate_in_min") or 40) * 3
local TIME_SLOTS = 10 local TIME_SLOTS = 10
local Schedule = {[0] = local Schedule = {[0] =