mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 12:11:40 +09:00
.
This commit is contained in:
@@ -80,6 +80,43 @@ if settings.startup['PHI-EQ-ARMOR'].value then
|
||||
table.insert(data.raw.technology['power-armor-mk2'].effects, {type='unlock-recipe', recipe='power-armor-mk3'})
|
||||
end
|
||||
|
||||
--[[
|
||||
for k, _ in pairs(data.raw) do
|
||||
if data.raw[k] ~= nil then
|
||||
if data.raw[k].fluid_box ~= nil then
|
||||
if data.raw[k].fluid_box.height < 4 then
|
||||
data.raw[k].fluid_box.height = 4
|
||||
end
|
||||
if data.raw[k].fluid_box.base_level < 5 then
|
||||
data.raw[k].fluid_box.base_level = 5
|
||||
end
|
||||
end
|
||||
if data.raw[k].output_fluid_box ~= nil then
|
||||
if data.raw[k].output_fluid_box.height < 4 then
|
||||
data.raw[k].output_fluid_box.height = 4
|
||||
end
|
||||
if data.raw[k].output_fluid_box.base_level > -5 then
|
||||
data.raw[k].output_fluid_box.base_level = -5
|
||||
end
|
||||
end
|
||||
|
||||
if data.raw[k].fluid_boxes ~= nil then
|
||||
for k1, _ in pairs(data.raw[k].fluid_boxes) do
|
||||
if data.raw[k].fluid_boxes[k1] ~= false and data.raw[k].fluid_boxes[k1] ~= true then
|
||||
if data.raw[k].fluid_boxes[k1].production_type ~= nil then
|
||||
data.raw[k].fluid_boxes[k1].height = 4
|
||||
|
||||
if data.raw[k].fluid_boxes[k1].base_level ~= nil then
|
||||
data.raw[k].fluid_boxes[k1].base_level = data.raw[k].fluid_boxes[k1].base_level * 4
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
]]
|
||||
|
||||
for _, v in pairs(items['item']) do
|
||||
if v.enabled then
|
||||
if v.stage == file_stage then
|
||||
|
||||
@@ -391,9 +391,13 @@ if settings.startup['PHI-MI'].value then
|
||||
ingredients = {{'boiler', 1}, {'electronic-circuit', 1}},
|
||||
result = 'electric-boiler',
|
||||
}})
|
||||
|
||||
-- electric boiler
|
||||
data.raw['boiler']['boiler'].fast_replaceable_group = 'boiler'
|
||||
data.raw['boiler']['electric-boiler'].fast_replaceable_group = data.raw['boiler']['electric-boiler'].fast_replaceable_group
|
||||
end
|
||||
|
||||
if settings.startup['PHI-MI-BOILER'].value then
|
||||
if settings.startup['PHI-MI-CHEST'].value then
|
||||
local chests = {
|
||||
'steel-chest',
|
||||
'logistic-chest-passive-provider',
|
||||
@@ -402,6 +406,55 @@ if settings.startup['PHI-MI'].value then
|
||||
'logistic-chest-buffer',
|
||||
'logistic-chest-requester'
|
||||
}
|
||||
|
||||
for i=1, #chests, 1 do
|
||||
local item = table.deepcopy(data.raw['item'][chests[i]])
|
||||
local entity
|
||||
|
||||
if chests[i] == 'steel-chest' then
|
||||
entity = table.deepcopy(data.raw['container'][chests[i]])
|
||||
|
||||
else
|
||||
entity = table.deepcopy(data.raw['logistic-container'][chests[i]])
|
||||
end
|
||||
|
||||
item.name = 'basic-' .. chests[i]
|
||||
item.place_result = 'basic-' .. chests[i]
|
||||
item.order = item.order .. '-basic'
|
||||
data:extend({item})
|
||||
|
||||
entity.inventory_size = 1
|
||||
entity.name = 'basic-' .. chests[i]
|
||||
entity.minable.result = 'basic-' .. chests[i]
|
||||
data:extend({entity})
|
||||
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
name = 'basic-' .. chests[i],
|
||||
energy_required = 2,
|
||||
enabled = false,
|
||||
ingredients = {{chests[i], 1}},
|
||||
result = 'basic-' .. chests[i],
|
||||
}})
|
||||
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
name = 'basic-' .. chests[i] .. '-return',
|
||||
energy_required = 2,
|
||||
enabled = false,
|
||||
ingredients = {{'basic-' .. chests[i], 1}},
|
||||
result = chests[i],
|
||||
}})
|
||||
end
|
||||
|
||||
table.insert(data.raw.technology['steel-processing'].effects, {type='unlock-recipe', recipe='basic-steel-chest'})
|
||||
table.insert(data.raw.technology['construction-robotics'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-passive-provider'})
|
||||
table.insert(data.raw.technology['construction-robotics'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-storage'})
|
||||
table.insert(data.raw.technology['logistic-robotics'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-passive-provider'})
|
||||
table.insert(data.raw.technology['logistic-robotics'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-storage'})
|
||||
table.insert(data.raw.technology['logistic-system'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-active-provider'})
|
||||
table.insert(data.raw.technology['logistic-system'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-buffer'})
|
||||
table.insert(data.raw.technology['logistic-system'].effects, {type='unlock-recipe', recipe='basic-logistic-chest-requester'})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -230,6 +230,19 @@ night-vision-mk2-equipment=Nightvision Equipment MK2
|
||||
exoskeleton-mk2-equipment=Exoskeleton MK2
|
||||
power-armor-mk3=Power Armor MK3
|
||||
|
||||
basic-steel-chest=Basic steel chest
|
||||
|
||||
basic-logistic-chest-active-provider=Basic active provider chest
|
||||
|
||||
basic-logistic-chest-buffer=Basic buffer chest
|
||||
|
||||
basic-logistic-chest-passive-provider=Basic passive provider chest
|
||||
|
||||
basic-logistic-chest-requester=Basic requester chest
|
||||
|
||||
basic-logistic-chest-storage=Basic storage chest
|
||||
|
||||
electric-boiler=Electric boiler
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=Provides power for equipment modules.
|
||||
@@ -464,6 +477,20 @@ flamethrower-turret-3=Flamethrower turret 3
|
||||
radar-2=Radar 2
|
||||
radar-3=Radar 3
|
||||
|
||||
basic-steel-chest=Basic steel chest
|
||||
|
||||
basic-logistic-chest-active-provider=Basic active provider chest
|
||||
|
||||
basic-logistic-chest-buffer=Basic buffer chest
|
||||
|
||||
basic-logistic-chest-passive-provider=Basic passive provider chest
|
||||
|
||||
basic-logistic-chest-requester=Basic requester chest
|
||||
|
||||
basic-logistic-chest-storage=Basic storage chest
|
||||
|
||||
electric-boiler=Electric boiler
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||
accumulator-3=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||
@@ -642,6 +669,19 @@ flamethrower-turret-3=Fires a stream of burning liquid at enemies.
|
||||
radar-2=Scans the nearby sectors, and actively reveals an area around it.
|
||||
radar-3=Scans the nearby sectors, and actively reveals an area around it.
|
||||
|
||||
basic-steel-chest=Basic steel chest
|
||||
|
||||
basic-logistic-chest-active-provider=Sends its content to the logistic network.
|
||||
|
||||
basic-logistic-chest-passive-provider=Makes its content available to the logistic network.
|
||||
|
||||
basic-logistic-chest-storage=Long-term storage for the logistic network.
|
||||
|
||||
basic-logistic-chest-buffer=Requests specified items to be available for personal logistics and automated construction.
|
||||
|
||||
basic-logistic-chest-requester=Requests specified items from the logistic network.
|
||||
|
||||
electric-boiler=Burns fuel to turn water into steam.
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=Portable Solar Panel MK2
|
||||
|
||||
@@ -230,6 +230,20 @@ night-vision-mk2-equipment=暗視モジュール2代
|
||||
exoskeleton-mk2-equipment=強化外骨格モジュール2代
|
||||
power-armor-mk3=パワーアーマー3代
|
||||
|
||||
basic-steel-chest=基本的な鋼鉄製チェスト
|
||||
|
||||
basic-logistic-chest-active-provider=基本的なアクティブ供給チェスト
|
||||
|
||||
basic-logistic-chest-buffer=基本的なバッファーチェスト
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的なパッシブ供給チェスト
|
||||
|
||||
basic-logistic-chest-requester=基本的な要求チェスト
|
||||
|
||||
basic-logistic-chest-storage=基本的な貯蔵チェスト
|
||||
|
||||
electric-boiler=電気ボイラー
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=装備用モジュールに電力を供給します。
|
||||
solar-panel-mk3-equipment=装備用モジュールに電力を供給します。
|
||||
@@ -463,6 +477,20 @@ flamethrower-turret-3=火炎放射タレット 3
|
||||
radar-2=レーダー 2
|
||||
radar-3=レーダー 3
|
||||
|
||||
basic-steel-chest=基本的な鋼鉄製チェスト
|
||||
|
||||
basic-logistic-chest-active-provider=基本的なアクティブ供給チェスト
|
||||
|
||||
basic-logistic-chest-buffer=基本的なバッファーチェスト
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的なパッシブ供給チェスト
|
||||
|
||||
basic-logistic-chest-requester=基本的な要求チェスト
|
||||
|
||||
basic-logistic-chest-storage=基本的な貯蔵チェスト
|
||||
|
||||
electric-boiler=電気ボイラー
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||
accumulator-3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||
@@ -641,6 +669,20 @@ flamethrower-turret-3=敵に火のついた液体を投射します。
|
||||
radar-2=近隣の領域をスキャンし、その周囲のエリアを探索します。
|
||||
radar-3=近隣の領域をスキャンし、その周囲のエリアを探索します。
|
||||
|
||||
basic-steel-chest=基本的な鋼鉄製チェスト
|
||||
|
||||
basic-logistic-chest-active-provider=内容物を物流ネットワークへ送り出します。
|
||||
|
||||
basic-logistic-chest-passive-provider=内容物を物流ネットワークから利用できるようにします。
|
||||
|
||||
basic-logistic-chest-storage=物流ネットワークにおける長期保管に使用します。
|
||||
|
||||
basic-logistic-chest-buffer=個人物流と自動化建設のために指定されたアイテムを要求します。
|
||||
|
||||
basic-logistic-chest-requester=物流ネットワークから指定したアイテムを取り寄せます。
|
||||
|
||||
electric-boiler=燃料を燃やして水を蒸気に変えます。
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=携帯ソーラーパネルモジュール2代目
|
||||
solar-panel-mk3-equipment=携帯ソーラーパネルモジュール3代目
|
||||
|
||||
@@ -230,6 +230,20 @@ night-vision-mk2-equipment=夜視鏡2代
|
||||
exoskeleton-mk2-equipment=動力外骨骼2代
|
||||
power-armor-mk3=動力護甲3代
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=基本的主動出貨箱
|
||||
|
||||
basic-logistic-chest-buffer=基本的轉運箱
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的被動出貨箱
|
||||
|
||||
basic-logistic-chest-requester=基本的進貨箱
|
||||
|
||||
basic-logistic-chest-storage=基本的回收箱
|
||||
|
||||
electric-boiler=電鍋爐
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=替裝備的模組供電。
|
||||
solar-panel-mk3-equipment=替裝備的模組供電。
|
||||
@@ -463,6 +477,20 @@ flamethrower-turret-3=火焰噴射器 3
|
||||
radar-2=雷達 2
|
||||
radar-3=雷達 3
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=基本的主動出貨箱
|
||||
|
||||
basic-logistic-chest-buffer=基本的轉運箱
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的被動出貨箱
|
||||
|
||||
basic-logistic-chest-requester=基本的進貨箱
|
||||
|
||||
basic-logistic-chest-storage=基本的回收箱
|
||||
|
||||
electric-boiler=電鍋爐
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
@@ -641,6 +669,20 @@ flamethrower-turret-3=噴射燃燒的油料燒灼敵人。
|
||||
radar-2=掃描並顯示附近的未知區域。
|
||||
radar-3=掃描並顯示附近的未知區域。
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=主動將內容物配送到物流網。
|
||||
|
||||
basic-logistic-chest-passive-provider=放入的物品可供物流網運用。
|
||||
|
||||
basic-logistic-chest-storage=物流網的長期儲藏方案。
|
||||
|
||||
basic-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。
|
||||
|
||||
basic-logistic-chest-requester=從物流網路中收集指定的物品。
|
||||
|
||||
electric-boiler=燃燒燃料,把水煮成蒸汽。
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=攜帶式太陽能板2代
|
||||
solar-panel-mk3-equipment=攜帶式太陽能板3代
|
||||
|
||||
@@ -230,6 +230,20 @@ night-vision-mk2-equipment=夜視鏡2代
|
||||
exoskeleton-mk2-equipment=動力外骨骼2代
|
||||
power-armor-mk3=動力護甲3代
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=基本的主動出貨箱
|
||||
|
||||
basic-logistic-chest-buffer=基本的轉運箱
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的被動出貨箱
|
||||
|
||||
basic-logistic-chest-requester=基本的進貨箱
|
||||
|
||||
basic-logistic-chest-storage=基本的回收箱
|
||||
|
||||
electric-boiler=電鍋爐
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=替裝備的模組供電。
|
||||
solar-panel-mk3-equipment=替裝備的模組供電。
|
||||
@@ -463,6 +477,20 @@ flamethrower-turret-3=火焰噴射器 3
|
||||
radar-2=雷達 2
|
||||
radar-3=雷達 3
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=基本的主動出貨箱
|
||||
|
||||
basic-logistic-chest-buffer=基本的轉運箱
|
||||
|
||||
basic-logistic-chest-passive-provider=基本的被動出貨箱
|
||||
|
||||
basic-logistic-chest-requester=基本的進貨箱
|
||||
|
||||
basic-logistic-chest-storage=基本的回收箱
|
||||
|
||||
electric-boiler=電鍋爐
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
@@ -641,6 +669,20 @@ flamethrower-turret-3=噴射燃燒的油料燒灼敵人。
|
||||
radar-2=掃描並顯示附近的未知區域。
|
||||
radar-3=掃描並顯示附近的未知區域。
|
||||
|
||||
basic-steel-chest=基本的鋼箱
|
||||
|
||||
basic-logistic-chest-active-provider=主動將內容物配送到物流網。
|
||||
|
||||
basic-logistic-chest-passive-provider=放入的物品可供物流網運用。
|
||||
|
||||
basic-logistic-chest-storage=物流網的長期儲藏方案。
|
||||
|
||||
basic-logistic-chest-buffer=可要求備貨指定物品以隨時供給個人物流及自動化建造。
|
||||
|
||||
basic-logistic-chest-requester=從物流網路中收集指定的物品。
|
||||
|
||||
electric-boiler=燃燒燃料,把水煮成蒸汽。
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=攜帶式太陽能板2代
|
||||
solar-panel-mk3-equipment=攜帶式太陽能板3代
|
||||
|
||||
Reference in New Issue
Block a user