This commit is contained in:
2025-05-21 23:30:48 +09:00
parent 5cae10b3cc
commit 147b68340e

View File

@@ -88,7 +88,11 @@ function main.EEE(source, tier)
if source.tech == 'compound-energy' then if source.tech == 'compound-energy' then
if mods['space-age'] and (not settings.startup['PHI-VP'].value) then if mods['space-age'] and (not settings.startup['PHI-VP'].value) then
item.surface_conditions = {{property = 'gravity', min = 0.01}} if not item.surface_conditions then
item.surface_conditions = {}
end
table.insert(item.surface_conditions, {property = 'gravity', min = 0.01})
end end
if (source.type == 'accumulator') and item['chargable_graphics'] then if (source.type == 'accumulator') and item['chargable_graphics'] then