mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
-- local main = require 'main'
|
-- local main = require 'main'
|
||||||
|
|
||||||
do
|
do
|
||||||
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
|
local sa = settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SAP'
|
||||||
local p = settings.startup['PHI-VP'].value or sa
|
local p = (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP') or sa
|
||||||
|
|
||||||
for k, v in pairs(data.raw.recipe) do
|
for k, v in pairs(data.raw.recipe) do
|
||||||
if settings.startup['PHI-VP'].value and v.category == 'recycling' then
|
if settings.startup['PHI-VP'].value and v.category == 'recycling' then
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ function main.EEE(source, tier)
|
|||||||
end
|
end
|
||||||
|
|
||||||
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-GM'].value and settings.startup['PHI-GM'].value == 'VP')) then
|
||||||
if not item.surface_conditions then
|
if not item.surface_conditions then
|
||||||
item.surface_conditions = {}
|
item.surface_conditions = {}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user