added migration
This commit is contained in:
parent
03299f9f4c
commit
31f24dc7a6
1 changed files with 13 additions and 0 deletions
13
migrations/248k-1.0.4.lua
Normal file
13
migrations/248k-1.0.4.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue