From 24e1a56591b84a063efaa55ec1fcd59f7cd4cdc4 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sun, 25 Aug 2024 02:22:42 +0900 Subject: [PATCH] . --- PHI-CL/config.lua | 5 +++-- PHI-CL/main.lua | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/PHI-CL/config.lua b/PHI-CL/config.lua index 1515492..67a4d66 100644 --- a/PHI-CL/config.lua +++ b/PHI-CL/config.lua @@ -931,9 +931,10 @@ if mods then type = 'solar-panel', name = 'se-space-solar-panel', ref_name = 'se-space-solar-panel', - tech = 'se-space-solar-panel', + tech = 'compound-energy', min = 4, - max = 8 + max = 8, + base = 400 } items['item']['se-space-assembling-machine'] = { diff --git a/PHI-CL/main.lua b/PHI-CL/main.lua index 85aafde..84feffa 100644 --- a/PHI-CL/main.lua +++ b/PHI-CL/main.lua @@ -126,7 +126,12 @@ function main.EEE(source, tier) end elseif (source.type == 'solar-panel') then - item.production = (source.base * (4 ^ (tier - source.min + 1))) .. 'kW' + if (source.ref_name == 'solar-panel') then + 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 if settings.startup['PHI-MI-PIPE'].value then