From b8699a48552aca380952dc8a3fef9ef8c082e0fb Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sun, 23 Mar 2025 13:22:40 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 7 +++++++ PHI-CL/control.lua | 3 +++ PHI-CL/data.lua | 15 +++++++++++++++ PHI-CL/info.json | 2 +- 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index cf07fb6..ce12d08 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.82 +Date: 2025-03-24 + + Changes: + - [CT] Some changes to original hidden items. + --------------------------------------------------------------------------------------------------- Version: 3.0.81 Date: 2025-03-24 diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 2d8dd3c..4d0670c 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -50,6 +50,9 @@ if settings.startup['PHI-CT'].value then force.recipes['super-radar'].enabled = enable force.recipes['passive-energy-void'].enabled = enable force.recipes['linked-chest'].enabled = enable + force.recipes['infinity-chest'].enabled = enable + force.recipes['infinity-cargo-wagon'].enabled = enable + force.recipes['infinity-pipe'].enabled = enable end script.on_event(defines.events.on_player_cheat_mode_enabled, function(e) diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index c44ad7f..658d1d8 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -1317,6 +1317,21 @@ if settings.startup['PHI-CT'].value then data:extend(s) + for _, v in pairs({'infinity-chest', 'infinity-cargo-wagon', 'infinity-pipe'}) do + data.raw['item'][v].hidden = false + + data:extend({{ + type = 'recipe', + name = data.raw['item'][v].name, + energy_required = 2, + enabled = false, + ingredients = {}, + results = {{type = 'item', name = data.raw['item'][v].name, amount = 1}}, + main_product = data.raw['item'][v].name, + localised_name = {'name.' .. data.raw['item'][v].name} + }}) + end + local item = table.deepcopy(data.raw['item']['radar']) item.name = 'super-radar' item.place_result = item.name diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 6a96feb..025c584 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,6 +1,6 @@ { "name": "PHI-CL", - "version": "3.0.81", + "version": "3.0.82", "factorio_version": "2.0", "date": "2025-03-24", "title": "Phidias Collection",