Add a Defragment button to Milo #36

Merged
Luca0208 merged 10 commits from develop-1.8-milo-defrag into develop-1.8 2020-05-10 01:48:40 -04:00

10 Commits

Author SHA1 Message Date
Luca_S
ca808cdd7d No need to check if a key is contained, just index it doh 2020-05-09 20:42:44 +02:00
Luca_S
21b4d7a78c Set a default value for to.lockedToThis in the first iteration of the loop 2020-05-09 20:24:10 +02:00
Luca_S
94477e5d98 Add check that the slot is actually full 2020-05-04 23:26:05 +02:00
Luca_S
f6d67a61f3 Handle locked chests 2020-05-04 23:23:40 +02:00
Luca_S
db3c43f8c3 Wrap pushItems in pcall 2020-05-04 22:22:48 +02:00
Anavrins
1d1a770e4b Milo-Defrag: Notify how many slots were freed 2020-04-20 18:08:39 -04:00
Luca_S
2f187a196f defrag() now returns how many slots were saved 2020-04-20 22:47:23 +02:00
Anavrins
cedb807e89 Add throttling to defragger 2020-04-18 19:06:50 -04:00
Luca_S
ca0cb0dabb Add defrag button 2020-04-19 00:47:25 +02:00
Luca_S
95010cfc07 Add listItemsRaw(), listProviders() and defrag() to storage.lua
listItemsRaw provides a raw list of the items in all storage chests
listProviders provides a list of items and which chests contain them
defrag defragments the storage system
2020-04-19 00:45:33 +02:00