mirror of
https://github.com/minetest-mods/digilines.git
synced 2025-01-11 18:30:20 +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
|
||||
|
||||
-- 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 = {}
|
||||
-- Maximum interval from the previous message to include the current one into batch (in seconds)
|
||||
local interval_to_batch = 0.1
|
||||
|
Loading…
Reference in New Issue
Block a user