From a3b0889f8e8c15dd96e769e70770fac6d1c859be Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 1 Jul 2026 23:06:41 +0900 Subject: [PATCH] . --- PHI-CL/data/f/ct.lua | 4 ++-- PHI-CL/locale/en/locale.cfg | 3 +-- PHI-CL/locale/ja/locale.cfg | 3 +-- PHI-CL/locale/zh-CN/locale.cfg | 3 +-- PHI-CL/locale/zh-TW/locale.cfg | 3 +-- PHI-CL/settings.lua | 15 ++++----------- 6 files changed, 10 insertions(+), 21 deletions(-) diff --git a/PHI-CL/data/f/ct.lua b/PHI-CL/data/f/ct.lua index 4099197..2a3e7ac 100644 --- a/PHI-CL/data/f/ct.lua +++ b/PHI-CL/data/f/ct.lua @@ -23,7 +23,7 @@ if items['hide'] and (data.raw['infinity-container']['super-infinity-chest'] or end -- CT A 1 BASE MAP_GEN_PRESET -if settings.startup['PHI-CT-TILE'].value then +if data.raw.tile[settings.startup['PHI-CT-TILE'].value] then local autoplace_setting_decorative = {} local autoplace_setting_entity = {} local autoplace_setting_tile = {} @@ -36,7 +36,7 @@ if settings.startup['PHI-CT-TILE'].value then } end - autoplace_setting_tile[settings.startup['PHI-CT-TILE-CHOICE'].value] = { + autoplace_setting_tile[settings.startup['PHI-CT-TILE'].value] = { frequency = 1, size = 1, richness = 1 diff --git a/PHI-CL/locale/en/locale.cfg b/PHI-CL/locale/en/locale.cfg index a6d4644..d3ee1be 100644 --- a/PHI-CL/locale/en/locale.cfg +++ b/PHI-CL/locale/en/locale.cfg @@ -69,8 +69,7 @@ PHI-SA-QUALITY=Quality chance PHI-GM=Game Mode PHI-CT=Creative Tool -PHI-CT-TILE=Map generation world tile -PHI-CT-TILE-CHOICE=Map generation tile choice +PHI-CT-TILE=Map generation tile choice [string-mod-setting] PHI-GM-SAP=[color=54,228,255]SAP[/color] Space Age Plus diff --git a/PHI-CL/locale/ja/locale.cfg b/PHI-CL/locale/ja/locale.cfg index 4fee53d..ca6e949 100644 --- a/PHI-CL/locale/ja/locale.cfg +++ b/PHI-CL/locale/ja/locale.cfg @@ -64,8 +64,7 @@ PHI-SA-QUALITY=品質確率 PHI-GM=ゲームモード PHI-CT=クリエイティブテストツール -PHI-CT-TILE=マップ生成ワールドタイル -PHI-CT-TILE-CHOICE=マップ生成ドタイル選択 +PHI-CT-TILE=マップ生成ドタイル選択 [string-mod-setting] PHI-GM-SAP=[color=54,228,255]SAP[/color] Space Age プラス diff --git a/PHI-CL/locale/zh-CN/locale.cfg b/PHI-CL/locale/zh-CN/locale.cfg index 3700d59..95e0643 100644 --- a/PHI-CL/locale/zh-CN/locale.cfg +++ b/PHI-CL/locale/zh-CN/locale.cfg @@ -64,8 +64,7 @@ PHI-SA-QUALITY=品質概率 PHI-GM=遊戲模式 PHI-CT=創意工具 -PHI-CT-TILE=地圖生成世界地磚 -PHI-CT-TILE-CHOICE=地圖生成世界地磚選擇 +PHI-CT-TILE=地圖生成世界地磚選擇 [string-mod-setting] PHI-GM-SAP=[color=54,228,255]SAP[/color] 太空時代加強版 diff --git a/PHI-CL/locale/zh-TW/locale.cfg b/PHI-CL/locale/zh-TW/locale.cfg index 3700d59..95e0643 100644 --- a/PHI-CL/locale/zh-TW/locale.cfg +++ b/PHI-CL/locale/zh-TW/locale.cfg @@ -64,8 +64,7 @@ PHI-SA-QUALITY=品質概率 PHI-GM=遊戲模式 PHI-CT=創意工具 -PHI-CT-TILE=地圖生成世界地磚 -PHI-CT-TILE-CHOICE=地圖生成世界地磚選擇 +PHI-CT-TILE=地圖生成世界地磚選擇 [string-mod-setting] PHI-GM-SAP=[color=54,228,255]SAP[/color] 太空時代加強版 diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 655d03f..04e09d9 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -165,21 +165,14 @@ data:extend({ localised_name = {'phi-cl.setting-category-color', 'CT', {'phi-cl.enable'}, {'mod-setting-name.PHI-CT'}}, localised_description = {'', {'phi-cl.setting-change-color', '[24] A19 C2 U3'}}, order = 'E00' -}, { - type = 'bool-setting', - name = 'PHI-CT-TILE', - setting_type = 'startup', - default_value = false, - localised_name = {'phi-cl.setting-class-color', 'CT1', {'phi-cl.enable'}, {'mod-setting-name.PHI-CT-TILE'}}, - localised_description = {'', {'phi-cl.setting-change-color', '[1] C1'}}, - order = 'E01' }, { type = 'string-setting', - name = 'PHI-CT-TILE-CHOICE', + name = 'PHI-CT-TILE', setting_type = 'startup', default_value = 'grass-1', allowed_values = {'landfill', 'stone-path', 'concrete', 'refined-concrete', 'water', 'water-mud', 'water-shallow', 'deepwater', 'deepwater-green', 'dirt-1', 'dirt-2', 'dirt-3', 'dirt-4', 'dirt-5', 'dirt-6', 'dirt-7', 'dry-dirt', 'grass-1', 'grass-2', 'grass-3', 'grass-4'}, - localised_name = {'phi-cl.setting-class-color', 'CT2', '', {'mod-setting-name.PHI-CT-TILE-CHOICE'}}, - order = 'E02' + localised_name = {'phi-cl.setting-class-color', 'CT1', '', {'mod-setting-name.PHI-CT-TILE-CHOICE'}}, + localised_description = {'', {'phi-cl.setting-change-color', '[1] A1'}}, + order = 'E01' } })