Page 1 of 1

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

Posted: Thu Aug 21, 2025 6:57 pm
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.

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

Posted: Thu Aug 21, 2025 8:19 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.