Page 1 of 1
[0.9.4] logistic brings from passive chest to storage
Posted: Fri Mar 21, 2014 7:55 pm
by LoSboccacc
I changed the startup script to convert my provider chest in passive provider chests, as I didn't want my storage to fill up with junk
after start the conversion happened, but logistic bots insist in moving stuff from the chest to the storage area
save at
https://www.dropbox.com/s/r4xwbamh924stdh/0.zip
Re: [0.9.4] logistic brings from passive chest to storage
Posted: Sat Mar 22, 2014 10:28 am
by slpwnd
Hmmm this is a problem with the migrations. The thing is that the migration only changes the name of the entity (from provider chest to passive provider chest, because they are of the same type), but it doesn't migrate the properties properly. For instance the chest will stay in internal lists for the logistic systems. We will have a look at this for 0.9.5 as this is a general problem and could cause confusion also for modders.
For now you cannot use migration to passive provider chest (the migration to active provider chest works fine because it is the same type of object). Either you can rebuild the entities manually or write a lua code in your control.lua that will iterate through all the entities in the given bounding box and if they are active provider chests it will destroy them and build a passive provider chest instead.
Re: [0.9.4] logistic brings from passive chest to storage
Posted: Sun Mar 23, 2014 10:33 am
by kovarex
So I fixed it for 0.9.5, so the migration will update the inclusion of the chest in the structures correctly, so it will do what would one expect.
We will release minimod containing this migration with 0.9.5, so anyone can activate it if they want to.