This commit is contained in:
2024-06-18 18:59:10 +09:00
parent e6213c0018
commit f04955b475
6 changed files with 114 additions and 104 deletions

View File

@@ -43,8 +43,47 @@ for _, force in pairs(game.forces) do
end end
end end
if technologies['power-armor-mk2'].researched and settings.startup['PHI-EQ-ARMOR'].value then
recipes['power-armor-mk3'].enabled = true if technologies['power-armor-mk2'].researched then
recipes['power-armor-mk3'].reload() if settings.startup['PHI-EQ'].value and settings.startup['PHI-EQ-ARMOR'].value then
recipes['power-armor-mk3'].enabled = true
recipes['power-armor-mk3'].reload()
end
end
if technologies['steel-processing'].researched then
if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-CHEST'].value then
recipes['basic-steel-chest'].enabled = true
recipes['basic-steel-chest'].reload()
end
end
if technologies['construction-robotics'].researched then
if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-CHEST'].value then
recipes['basic-logistic-chest-passive-provider'].enabled = true
recipes['basic-logistic-chest-passive-provider'].reload()
recipes['basic-logistic-chest-storage'].enabled = true
recipes['basic-logistic-chest-storage'].reload()
end
end
if technologies['logistic-robotics'].researched then
if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-CHEST'].value then
recipes['basic-logistic-chest-passive-provider'].enabled = true
recipes['basic-logistic-chest-passive-provider'].reload()
recipes['basic-logistic-chest-storage'].enabled = true
recipes['basic-logistic-chest-storage'].reload()
end
end
if technologies['logistic-system'].researched then
if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-CHEST'].value then
recipes['basic-logistic-chest-active-provider'].enabled = true
recipes['basic-logistic-chest-active-provider'].reload()
recipes['basic-logistic-chest-buffer'].enabled = true
recipes['basic-logistic-chest-buffer'].reload()
recipes['basic-logistic-chest-requester'].enabled = true
recipes['basic-logistic-chest-requester'].reload()
end
end end
end end

View File

@@ -1,26 +1,26 @@
[item-name] [item-name]
ups-steel-chest=UPS steel chest basic-steel-chest=basic steel chest
ups-logistic-chest-active-provider=UPS active provider chest basic-logistic-chest-active-provider=basic active provider chest
ups-logistic-chest-buffer=UPS buffer chest basic-logistic-chest-buffer=basic buffer chest
ups-logistic-chest-passive-provider=UPS passive provider chest basic-logistic-chest-passive-provider=basic passive provider chest
ups-logistic-chest-requester=UPS requester chest basic-logistic-chest-requester=basic requester chest
ups-logistic-chest-storage=UPS storage chest basic-logistic-chest-storage=basic storage chest
electric-boiler=Electric boiler electric-boiler=Electric boiler
[entity-name] [entity-name]
ups-steel-chest=UPS steel chest basic-steel-chest=basic steel chest
ups-logistic-chest-active-provider=UPS active provider chest basic-logistic-chest-active-provider=basic active provider chest
ups-logistic-chest-buffer=UPS buffer chest basic-logistic-chest-buffer=basic buffer chest
ups-logistic-chest-passive-provider=UPS passive provider chest basic-logistic-chest-passive-provider=basic passive provider chest
ups-logistic-chest-requester=UPS requester chest basic-logistic-chest-requester=basic requester chest
ups-logistic-chest-storage=UPS storage chest basic-logistic-chest-storage=basic storage chest
electric-boiler=Electric boiler electric-boiler=Electric boiler
[entity-description] [entity-description]
ups-steel-chest=UPS steel chest basic-steel-chest=basic steel chest
ups-logistic-chest-active-provider=Sends its content to the logistic network. basic-logistic-chest-active-provider=Sends its content to the logistic network.
ups-logistic-chest-passive-provider=Makes its content available to the logistic network. basic-logistic-chest-passive-provider=Makes its content available to the logistic network.
ups-logistic-chest-storage=Long-term storage for the logistic network. basic-logistic-chest-storage=Long-term storage for the logistic network.
ups-logistic-chest-buffer=Requests specified items to be available for personal logistics and automated construction. basic-logistic-chest-buffer=Requests specified items to be available for personal logistics and automated construction.
ups-logistic-chest-requester=Requests specified items from the logistic network. basic-logistic-chest-requester=Requests specified items from the logistic network.
electric-boiler=Burns fuel to turn water into steam. electric-boiler=Burns fuel to turn water into steam.

