mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-22 23:00:22 +01:00
Merge branch 'pandorabox' of github.com:pandorabox-io/technic into pandorabox
This commit is contained in:
commit
5e8c450f0a
@ -41,7 +41,7 @@ minetest.register_globalstep(function(dtime)
|
||||
quota_map = {}
|
||||
|
||||
-- this many blocks per second
|
||||
local init_quota = minetest.settings:get("technic.quarry.quota") or 10
|
||||
local init_quota = minetest.settings:get("technic.quarry.quota") or 5
|
||||
|
||||
local players = minetest.get_connected_players()
|
||||
for i, player in pairs(players) do
|
||||
|
@ -251,7 +251,7 @@ minetest.register_chatcommand("powerctrl", {
|
||||
local check_timer = function(pos, meta, diff)
|
||||
if diff > 500000 then
|
||||
minetest.log("warning", "[technic] disabling switching station @ " .. minetest.pos_to_string(pos))
|
||||
meta:set_int("overload", 30)
|
||||
meta:set_int("overload", 300)
|
||||
meta:set_int("active", 0)
|
||||
meta:set_string("infotext", "Overload detected!")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user