mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-22 23:00:22 +01:00
bump switching station timeout to 1800 seconds (half an hour)
This commit is contained in:
parent
c7e0c153bf
commit
fd18c6ce96
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user