mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update
This commit is contained in:
28
PHI-EN/config.lua
Normal file
28
PHI-EN/config.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user