bump switching station timeout to 1800 seconds (half an hour)

This commit is contained in:
BuckarooBanzay 2020-06-19 07:54:02 +02:00
parent c7e0c153bf
commit fd18c6ce96
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ Recommended mods that build on the `technic mod`:
* **technic.quarry.quota.limit** per-player and second quarry dig limit (default: 10)
* **technic.quarry.maxdepth** max depth of the quarry (default: 100)
* **technic.switch_max_range** max cable length (default: 256)
* **technic.switch.off_delay_seconds** switching station off delay (default: 300 seconds)
* **technic.switch.off_delay_seconds** switching station off delay (default: 1800 seconds)
* **technic.radiation.enable_throttling** enable lag- and per-second-trottling of radiation damage
# Chat commands

View File

@ -74,7 +74,7 @@ minetest.register_globalstep(function(dtime)
local now = minetest.get_us_time()
local off_delay_seconds = tonumber(minetest.settings:get("technic.switch.off_delay_seconds") or "300")
local off_delay_seconds = tonumber(minetest.settings:get("technic.switch.off_delay_seconds") or "1800")
local off_delay_micros = off_delay_seconds*1000*1000
local active_switches = 0