[2.0.60] Changing an entity between prototype classes causes quality to change to normal

This subforum contains all the issues which we already resolved.
Loup&Snoop
Inserter
Inserter
Posts: 43
Joined: Wed Dec 04, 2024 4:33 am
Contact:

[2.0.60] Changing an entity between prototype classes causes quality to change to normal

Post by Loup&Snoop »

The Bug
1) Make a save file.
2) Place legendary quality entities
3) Save and Close game
4) Change that entity's prototype type to a new type.
Example (execute in data-final-fixes.lua):
local recycler = data.raw.furnace["recycler"]
recycler.type = "assembling-machine"
data:extend({recycler})
data.raw["furnace"]["recycler"] = nil


5) Open game. Open save file
6) All those entities are still there, but in normal quality.
Expected Behavior
I expect the quality of the entity to be preserved when changing its prototype type.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16024
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.60] Changing an entity between prototype classes causes quality to change to normal

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”