Skip to content

Commit

Permalink
Update inventory.lua
Browse files Browse the repository at this point in the history
Co-authored-by: SmallJoker <[email protected]>
  • Loading branch information
andriyndev and SmallJoker authored Oct 20, 2024
1 parent 2ef5fe8 commit bcb4a97
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions inventory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcb4a97

Please sign in to comment.