This commit is contained in:
2024-08-25 02:22:42 +09:00
parent 725ee9965a
commit 24e1a56591
2 changed files with 9 additions and 3 deletions

View File

@@ -931,9 +931,10 @@ if mods then
type = 'solar-panel', type = 'solar-panel',
name = 'se-space-solar-panel', name = 'se-space-solar-panel',
ref_name = 'se-space-solar-panel', ref_name = 'se-space-solar-panel',
tech = 'se-space-solar-panel', tech = 'compound-energy',
min = 4, min = 4,
max = 8 max = 8,
base = 400
} }
items['item']['se-space-assembling-machine'] = { items['item']['se-space-assembling-machine'] = {

View File

@@ -126,8 +126,13 @@ function main.EEE(source, tier)
end end
elseif (source.type == 'solar-panel') then elseif (source.type == 'solar-panel') then
if (source.ref_name == 'solar-panel') then
item.production = (source.base * (4 ^ (tier - source.min + 1))) .. 'kW' item.production = (source.base * (4 ^ (tier - source.min + 1))) .. 'kW'
elseif (source.ref_name == 'se-space-solar-panel') then
item.production = (source.base * (4 ^ (tier - source.min + 2))) .. 'kW'
end
elseif (source.type == 'boiler') then elseif (source.type == 'boiler') then
if settings.startup['PHI-MI-PIPE'].value then if settings.startup['PHI-MI-PIPE'].value then
item.fluid_box.height = settings.startup['PHI-MI-PIPE'].value item.fluid_box.height = settings.startup['PHI-MI-PIPE'].value