Page 1 of 1

[Rseding91] [2.0.11] Tank, car blueprints don't serialize their inventory to string

Posted: Tue Oct 29, 2024 1:47 am
by vadcx
When you make a blueprint of a Spidertron, all its inventory components are saved to a blueprint. However setting slot filters in car trunk or tank trunk or tank ammo slots doesn't work across export/import.

v2.0.11 with Space Age

Reproduction:
1. Place tank
2. Set 3 ammo filters for: Tank cannon, Machine gun, Flamethrower
3. Set one example trunk slot filter to anything.
4. Set one logistic slot to anything.
5. Alt+B to create a blueprint.
6. Paste the same tank using this blueprint
7. Confirm that all the filtered and logistic slots are populated as expected.
8. Export/Import the same blueprint as string into another save game
9. Paste this blueprint.
10. Now the pasted entity doesn't have any inventory slots set.

Expected: Tanks, cars etc. to serialize their inventory filters to blueprints like spidertrons (ammo_inventory, trunk_inventory) do.

Actual: Inventory settings are not exported to string. However if you continue using the blueprint in-game, it keeps the settings.

Separately, decode the blueprint string and confirm there are no inventory related entries at all for car and tank.

Re: [Rseding91] [2.0.11] Tank, car blueprints don't serialize their inventory to string

Posted: Tue Oct 29, 2024 2:23 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.