mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
42 lines
855 B
Lua
42 lines
855 B
Lua
local items = {
|
|
['solar-panel'] = {
|
|
enabled = true,
|
|
type = 'solar-panel',
|
|
name = 'solar-panel',
|
|
min = 2,
|
|
max = 8,
|
|
base = 60
|
|
},
|
|
['accumulator'] = {
|
|
enabled = true,
|
|
type = 'accumulator',
|
|
name = 'accumulator',
|
|
min = 2,
|
|
max = 8,
|
|
base = 5
|
|
},
|
|
['boiler'] = {
|
|
enabled = true,
|
|
type = 'boiler',
|
|
name = 'boiler',
|
|
min = 2,
|
|
max = 8
|
|
},
|
|
['steam-engine'] = {
|
|
enabled = true,
|
|
type = 'accumulator',
|
|
name = 'accumulator',
|
|
min = 2,
|
|
max = 8
|
|
}
|
|
}
|
|
|
|
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
|
|
|
|
return items |