Change indexing message

This commit is contained in:
osmarks 2018-07-27 11:51:28 +01:00
parent 301a6bb00d
commit 950db4b0e3

View File

@ -45,17 +45,18 @@ local function update_index_for(name)
end end
index[name] = data index[name] = data
print("Indexed", n)
end end
-- Reindex all connected inventories -- Reindex all connected inventories
local function update_index() local function update_index()
print "Indexing started." print "Full indexing started."
for n in pairs(inventories) do for n in pairs(inventories) do
update_index_for(n) update_index_for(n)
print("Indexed", n)
sleep() sleep()
end end
print "Indexing complete." print "Full indexing complete."
end end
-- Finds all items matching a certain predicate. -- Finds all items matching a certain predicate.