mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"entity":
|
||||
[
|
||||
["solar-panel-mk2", "solar-panel-2"],
|
||||
["solar-panel-mk3", "solar-panel-3"],
|
||||
["solar-panel-mk4", "solar-panel-4"],
|
||||
["solar-panel-mk5", "solar-panel-5"],
|
||||
["solar-panel-mk6", "solar-panel-6"],
|
||||
["solar-panel-mk7", "solar-panel-7"],
|
||||
["solar-panel-mk8", "solar-panel-8"],
|
||||
["accumulator-mk2", "accumulator-2"],
|
||||
["accumulator-mk3", "accumulator-3"],
|
||||
["accumulator-mk4", "accumulator-4"],
|
||||
["accumulator-mk5", "accumulator-5"],
|
||||
["accumulator-mk6", "accumulator-6"],
|
||||
["accumulator-mk7", "accumulator-7"],
|
||||
["accumulator-mk8", "accumulator-8"]
|
||||
],
|
||||
"item":
|
||||
[
|
||||
["solar-panel-mk2", "solar-panel-2"],
|
||||
["solar-panel-mk3", "solar-panel-3"],
|
||||
["solar-panel-mk4", "solar-panel-4"],
|
||||
["solar-panel-mk5", "solar-panel-5"],
|
||||
["solar-panel-mk6", "solar-panel-6"],
|
||||
["solar-panel-mk7", "solar-panel-7"],
|
||||
["solar-panel-mk8", "solar-panel-8"],
|
||||
["accumulator-mk2", "accumulator-2"],
|
||||
["accumulator-mk3", "accumulator-3"],
|
||||
["accumulator-mk4", "accumulator-4"],
|
||||
["accumulator-mk5", "accumulator-5"],
|
||||
["accumulator-mk6", "accumulator-6"],
|
||||
["accumulator-mk7", "accumulator-7"],
|
||||
["accumulator-mk8", "accumulator-8"]
|
||||
]
|
||||
}
|
||||
@@ -114,5 +114,22 @@ for _, force in pairs(game.forces) do
|
||||
recipes['large-area-electric-mining-drill'].enabled = true
|
||||
recipes['large-area-electric-mining-drill'].reload()
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT-LOADER'].value then
|
||||
if technologies['logistics'].researched then
|
||||
recipes['loader'].enabled = true
|
||||
recipes['loader'].reload()
|
||||
end
|
||||
|
||||
if technologies['logistics-2'].researched then
|
||||
recipes['fast-loader'].enabled = true
|
||||
recipes['fast-loader'].reload()
|
||||
end
|
||||
|
||||
if technologies['logistics-3'].researched then
|
||||
recipes['express-loader'].enabled = true
|
||||
recipes['express-loader'].reload()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user