mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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'] = {
|
||||||
|
|||||||
@@ -126,7 +126,12 @@ function main.EEE(source, tier)
|
|||||||
end
|
end
|
||||||
|
|
||||||
elseif (source.type == 'solar-panel') then
|
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
|
elseif (source.type == 'boiler') then
|
||||||
if settings.startup['PHI-MI-PIPE'].value then
|
if settings.startup['PHI-MI-PIPE'].value then
|
||||||
|
|||||||
Reference in New Issue
Block a user