From e4974d874e6abf7ea965025e726e2d38a81df897 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 28 Jan 2025 00:10:37 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 7 ------- PHI-CL/config.lua | 27 --------------------------- PHI-CL/data.lua | 29 ----------------------------- PHI-CL/locale/en/locale.cfg | 2 -- PHI-CL/locale/ja/locale.cfg | 1 - PHI-CL/locale/zh-TW/locale.cfg | 1 - PHI-CL/settings.lua | 7 ------- 7 files changed, 74 deletions(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 266650d..adc9382 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,10 +1,3 @@ ---------------------------------------------------------------------------------------------------- -Version: 3.0.59 -Date: 2025-01-28 - - Features: - - [MI] Option for more type of item productivity. - --------------------------------------------------------------------------------------------------- Version: 3.0.58 Date: 2025-01-25 diff --git a/PHI-CL/config.lua b/PHI-CL/config.lua index d94f620..1c441fc 100644 --- a/PHI-CL/config.lua +++ b/PHI-CL/config.lua @@ -356,33 +356,6 @@ local items = { graphics_name = 'solar-panel-equipment' } }, - ['item_productivity'] = { - ['solar-panel'] = 'solar-energy', - ['accumulator'] = 'electric-energy-accumulators', - ['landfill'] = 'landfill', - ['cliff-explosives'] = 'cliff-explosives', - ['concrete'] = 'concrete', - ['refined-concrete'] = 'concrete', - ['foundation'] = 'foundation', - --[[ - ['artificial-yumako-soil'] = 'artificial-soil', - ['artificial-jellynut-soil'] = 'artificial-soil', - ['overgrowth-yumako-soil'] = 'overgrowth-soil', - ['overgrowth-jellynut-soil'] = 'overgrowth-soil', - ]] - ['copper-cable'] = 'automation', - ['electronic-circuit'] = 'automation', - ['advanced-circuit'] = 'advanced-circuit', - ['sulfur'] = 'sulfur-processing', - ['explosives'] = 'explosives', - ['battery'] = 'battery', - ['engine'] = 'engine', - ['electric-engine'] = 'electric-engine', - ['flying-robot-frame'] = 'robotics', - ['iron-gear-wheel'] = 'automation', - ['iron-stick'] = 'concrete', - ['ice-melting'] = 'ice-melting', - }, ['space-age'] = { ['science'] = { ['agricultural-science-pack'] = true, diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 75b0e97..f7a9d90 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -333,35 +333,6 @@ if settings.startup['PHI-MI'].value then end end - if settings.startup['PHI-MI-PRODUCTIVITY'].value then - for k, v in pairs(items.item_productivity) do - if data.raw.recipe[k] and data.raw.technology[v] then - data:extend({{ - type = 'technology', - name = k .. '-productivity', - enabled = true, - prerequisites = v, - effects = { - { - type = 'change-recipe-productivity', - recipe = k, - change = 0.1 - } - }, - unit = { - count_formula = '(1.5^L)*1000', - ingredients = table.deepcopy(data.raw.technology[v].unit.ingredients), - time = data.raw.technology[v].unit.time - }, - icon = data.raw.technology[v].icon, - icon_size = 64, - max_level = 'infinite', - upgrade = true - }}) - end - end - end - data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-MI-ROCKET-CAPACITY'].value * 1000000 data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-MI-CARGO-WEIGHT'].value diff --git a/PHI-CL/locale/en/locale.cfg b/PHI-CL/locale/en/locale.cfg index 10a520c..df23fdf 100644 --- a/PHI-CL/locale/en/locale.cfg +++ b/PHI-CL/locale/en/locale.cfg @@ -123,7 +123,6 @@ PHI-MI-TRAIN=[color=54,228,255]MI7[/color] PHI-MI-PIPE-EXTENT=[color=54,228,255]MI8[/color] PHI-MI-ROCKET-CAPACITY=[color=54,228,255]MI9[/color] PHI-MI-CARGO-WEIGHT=[color=54,228,255]MI10[/color] -PHI-MI-PRODUCTIVITY=[color=54,228,255]MI11[/color] PHI-SA=[color=255,254,42]SA[/color] PHI-SA-HEAT-RADIUS=[color=54,228,255]SA1[/color] @@ -174,7 +173,6 @@ PHI-MI-TRAIN=Train efficiency PHI-MI-PIPE-EXTENT=Pipe Extent PHI-MI-ROCKET-CAPACITY=Rocket capacity PHI-MI-CARGO-WEIGHT=Rocket cargo weight -PHI-MI-PRODUCTIVITY=Item productivity PHI-SA=[color=255,254,42]Space Age[/color] PHI-SA-HEAT-RADIUS=Heat radius diff --git a/PHI-CL/locale/ja/locale.cfg b/PHI-CL/locale/ja/locale.cfg index 0a8ba50..c49117c 100644 --- a/PHI-CL/locale/ja/locale.cfg +++ b/PHI-CL/locale/ja/locale.cfg @@ -123,7 +123,6 @@ PHI-MI-TRAIN=列車効率 PHI-MI-PIPE-EXTENT=パイプ範囲 PHI-MI-ROCKET-CAPACITY=ロケット容量 PHI-MI-CARGO-WEIGHT=ロケット積載重量 -PHI-MI-PRODUCTIVITY=アイテム生産効率 PHI-SA=[color=255,254,42]Space Age[/color] PHI-SA-HEAT-RADIUS=熱半径 diff --git a/PHI-CL/locale/zh-TW/locale.cfg b/PHI-CL/locale/zh-TW/locale.cfg index 620ea6c..d8c2b9e 100644 --- a/PHI-CL/locale/zh-TW/locale.cfg +++ b/PHI-CL/locale/zh-TW/locale.cfg @@ -123,7 +123,6 @@ PHI-MI-TRAIN=火車效率 PHI-MI-PIPE-EXTENT=管道長度 PHI-MI-ROCKET-CAPACITY=火箭容量 PHI-MI-CARGO-WEIGHT=火箭貨物重量 -PHI-MI-PRODUCTIVITY=物品生產力 PHI-SA=[color=255,254,42]太空時代[/color] PHI-SA-HEAT-RADIUS=熱半徑 diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 272083c..9be4154 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -218,13 +218,6 @@ data:extend({ maximum_value = 1000, localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-CARGO-WEIGHT'}, {'mod-setting-name.PHI-MI-CARGO-WEIGHT'}}, order = 'C10' -}, { - type = 'bool-setting', - name = 'PHI-MI-PRODUCTIVITY', - setting_type = 'startup', - default_value = false, - localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PRODUCTIVITY'}, {'mod-setting-name.PHI-MI-PRODUCTIVITY'}}, - order = 'C11' }, { type = 'bool-setting', name = 'PHI-SA',