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

This subforum contains all the issues which we already resolved.
vadcx
Inserter
Inserter
Posts: 47
Joined: Fri Apr 19, 2024 4:12 pm
Contact:

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

Post 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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14121
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”