diff --git a/migrations/248k-1.0.4.lua b/migrations/248k-1.0.4.lua new file mode 100644 index 0000000..7d65c32 --- /dev/null +++ b/migrations/248k-1.0.4.lua @@ -0,0 +1,13 @@ +if settings.startup['overhaul_mode'].value == false then + game.print("You are currently playing 248k on standalone Mode.", {r=0.5, g=0, b=0.5}) + game.print("If you wish to play 248k as an overhaul mod with tech and item integration, especially in Krastorio2 turn on the mod setting", {r=0.5, g=0, b=0.5}) +elseif settings.startup['overhaul_mode'].value == true then + game.print("You are currently playing 248k on overhaul Mode.", {r=0.5, g=0, b=0.5}) + game.print("If you wish to play 248k as an standalone mod without tech and item integration turn off the mod setting", {r=0.5, g=0, b=0.5}) +end + +for _, force in pairs(game.forces) do + force.reset_recipes() + force.reset_technologies() + force.reset_technology_effects() +end \ No newline at end of file