I have already a migration script for the placed entities because json migration can not handle the additional manipulation to my global values.
So items are left to migrate.
I think this might be the rigth way https://lua-api.factorio.com/latest/Migrations.html ( [old, new] tuple)
Code: Select all
{
"item":
[
[ "rand-combinator","math-allInOne"],
[ "max-combinator","math-allInOne"],
[ "min-combinator","math-allInOne"],
[ "avg-combinator","math-allInOne"],
[ "med-combinator","math-allInOne"],
[ "sum-combinator","math-allInOne"],
[ "cnt-combinator","math-allInOne"],
[ "dif-combinator","math-allInOne"],
[ "int-combinator","math-allInOne"]
]
}
Code: Select all
Info PrototypeMigrationList.cpp:61: Activating migration MathCoProcessor/0_17_7.json
Maybe it is that obvious that I cannot see the problem or I have defintly the wrong idea
A code snippet for on_configuration_changed would be also acceptable. Or at least if I can destroy them so the can no longer be used for buildings.
Bonus: What about blueprints? Fine for the moment if I cannot update them. I had to keep the old recipes anyway so I would be ok for me to see ghosts of old deleted entities so the player can manually add the new entity.