added migration

This commit is contained in:
PreLeyZero 2022-03-30 02:09:52 +02:00
parent 03299f9f4c
commit 31f24dc7a6

13
migrations/248k-1.0.4.lua Normal file
View file

@ -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