added k2 military to overhaul mode

This commit is contained in:
PreLeyZero 2022-03-25 00:14:17 +01:00
parent 680f9943ad
commit d38be3b1d2
6 changed files with 43 additions and 4 deletions

View file

@ -3,5 +3,5 @@ if settings.startup['overhaul_mode'].value == false then
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 overhaul mod without tech and item integration turn off the mod setting", {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

13
migrations/248k-1.0.3.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