This commit is contained in:
2023-05-09 02:51:14 +09:00
parent 2852f68d0b
commit 654ea4e408
19 changed files with 306 additions and 488 deletions

View File

@@ -35,12 +35,14 @@ local items = {
}
}
if mods['Krastorio2'] then
items['solar-panel'].base = 100
items['accumulator'].base = 10
elseif mods['space-exploration'] then
items['solar-panel'].base = 60
items['accumulator'].base = 5
if mods ~= nil then
if mods['Krastorio2'] then
items['solar-panel'].base = 100
items['accumulator'].base = 10
elseif mods['space-exploration'] then
items['solar-panel'].base = 60
items['accumulator'].base = 5
end
end
return items

View File

@@ -1,4 +1,4 @@
local items = require '../config'
local items = require '__PHI-EN__/config'
for _, force in pairs(game.forces) do
local technologies = force.technologies