mirror of
https://github.com/minetest-mods/digilines.git
synced 2025-03-28 07:10:24 +01:00
Update inventory.lua
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
parent
2ef5fe831d
commit
bcb4a972f2
@ -3,6 +3,16 @@ local S = digilines.S
|
|||||||
local pipeworks_enabled = minetest.get_modpath("pipeworks") ~= nil
|
local pipeworks_enabled = minetest.get_modpath("pipeworks") ~= nil
|
||||||
|
|
||||||
-- Messages which will be sent in a single batch
|
-- Messages which will be sent in a single batch
|
||||||
|
--[[
|
||||||
|
Table format:
|
||||||
|
{
|
||||||
|
[node pos hash] = {
|
||||||
|
messages = { msg1, msg2, ... }
|
||||||
|
timer = <job table from core.after()>
|
||||||
|
},
|
||||||
|
...
|
||||||
|
}
|
||||||
|
]]
|
||||||
local batches = {}
|
local batches = {}
|
||||||
-- Maximum interval from the previous message to include the current one into batch (in seconds)
|
-- Maximum interval from the previous message to include the current one into batch (in seconds)
|
||||||
local interval_to_batch = 0.1
|
local interval_to_batch = 0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user