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'
|
||||
|
||||
do
|
||||
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
|
||||
local p = settings.startup['PHI-VP'].value or sa
|
||||
local sa = settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SAP'
|
||||
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
|
||||
if settings.startup['PHI-VP'].value and v.category == 'recycling' then
|
||||
|
||||
@@ -87,7 +87,7 @@ function main.EEE(source, tier)
|
||||
end
|
||||
|
||||
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
|
||||
item.surface_conditions = {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user