I donated everything in the inventory. As it turned out later there were 12,428 items of 453 types. And got CTD. In log dumping stack.
I tried to donate in small portions. But after closing the inventory, I could press Donate again. And again, and again, ... And got CTD. In log dumping stack.
I tried doing the same after receiving the message about settlers happy with donations. And again, and again, ... And got CTD. In log dumping stack.
I decompiled CitySupplies.pex and added BlockActivation.
I donated everything in the inventory. Sometimes CTD. Sometimes no CTD, but in log dumping stack. Sorting of inventory took more than 30 minutes.
I changed a lot in the script and here is the result
Now I can donate everything in the inventory. No CTD. No dumping stack in log. Message about happy settlers after sorting all items. Sorting of 12,428 items of 453 types took less than 10 minutes.
If anyone wants to test this file you can install it as a mod.
I tried to donate in small portions. But after closing the inventory, I could press Donate again. And again, and again, ... And got CTD. In log dumping stack.
I tried doing the same after receiving the message about settlers happy with donations. And again, and again, ... And got CTD. In log dumping stack.
I decompiled CitySupplies.pex and added BlockActivation.
I donated everything in the inventory. Sometimes CTD. Sometimes no CTD, but in log dumping stack. Sorting of inventory took more than 30 minutes.
I changed a lot in the script and here is the result
Now I can donate everything in the inventory. No CTD. No dumping stack in log. Message about happy settlers after sorting all items. Sorting of 12,428 items of 453 types took less than 10 minutes.
If anyone wants to test this file you can install it as a mod.