View File

@@ -1,26 +1,26 @@
[item-name] [item-name]
ups-steel-chest=UPS 鋼鉄製チェスト basic-steel-chest=basic 鋼鉄製チェスト
ups-logistic-chest-active-provider=UPS アクティブ供給チェスト basic-logistic-chest-active-provider=basic アクティブ供給チェスト
ups-logistic-chest-buffer=UPS バッファーチェスト basic-logistic-chest-buffer=basic バッファーチェスト
ups-logistic-chest-passive-provider=UPS パッシブ供給チェスト basic-logistic-chest-passive-provider=basic パッシブ供給チェスト
ups-logistic-chest-requester=UPS 要求チェスト basic-logistic-chest-requester=basic 要求チェスト
ups-logistic-chest-storage=UPS 貯蔵チェスト basic-logistic-chest-storage=basic 貯蔵チェスト
electric-boiler=電気ボイラー electric-boiler=電気ボイラー
[entity-name] [entity-name]
ups-steel-chest=UPS 鋼鉄製チェスト basic-steel-chest=basic 鋼鉄製チェスト
ups-logistic-chest-active-provider=UPS アクティブ供給チェスト basic-logistic-chest-active-provider=basic アクティブ供給チェスト
ups-logistic-chest-buffer=UPS バッファーチェスト basic-logistic-chest-buffer=basic バッファーチェスト
ups-logistic-chest-passive-provider=UPS パッシブ供給チェスト basic-logistic-chest-passive-provider=basic パッシブ供給チェスト
ups-logistic-chest-requester=UPS 要求チェスト basic-logistic-chest-requester=basic 要求チェスト
ups-logistic-chest-storage=UPS 貯蔵チェスト basic-logistic-chest-storage=basic 貯蔵チェスト
electric-boiler=電気ボイラー electric-boiler=電気ボイラー
[entity-description] [entity-description]
ups-steel-chest=UPS 鋼鉄製チェスト basic-steel-chest=basic 鋼鉄製チェスト
ups-logistic-chest-active-provider=内容物を物流ネットワークへ送り出します。 basic-logistic-chest-active-provider=内容物を物流ネットワークへ送り出します。
ups-logistic-chest-passive-provider=内容物を物流ネットワークから利用できるようにします。 basic-logistic-chest-passive-provider=内容物を物流ネットワークから利用できるようにします。
ups-logistic-chest-storage=物流ネットワークにおける長期保管に使用します。 basic-logistic-chest-storage=物流ネットワークにおける長期保管に使用します。
ups-logistic-chest-buffer=個人物流と自動化建設のために指定されたアイテムを要求します。 basic-logistic-chest-buffer=個人物流と自動化建設のために指定されたアイテムを要求します。
ups-logistic-chest-requester=物流ネットワークから指定したアイテムを取り寄せます。 basic-logistic-chest-requester=物流ネットワークから指定したアイテムを取り寄せます。
electric-boiler=燃料を燃やして水を蒸気に変えます。 electric-boiler=燃料を燃やして水を蒸気に変えます。

View File

@@ -1,26 +1,26 @@
[item-name] [item-name]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=UPS 主動出貨箱 basic-logistic-chest-active-provider=basic 主動出貨箱
ups-logistic-chest-buffer=UPS 轉運箱 basic-logistic-chest-buffer=basic 轉運箱
ups-logistic-chest-passive-provider=UPS 被動出貨箱 basic-logistic-chest-passive-provider=basic 被動出貨箱
ups-logistic-chest-requester=UPS 進貨箱 basic-logistic-chest-requester=basic 進貨箱
ups-logistic-chest-storage=UPS 回收箱 basic-logistic-chest-storage=basic 回收箱
electric-boiler=電鍋爐 electric-boiler=電鍋爐
[entity-name] [entity-name]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=UPS 主動出貨箱 basic-logistic-chest-active-provider=basic 主動出貨箱
ups-logistic-chest-buffer=UPS 轉運箱 basic-logistic-chest-buffer=basic 轉運箱
ups-logistic-chest-passive-provider=UPS 被動出貨箱 basic-logistic-chest-passive-provider=basic 被動出貨箱
ups-logistic-chest-requester=UPS 進貨箱 basic-logistic-chest-requester=basic 進貨箱
ups-logistic-chest-storage=UPS 回收箱 basic-logistic-chest-storage=basic 回收箱
electric-boiler=電鍋爐 electric-boiler=電鍋爐
[entity-description] [entity-description]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=主動將內容物配送到物流網。 basic-logistic-chest-active-provider=主動將內容物配送到物流網。
ups-logistic-chest-passive-provider=放入的物品可供物流網運用。 basic-logistic-chest-passive-provider=放入的物品可供物流網運用。
ups-logistic-chest-storage=物流網的長期儲藏方案。 basic-logistic-chest-storage=物流網的長期儲藏方案。
ups-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。 basic-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。
ups-logistic-chest-requester=從物流網路中收集指定的物品。 basic-logistic-chest-requester=從物流網路中收集指定的物品。
electric-boiler=燃燒燃料,把水煮成蒸汽。 electric-boiler=燃燒燃料,把水煮成蒸汽。

