mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -153,6 +153,34 @@ if settings.startup['PHI-CT'].value then
|
||||
table.insert(data.raw.technology['automation'].effects, {type='unlock-recipe', recipe='trash-pipe'})
|
||||
table.insert(data.raw.technology['automation'].effects, {type='unlock-recipe', recipe='trash-pipe-return'})
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT-MINER'].value then
|
||||
local item = table.deepcopy(data.raw['item']['electric-mining-drill'])
|
||||
item.name = 'large-area-electric-mining-drill'
|
||||
item.place_result = 'large-area-electric-mining-drill'
|
||||
item.order = 'zc'
|
||||
data:extend({item})
|
||||
|
||||
local entity = table.deepcopy(data.raw['mining-drill']['electric-mining-drill'])
|
||||
entity.name = 'large-area-electric-mining-drill'
|
||||
entity.minable.result = 'large-area-electric-mining-drill'
|
||||
entity.max_health = entity.max_health * 16
|
||||
entity.energy_usage = (tonumber(string.match(entity.energy_usage, '%d+')) * 16) .. 'kW'
|
||||
entity.resource_searching_radius = 12.49
|
||||
entity.mining_speed = entity.mining_speed * 16
|
||||
entity.energy_source.emissions_per_minute = entity.energy_source.emissions_per_minute * 16
|
||||
entity.module_specification.module_slots = 8
|
||||
data:extend({entity})
|
||||
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
name = 'large-area-electric-mining-drill',
|
||||
energy_required = 2,
|
||||
enabled = true,
|
||||
ingredients = {{'electric-mining-drill', 16}},
|
||||
result = 'large-area-electric-mining-drill'
|
||||
}})
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-EQ-ARMOR'].value then
|
||||
|
||||
@@ -254,6 +254,8 @@ trash-chest=Trash chest
|
||||
|
||||
trash-pipe=Trash pipe
|
||||
|
||||
large-area-electric-mining-drill=Large area electric mining drill
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=Provides power for equipment modules.
|
||||
solar-panel-mk3-equipment=Provides power for equipment modules.
|
||||
@@ -511,6 +513,8 @@ trash-chest=Trash chest
|
||||
|
||||
trash-pipe=Trash pipe
|
||||
|
||||
large-area-electric-mining-drill=Large area electric mining drill
|
||||
|
||||
[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.
|
||||
@@ -707,6 +711,8 @@ oil-pump=Pumps fluid
|
||||
|
||||
super-radar=Scans the nearby sectors, and actively reveals an area around it.
|
||||
|
||||
large-area-electric-mining-drill=Large area electric mining drill
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=Portable solar panel MK2
|
||||
solar-panel-mk3-equipment=Portable solar panel MK3
|
||||
@@ -896,9 +902,10 @@ PHI-PB-FFRLM=Force following robots lifetime modifier
|
||||
|
||||
PHI-CT-OIL=Oil
|
||||
PHI-CT-RADAR=Radar
|
||||
PHI-CT-TILE=World Tile
|
||||
PHI-CT-TILE=World tile
|
||||
PHI-CT-TILE-CHOICE=Tile choice
|
||||
PHI-CT-TRASH=Trash Chest
|
||||
PHI-CT-TRASH=Trash chest
|
||||
PHI-CT-MINER=Large miner
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=Default 8 ; Disable 1
|
||||
|
||||
@@ -254,6 +254,8 @@ trash-chest=ごみチェスト
|
||||
|
||||
trash-pipe=ごみパイプ
|
||||
|
||||
large-area-electric-mining-drill=大型電動掘削機
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=装備用モジュールに電力を供給します。
|
||||
solar-panel-mk3-equipment=装備用モジュールに電力を供給します。
|
||||
@@ -511,6 +513,8 @@ trash-chest=ごみチェスト
|
||||
|
||||
trash-pipe=ごみパイプ
|
||||
|
||||
large-area-electric-mining-drill=大型電動掘削機
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||
accumulator-3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||
@@ -707,6 +711,8 @@ oil-pump=オイルポンプ
|
||||
|
||||
super-radar=近隣の領域をスキャンし、その周囲のエリアを探索します。
|
||||
|
||||
large-area-electric-mining-drill=大型電動掘削機
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=携帯ソーラーパネルモジュール2代目
|
||||
solar-panel-mk3-equipment=携帯ソーラーパネルモジュール3代目
|
||||
@@ -899,6 +905,7 @@ PHI-CT-RADAR=レーダー
|
||||
PHI-CT-TILE=ワールドタイル
|
||||
PHI-CT-TILE-CHOICE=ドタイル選択
|
||||
PHI-CT-TRASH=ごみチェスト
|
||||
PHI-CT-MINER=大型電動掘削機
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1
|
||||
|
||||
@@ -254,6 +254,8 @@ trash-chest=垃圾箱
|
||||
|
||||
trash-pipe=垃圾管
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=替裝備的模組供電。
|
||||
solar-panel-mk3-equipment=替裝備的模組供電。
|
||||
@@ -511,6 +513,8 @@ trash-chest=垃圾箱
|
||||
|
||||
trash-pipe=垃圾管
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
@@ -707,6 +711,8 @@ oil-pump=抽油泵
|
||||
|
||||
super-radar=掃描並顯示附近的未知區域。
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=攜帶式太陽能板2代
|
||||
solar-panel-mk3-equipment=攜帶式太陽能板3代
|
||||
@@ -899,6 +905,7 @@ PHI-CT-RADAR=雷達
|
||||
PHI-CT-TILE=世界地磚
|
||||
PHI-CT-TILE-CHOICE=地磚選擇
|
||||
PHI-CT-TRASH=垃圾箱
|
||||
PHI-CT-MINER=大型電能採礦機
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||
|
||||
@@ -254,6 +254,8 @@ trash-chest=垃圾箱
|
||||
|
||||
trash-pipe=垃圾管
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[item-description]
|
||||
solar-panel-mk2-equipment=替裝備的模組供電。
|
||||
solar-panel-mk3-equipment=替裝備的模組供電。
|
||||
@@ -511,6 +513,8 @@ trash-chest=垃圾箱
|
||||
|
||||
trash-pipe=垃圾管
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[entity-description]
|
||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||
@@ -707,6 +711,8 @@ oil-pump=抽油泵
|
||||
|
||||
super-radar=掃描並顯示附近的未知區域。
|
||||
|
||||
large-area-electric-mining-drill=大型電能採礦機
|
||||
|
||||
[equipment-name]
|
||||
solar-panel-mk2-equipment=攜帶式太陽能板2代
|
||||
solar-panel-mk3-equipment=攜帶式太陽能板3代
|
||||
@@ -899,6 +905,7 @@ PHI-CT-RADAR=雷達
|
||||
PHI-CT-TILE=世界地磚
|
||||
PHI-CT-TILE-CHOICE=地磚選擇
|
||||
PHI-CT-TRASH=垃圾箱
|
||||
PHI-CT-MINER=大型電能採礦機
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||
|
||||
@@ -109,5 +109,10 @@ for _, force in pairs(game.forces) do
|
||||
recipes['trash-pipe'].enabled = true
|
||||
recipes['trash-pipe'].reload()
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT-MINER'].value then
|
||||
recipes['large-area-electric-mining-drill'].enabled = true
|
||||
recipes['large-area-electric-mining-drill'].reload()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -478,6 +478,12 @@ data:extend({
|
||||
setting_type = 'startup',
|
||||
default_value = true,
|
||||
order = 'JA03'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-CT-MINER',
|
||||
setting_type = 'startup',
|
||||
default_value = true,
|
||||
order = 'JA04'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-CT-TILE',
|
||||
|
||||
Reference in New Issue
Block a user