mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -37,17 +37,15 @@ for _, force in pairs(game.forces) do
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-MB'].value and settings.startup['PHI-MB-EQUIPMENT'].value and settings.startup['PHI-MB-EQUIPMENT-ARMOR'].value then
|
||||
if (not technologies['power-armor-mk2']) or technologies['power-armor-mk2'].researched then
|
||||
if ((not technologies['power-armor-mk2']) or technologies['power-armor-mk2'].researched) and recipes['power-armor-mk3'] then
|
||||
recipes['power-armor-mk3'].enabled = true
|
||||
recipes['power-armor-mk3'].reload()
|
||||
end
|
||||
|
||||
if (not technologies['mech-armor']) or technologies['mech-armor'].researched then
|
||||
if ((not technologies['mech-armor']) or technologies['mech-armor'].researched) and recipes['mech-armor'] then
|
||||
recipes['mech-armor-mk2'].enabled = true
|
||||
recipes['mech-armor-mk2'].reload()
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value then
|
||||
recipes['electric-boiler'].enabled = true
|
||||
|
||||
Reference in New Issue
Block a user