View File

@@ -1,26 +1,26 @@
[item-name] [item-name]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=UPS 主動出貨箱 basic-logistic-chest-active-provider=basic 主動出貨箱
ups-logistic-chest-buffer=UPS 轉運箱 basic-logistic-chest-buffer=basic 轉運箱
ups-logistic-chest-passive-provider=UPS 被動出貨箱 basic-logistic-chest-passive-provider=basic 被動出貨箱
ups-logistic-chest-requester=UPS 進貨箱 basic-logistic-chest-requester=basic 進貨箱
ups-logistic-chest-storage=UPS 回收箱 basic-logistic-chest-storage=basic 回收箱
electric-boiler=電鍋爐 electric-boiler=電鍋爐
[entity-name] [entity-name]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=UPS 主動出貨箱 basic-logistic-chest-active-provider=basic 主動出貨箱
ups-logistic-chest-buffer=UPS 轉運箱 basic-logistic-chest-buffer=basic 轉運箱
ups-logistic-chest-passive-provider=UPS 被動出貨箱 basic-logistic-chest-passive-provider=basic 被動出貨箱
ups-logistic-chest-requester=UPS 進貨箱 basic-logistic-chest-requester=basic 進貨箱
ups-logistic-chest-storage=UPS 回收箱 basic-logistic-chest-storage=basic 回收箱
electric-boiler=電鍋爐 electric-boiler=電鍋爐
[entity-description] [entity-description]
ups-steel-chest=UPS 鋼箱 basic-steel-chest=basic 鋼箱
ups-logistic-chest-active-provider=主動將內容物配送到物流網。 basic-logistic-chest-active-provider=主動將內容物配送到物流網。
ups-logistic-chest-passive-provider=放入的物品可供物流網運用。 basic-logistic-chest-passive-provider=放入的物品可供物流網運用。
ups-logistic-chest-storage=物流網的長期儲藏方案。 basic-logistic-chest-storage=物流網的長期儲藏方案。
ups-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。 basic-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。
ups-logistic-chest-requester=從物流網路中收集指定的物品。 basic-logistic-chest-requester=從物流網路中收集指定的物品。
electric-boiler=燃燒燃料,把水煮成蒸汽。 electric-boiler=燃燒燃料,把水煮成蒸汽。

View File

@@ -1,29 +0,0 @@
for index, force in pairs(game.forces) do
local technologies = force.technologies
local recipes = force.recipes
if technologies['steel-processing'].researched then
recipes['ups-steel-chest'].enabled = true
recipes['ups-steel-chest'].reload()
elseif technologies['construction-robotics'].researched then
recipes['ups-logistic-chest-passive-provider'].enabled = true
recipes['ups-logistic-chest-passive-provider'].reload()
recipes['ups-logistic-chest-storage'].enabled = true
recipes['ups-logistic-chest-storage'].reload()
elseif technologies['logistic-robotics'].researched then
recipes['ups-logistic-chest-passive-provider'].enabled = true
recipes['ups-logistic-chest-passive-provider'].reload()
recipes['ups-logistic-chest-storage'].enabled = true
recipes['ups-logistic-chest-storage'].reload()
elseif technologies['logistic-system'].researched then
recipes['ups-logistic-chest-active-provider'].enabled = true
recipes['ups-logistic-chest-active-provider'].reload()
recipes['ups-logistic-chest-buffer'].enabled = true
recipes['ups-logistic-chest-buffer'].reload()
recipes['ups-logistic-chest-requester'].enabled = true
recipes['ups-logistic-chest-requester'].reload()
end
end