From 1559c307562f08853e3426e98e893008a8850bb8 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 30 Apr 2026 19:16:11 +0900 Subject: [PATCH] . --- PHI-CL/data/b/sa.lua | 2 +- PHI-CL/locale/en/locale.cfg | 14 ++++++-------- PHI-CL/locale/ja/locale.cfg | 2 +- PHI-CL/locale/zh-CN/locale.cfg | 2 +- PHI-CL/locale/zh-TW/locale.cfg | 2 +- PHI-CL/setting-c.lua | 0 PHI-CL/settings.lua | 6 +++--- 7 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 PHI-CL/setting-c.lua diff --git a/PHI-CL/data/b/sa.lua b/PHI-CL/data/b/sa.lua index 89809a5..6407a17 100644 --- a/PHI-CL/data/b/sa.lua +++ b/PHI-CL/data/b/sa.lua @@ -56,7 +56,7 @@ end -- SA C 1 SPACE_AGE TOOL if settings.startup['PHI-SA'].value then local spoil_set = (not settings.startup['PHI-SA-SPOIL'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP') - local spoil_freeze_set = settings.startup['PHI-SA-SPOIL'].value and settings.startup['PHI-SA-SPOIL-FREEZE'].value and settings.startup['PHI-SA-SPOIL-FREEZE'].value > 0 + local spoil_freeze_set = settings.startup['PHI-SA-SPOIL'].value and settings.startup['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].value and settings.startup['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].value > 0 for _, v in pairs({'nutrients', 'captive-biter-spawner', 'biter-egg', 'pentapod-egg'}) do if spoil_set then diff --git a/PHI-CL/locale/en/locale.cfg b/PHI-CL/locale/en/locale.cfg index aeaa775..5a3cd88 100644 --- a/PHI-CL/locale/en/locale.cfg +++ b/PHI-CL/locale/en/locale.cfg @@ -66,11 +66,10 @@ PHI-MI-PIPE-EXTENT=MI4 PHI-SA=SA PHI-SA-SPOIL=SA1 -PHI-SA-SPOIL-FREEZE=SA2 -PHI-SA-SPOIL-FREEZE-RATIO=SA3 -PHI-SA-ENABLE-QUALITY=SA4 -PHI-SA-QUALITY=SA5 -PHI-SA-ROCKET-CAPACITY=SA6 +PHI-SA-SPOIL-FREEZE-MULTIPLIER=SA2 +PHI-SA-ENABLE-QUALITY=SA3 +PHI-SA-QUALITY=SA4 +PHI-SA-ROCKET-CAPACITY=SA5 PHI-GM=GM @@ -98,7 +97,7 @@ PHI-MI-PIPE-EXTENT=Pipe Extent PHI-SA=Space Age PHI-SA-SPOIL=Spoilage -PHI-SA-SPOIL-FREEZE=Freeze spoilage multiplier +PHI-SA-SPOIL-FREEZE-MULTIPLIER=Freeze spoilage multiplier PHI-SA-ENABLE-QUALITY=Quality PHI-SA-QUALITY=Quality chance multiplier PHI-SA-ROCKET-CAPACITY=Rocket capacity @@ -111,7 +110,6 @@ PHI-CT-TILE-CHOICE=Map generation tile choice [string-mod-setting] PHI-GM-SAP=[color=54,228,255]SAP[/color] Space Age Plus -PHI-GM-SS=[color=54,228,255]SS[/color] Space Ship PHI-GM-VP=[color=54,228,255]VP[/color] Vanilla Plus PHI-CT-TILE-CHOICE-landfill=[tile=landfill] Landfill PHI-CT-TILE-CHOICE-stone-path=[tile=stone-path] Stone Path @@ -147,6 +145,6 @@ PHI-MI-PIPE=[item=pipe] x0.1 PHI-MI-ROBOT-ENERGY=[item=battery] PHI-MI-PIPE-EXTENT=[item=pipe-to-ground] -PHI-SA-SPOIL-FREEZE-RATIO=[virtual-signal=signal-clock] x0.1 +PHI-SA-SPOIL-FREEZE-MULTIPLIER=[virtual-signal=signal-clock] x0.1 PHI-SA-QUALITY=x0.1 PHI-SA-ROCKET-CAPACITY=[item=rocket-silo] '000 KG diff --git a/PHI-CL/locale/ja/locale.cfg b/PHI-CL/locale/ja/locale.cfg index 881032d..61b9281 100644 --- a/PHI-CL/locale/ja/locale.cfg +++ b/PHI-CL/locale/ja/locale.cfg @@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=パイプ範囲 PHI-SA=Space Age PHI-SA-SPOIL=変質 -PHI-SA-SPOIL-FREEZE=変質凍結マルチプライヤ +PHI-SA-SPOIL-FREEZE-MULTIPLIER=変質凍結マルチプライヤ PHI-SA-ENABLE-QUALITY=品質 PHI-SA-QUALITY=品質確率マルチプライヤ PHI-SA-ROCKET-CAPACITY=ロケット容量 diff --git a/PHI-CL/locale/zh-CN/locale.cfg b/PHI-CL/locale/zh-CN/locale.cfg index 619df1b..587c90e 100644 --- a/PHI-CL/locale/zh-CN/locale.cfg +++ b/PHI-CL/locale/zh-CN/locale.cfg @@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=管道長度 PHI-SA=太空時代 PHI-SA-SPOIL=變質 -PHI-SA-SPOIL-FREEZE=變質凍結倍數 +PHI-SA-SPOIL-FREEZE-MULTIPLIER=變質凍結倍數 PHI-SA-ENABLE-QUALITY=品質 PHI-SA-QUALITY=品質概率倍數 PHI-SA-ROCKET-CAPACITY=火箭容量 diff --git a/PHI-CL/locale/zh-TW/locale.cfg b/PHI-CL/locale/zh-TW/locale.cfg index 619df1b..587c90e 100644 --- a/PHI-CL/locale/zh-TW/locale.cfg +++ b/PHI-CL/locale/zh-TW/locale.cfg @@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=管道長度 PHI-SA=太空時代 PHI-SA-SPOIL=變質 -PHI-SA-SPOIL-FREEZE=變質凍結倍數 +PHI-SA-SPOIL-FREEZE-MULTIPLIER=變質凍結倍數 PHI-SA-ENABLE-QUALITY=品質 PHI-SA-QUALITY=品質概率倍數 PHI-SA-ROCKET-CAPACITY=火箭容量 diff --git a/PHI-CL/setting-c.lua b/PHI-CL/setting-c.lua deleted file mode 100644 index e69de29..0000000 diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 956a8ca..16a8f28 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -128,12 +128,12 @@ data:extend({ order = 'C01' }, { type = 'int-setting', - name = 'PHI-SA-SPOIL-FREEZE', + name = 'PHI-SA-SPOIL-FREEZE-MULTIPLIER', setting_type = 'startup', default_value = 50, minimum_value = 0, maximum_value = 1000, - localised_name = {'phi-cl.setting-class-color', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE'}, {'phi-cl.proportion', {'mod-setting-name.PHI-SA-SPOIL-FREEZE'}}}, + localised_name = {'phi-cl.setting-class-color', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE-MULTIPLIER'}, {'phi-cl.proportion', {'mod-setting-name.PHI-SA-SPOIL-FREEZE-MULTIPLIER'}}}, order = 'C02' }, { type = 'bool-setting', @@ -197,7 +197,7 @@ data:extend({ if mods['space-age'] then data.raw['bool-setting']['PHI-MB-EQUIPMENT-ARMOR'].localised_description = {'', '[item=power-armor-mk2] 3, [item=mech-armor] 2'} data.raw['bool-setting']['PHI-SA-SPOIL'].localised_description = {'', '[item=spoilage]'} - data.raw['int-setting']['PHI-SA-SPOIL-FREEZE'].localised_description = {'', '[item=ice]'} + data.raw['int-setting']['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].localised_description = {'', '[item=ice]'} data.raw['bool-setting']['PHI-SA-ENABLE-QUALITY'].localised_description = {'', '[virtual-signal=signal-any-quality]'} data.raw['int-setting']['PHI-SA-QUALITY'].localised_description = {'', '[item=quality-module-3] x 0.1'} end