mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -245,3 +245,26 @@ end
|
||||
if items['item']['nuclear-reactor'].enabled then
|
||||
data.raw['fluid']['steam'].max_temperature = 5000
|
||||
end
|
||||
|
||||
if settings.startup['PHI-XW-WATER'].value > 0 then
|
||||
data.raw['offshore-pump']['offshore-pump'].pumping_speed = settings.startup['PHI-XW-WATER'].value * 20
|
||||
data.raw['offshore-pump']['offshore-pump'].fluid_box.height = 4
|
||||
data.raw['offshore-pump']['offshore-pump'].fluid_box.level = 5
|
||||
data.raw['offshore-pump']['offshore-pump'].flags = {'placeable-neutral', 'player-creation'}
|
||||
data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_box = {{-0.5, -0.25}, {0.5, 0.25}}
|
||||
data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_test = {'ground-tile', 'water-tile', 'object-layer'}
|
||||
data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_mask = nil
|
||||
data.raw['offshore-pump']['offshore-pump'].placeable_position_visualization = nil
|
||||
|
||||
if mods['angelsrefining'] then
|
||||
data.raw['offshore-pump']['seafloor-pump'].pumping_speed = settings.startup['PHI-XW-WATER'].value * 20
|
||||
data.raw['offshore-pump']['seafloor-pump'].fluid_box.height = 4
|
||||
data.raw['offshore-pump']['offshore-pump'].fluid_box.level = 5
|
||||
data.raw['offshore-pump']['seafloor-pump'].flags = {'placeable-neutral', 'player-creation', 'filter-directions'}
|
||||
data.raw['offshore-pump']['seafloor-pump'].adjacent_tile_collision_box = {{-2, -3}, {2, -2}}
|
||||
data.raw['offshore-pump']['seafloor-pump'].adjacent_tile_collision_test = {'ground-tile', 'water-tile', 'object-layer'}
|
||||
data.raw['offshore-pump']['seafloor-pump'].adjacent_tile_collision_mask = nil
|
||||
data.raw['offshore-pump']['seafloor-pump'].placeable_position_visualization = nil
|
||||
data.raw['offshore-pump']['seafloor-pump'].max_health = 400
|
||||
end
|
||||
end
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"? aai-industry >= 0.5.0",
|
||||
"? Krastorio2 >= 1.3.0",
|
||||
"? space-exploration >= 0.6.0",
|
||||
"? angelsrefining >= 0.12.0",
|
||||
"? Atomic_Overhaul >= 1.3.0"
|
||||
]
|
||||
}
|
||||
@@ -583,6 +583,7 @@ PHI-WE-LASER-TIER=Laser turret
|
||||
PHI-WE-FLAME-TIER=Flamethrower turret
|
||||
PHI-WE-GUN-TIER=Gun turret
|
||||
PHI-WE-RADAR-TIER=Radar
|
||||
PHI-XW-WATER=Water
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=Default 8 ; Disable 1
|
||||
@@ -599,3 +600,4 @@ PHI-WE-LASER-TIER=Default 3 ; Disable 1
|
||||
PHI-WE-FLAME-TIER=Default 3 ; Disable 1
|
||||
PHI-WE-GUN-TIER=Default 3 ; Disable 1
|
||||
PHI-WE-RADAR-TIER=Default 3 ; Disable 1
|
||||
PHI-XW-WATER=Default 1 ; Disable 0
|
||||
|
||||
@@ -583,6 +583,7 @@ PHI-WE-LASER-TIER=レーザータレット
|
||||
PHI-WE-FLAME-TIER=火炎放射タレット
|
||||
PHI-WE-GUN-TIER=ガンタレット
|
||||
PHI-WE-RADAR-TIER=レーダー
|
||||
PHI-XW-WATER=水
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1
|
||||
@@ -599,3 +600,4 @@ PHI-WE-LASER-TIER=デフォルト 3 ; 止める 1
|
||||
PHI-WE-FLAME-TIER=デフォルト 3 ; 止める 1
|
||||
PHI-WE-GUN-TIER=デフォルト 3 ; 止める 1
|
||||
PHI-WE-RADAR-TIER=デフォルト 3 ; 止める 1
|
||||
PHI-XW-WATER=デフォルト 1 ; 止める 0
|
||||
|
||||
@@ -583,6 +583,7 @@ PHI-WE-LASER-TIER=雷射炮塔
|
||||
PHI-WE-FLAME-TIER=火焰噴射器
|
||||
PHI-WE-GUN-TIER=機槍炮塔
|
||||
PHI-WE-RADAR-TIER=雷達
|
||||
PHI-XW-WATER=水
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||
@@ -599,3 +600,4 @@ PHI-WE-LASER-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-FLAME-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-GUN-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-RADAR-TIER=預設 3 ; 停用 1
|
||||
PHI-XW-WATER=預設 1 ; 停用 0
|
||||
|
||||
@@ -583,6 +583,7 @@ PHI-WE-LASER-TIER=雷射炮塔
|
||||
PHI-WE-FLAME-TIER=火焰噴射器
|
||||
PHI-WE-GUN-TIER=機槍炮塔
|
||||
PHI-WE-RADAR-TIER=雷達
|
||||
PHI-XW-WATER=水
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||
@@ -599,3 +600,4 @@ PHI-WE-LASER-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-FLAME-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-GUN-TIER=預設 3 ; 停用 1
|
||||
PHI-WE-RADAR-TIER=預設 3 ; 停用 1
|
||||
PHI-XW-WATER=預設 1 ; 停用 0
|
||||
|
||||
@@ -13,6 +13,21 @@ data:extend({
|
||||
default_value = true,
|
||||
order = 'A2'
|
||||
},
|
||||
{
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-WE',
|
||||
setting_type = 'startup',
|
||||
default_value = true,
|
||||
order = 'A3'
|
||||
},
|
||||
{
|
||||
type = 'int-setting',
|
||||
name = 'PHI-XW-WATER',
|
||||
setting_type = 'startup',
|
||||
default_value = 1,
|
||||
allowed_values = {0, 1, 2, 3, 4, 5},
|
||||
order = 'A7'
|
||||
},
|
||||
{
|
||||
type = 'int-setting',
|
||||
name = 'PHI-EN-SOLAR-TIER',
|
||||
@@ -83,6 +98,42 @@ data:extend({
|
||||
default_value = 3,
|
||||
allowed_values = {1, 2, 3},
|
||||
order = 'C7'
|
||||
},
|
||||
{
|
||||
type = 'int-setting',
|
||||
name = 'PHI-WE-LASER-TIER',
|
||||
setting_type = 'startup',
|
||||
default_value = 3,
|
||||
allowed_values = {1, 2, 3},
|
||||
order = 'D1'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-WE-FLAME-TIER',
|
||||
setting_type = 'startup',
|
||||
default_value = 3,
|
||||
allowed_values = {1, 2, 3},
|
||||
order = 'D2'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-WE-GUN-TIER',
|
||||
setting_type = 'startup',
|
||||
default_value = 3,
|
||||
allowed_values = {1, 2, 3},
|
||||
order = 'D3'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-WE-RADAR-TIER',
|
||||
setting_type = 'startup',
|
||||
default_value = 3,
|
||||
allowed_values = {1, 2, 3},
|
||||
order = 'D4'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-XW-WATER',
|
||||
setting_type = 'startup',
|
||||
default_value = 5,
|
||||
allowed_values = {1, 2, 3, 4, 5},
|
||||
order = 'H1'
|
||||
}
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user