mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -4,6 +4,7 @@ Date: 2025-06-06
|
||||
|
||||
Changes:
|
||||
- [SA] Introduced asteroid density to reduce the ups usage for space platform.
|
||||
- [CL] Grouped SA Plus and Vanilla Plus together as game mode in the settings.
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.0.111
|
||||
|
||||
@@ -115,7 +115,7 @@ if settings.startup['PHI-MB-EQUIPMENT'].value and settings.startup['PHI-MB-EQUIP
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or settings.startup['PHI-VP'].value then
|
||||
if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
||||
data.raw['mining-drill']['electric-mining-drill'].filter_count = 5
|
||||
|
||||
if mods['space-age'] then
|
||||
@@ -252,7 +252,7 @@ if settings.startup['PHI-MI'].value then
|
||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-MI-ROCKET-CAPACITY'].value * 1000000
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or settings.startup['PHI-VP'].value then
|
||||
if settings.startup['PHI-CT'].value or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '-') then
|
||||
data:extend({{type = 'recipe-category', name = 'fluid'}})
|
||||
|
||||
local item = table.deepcopy(data.raw['item']['offshore-pump'])
|
||||
@@ -344,7 +344,7 @@ if settings.startup['PHI-SA'].value and settings.startup['PHI-SA-QUALITY'].value
|
||||
end
|
||||
end
|
||||
|
||||
if mods['space-age'] and ((settings.startup['PHI-SA'].value and ((not settings.startup['PHI-SA-ENABLE-QUALITY'].value) or settings.startup['PHI-SA-GENERIC'].value)) or settings.startup['PHI-VP'].value) then
|
||||
if mods['space-age'] and ((settings.startup['PHI-SA'].value and (not settings.startup['PHI-SA-ENABLE-QUALITY'].value)) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '-')) then
|
||||
for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do
|
||||
if data.raw.technology[v] then
|
||||
data.raw.technology[v].hidden = true
|
||||
@@ -481,7 +481,7 @@ if (settings.startup['PHI-SA'].value and (not settings.startup['PHI-SA-SPOIL'].v
|
||||
end
|
||||
end
|
||||
|
||||
if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or settings.startup['PHI-VP'].value) then
|
||||
if mods['space-age'] and (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '-') then
|
||||
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
||||
|
||||
data.raw.resource['lithium-brine'].infinite = true
|
||||
@@ -716,7 +716,7 @@ if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-VP'].value then
|
||||
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP' then
|
||||
if mods['space-age'] then
|
||||
data.raw.quality['normal'].level = 0
|
||||
data.raw.quality['normal'].beacon_power_usage_multiplier = 1
|
||||
|
||||
@@ -149,26 +149,31 @@ PHI-MI-PIPE-EXTENT=Pipe Extent
|
||||
PHI-MI-ROCKET-CAPACITY=Rocket capacity
|
||||
|
||||
PHI-SA=[color=255,254,42]Space Age[/color]
|
||||
PHI-SA-GENERIC=Game mode: Space Age Plus
|
||||
PHI-SA-SPOIL=Enable spoilage
|
||||
PHI-SA-SPOIL-FREEZE=Freeze spoilage
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=Freeze spoilage multiplier
|
||||
PHI-SA-ENABLE-QUALITY=Enable quality
|
||||
PHI-SA-QUALITY=Quality chance multiplier
|
||||
|
||||
PHI-VP=[color=255,254,42]Game mode: Vanilla Plus[/color]
|
||||
PHI-GM=[color=255,254,42]Game mode[/color]
|
||||
|
||||
PHI-CT=[color=255,254,42]Creative testing tools[/color]
|
||||
PHI-CT-TILE=Enable map generation world tile
|
||||
PHI-CT-TILE-CHOICE=Map generation tile choice
|
||||
|
||||
[string-mod-setting]
|
||||
PHI-GM-SAP=Space Age Plus
|
||||
PHI-GM-VP=Vanilla Plus
|
||||
|
||||
[mod-setting-description]
|
||||
PHI-MB-EQUIPMENT-SIZE=1x1
|
||||
|
||||
PHI-MI-LANDFILL=50
|
||||
PHI-MI-EFFCY=x0.1
|
||||
PHI-MI-PIPE=x0.1
|
||||
PHI-MI-ROBOT=x0.1
|
||||
PHI-MI-TRAIN=x0.1
|
||||
PHI-MI-ROCKET-CAPACITY='000 KG
|
||||
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=x0.1
|
||||
PHI-SA-QUALITY=x0.1
|
||||
|
||||
@@ -115,15 +115,18 @@ PHI-MI-PIPE-EXTENT=パイプ範囲
|
||||
PHI-MI-ROCKET-CAPACITY=ロケット容量
|
||||
|
||||
PHI-SA=[color=255,254,42]Space Age[/color]
|
||||
PHI-SA-GENERIC=ゲームモード: Space Age プラス
|
||||
PHI-SA-SPOIL=変質を有効にする
|
||||
PHI-SA-SPOIL-FREEZE=変質凍結
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=変質凍結マルチプライヤ
|
||||
PHI-SA-ENABLE-QUALITY=品質を有効にする
|
||||
PHI-SA-QUALITY=品質確率マルチプライヤ
|
||||
|
||||
PHI-VP=[color=255,254,42]ゲームモード: バニラプラス[/color]
|
||||
PHI-GM=[color=255,254,42]ゲームモード[/color]
|
||||
|
||||
PHI-CT=[color=255,254,42]クリエイティブテストツール[/color]
|
||||
PHI-CT-TILE=マップ生成ワールドタイルを有効にする
|
||||
PHI-CT-TILE-CHOICE=マップ生成ドタイル選択
|
||||
|
||||
[string-mod-setting]
|
||||
PHI-GM-SAP=Space Age プラス
|
||||
PHI-GM-VP=バニラプラス
|
||||
|
||||
@@ -115,15 +115,18 @@ PHI-MI-PIPE-EXTENT=管道長度
|
||||
PHI-MI-ROCKET-CAPACITY=火箭容量
|
||||
|
||||
PHI-SA=[color=255,254,42]太空時代[/color]
|
||||
PHI-SA-GENERIC=遊戲模式: 太空時代加強版
|
||||
PHI-SA-SPOIL=啟用變質
|
||||
PHI-SA-SPOIL-FREEZE=變質凍結
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=變質凍結倍數
|
||||
PHI-SA-ENABLE-QUALITY=啟用品質
|
||||
PHI-SA-QUALITY=品質概率倍數
|
||||
|
||||
PHI-VP=[color=255,254,42]遊戲模式: 原版加強版[/color]
|
||||
PHI-GM=[color=255,254,42]遊戲模式[/color]
|
||||
|
||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||
PHI-CT-TILE=啟用地圖生成世界地磚
|
||||
PHI-CT-TILE-CHOICE=地圖生成世界地磚選擇
|
||||
|
||||
[string-mod-setting]
|
||||
PHI-GM-SAP=太空時代加強版
|
||||
PHI-GM-VP=原版加強版
|
||||
|
||||
@@ -115,16 +115,18 @@ PHI-MI-PIPE-EXTENT=管道長度
|
||||
PHI-MI-ROCKET-CAPACITY=火箭容量
|
||||
|
||||
PHI-SA=[color=255,254,42]太空時代[/color]
|
||||
PHI-SA-GENERIC=遊戲模式: 太空時代加強版
|
||||
PHI-SA-SPOIL=啟用變質
|
||||
PHI-SA-SPOIL-FREEZE=變質凍結
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=變質凍結倍數
|
||||
PHI-SA-ENABLE-QUALITY=啟用品質
|
||||
PHI-SA-QUALITY=品質概率倍數
|
||||
|
||||
PHI-VP=[color=255,254,42]遊戲模式: 原版加強版[/color]
|
||||
PHI-GM=[color=255,254,42]遊戲模式[/color]
|
||||
|
||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||
PHI-CT-TILE=啟用地圖生成世界地磚
|
||||
PHI-CT-TILE-CHOICE=地圖生成世界地磚選擇
|
||||
|
||||
[string-mod-setting]
|
||||
PHI-GM-SAP=太空時代加強版
|
||||
PHI-GM-VP=原版加強版
|
||||
|
||||
@@ -139,27 +139,20 @@ data:extend({
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA'}, {'mod-setting-name.PHI-SA'}},
|
||||
order = 'C00'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-SA-GENERIC',
|
||||
setting_type = 'startup',
|
||||
default_value = true,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-GENERIC'}, {'mod-setting-name.PHI-SA-GENERIC'}},
|
||||
order = 'C01'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-SA-SPOIL',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL'}, {'mod-setting-name.PHI-SA-SPOIL'}},
|
||||
order = 'C02'
|
||||
order = 'C01'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-SA-SPOIL-FREEZE',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE'}},
|
||||
order = 'C03'
|
||||
order = 'C02'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-SA-SPOIL-FREEZE-RATIO',
|
||||
@@ -168,14 +161,14 @@ data:extend({
|
||||
minimum_value = 1,
|
||||
maximum_value = 1000,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE-RATIO'}, {'mod-setting-name.PHI-SA-SPOIL-FREEZE-RATIO'}},
|
||||
order = 'C04'
|
||||
order = 'C03'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-SA-ENABLE-QUALITY',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-ENABLE-QUALITY'}, {'mod-setting-name.PHI-SA-ENABLE-QUALITY'}},
|
||||
order = 'C05'
|
||||
order = 'C04'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-SA-QUALITY',
|
||||
@@ -184,13 +177,14 @@ data:extend({
|
||||
minimum_value = 1,
|
||||
maximum_value = 100,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-QUALITY'}, {'mod-setting-name.PHI-SA-QUALITY'}},
|
||||
order = 'C06'
|
||||
order = 'C05'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-VP',
|
||||
type = 'string-setting',
|
||||
name = 'PHI-GM',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-VP'}, {'mod-setting-name.PHI-VP'}},
|
||||
default_value = '',
|
||||
allowed_values = {'', 'SAP', 'VP'},
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-GM'}, {'mod-setting-name.PHI-GM'}},
|
||||
order = 'D00'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
|
||||
Reference in New Issue
Block a user