diff --git a/inventory.lua b/inventory.lua index 8cbd36f..2ffeed0 100644 --- a/inventory.lua +++ b/inventory.lua @@ -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 = + }, + ... +} +]] local batches = {} -- Maximum interval from the previous message to include the current one into batch (in seconds) local interval_to_batch = 0.1