From 79da30a5255795bf6843b4842f6782829448d756 Mon Sep 17 00:00:00 2001 From: limelou <119715684+limelou@users.noreply.github.com> Date: Thu, 9 Oct 2025 19:40:17 -0700 Subject: [PATCH 1/3] create item groups --- data-final-fixes.lua | 1 + data.lua | 1 + locale/en/locale.cfg | 3 +++ locale/fr/locale.cfg | 2 +- prototypes/item-groups.lua | 20 ++++++++++++++++++++ 5 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 prototypes/item-groups.lua diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 81affff..0f530b0 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -124,6 +124,7 @@ if create_signal_mode then end end end + recipe.subgroup = "py-recipes" recipe.hide_from_signal_gui = false end end diff --git a/data.lua b/data.lua index 50ebf18..4f34740 100644 --- a/data.lua +++ b/data.lua @@ -1,3 +1,4 @@ +require("prototypes.item-groups") require("prototypes.custom-input") -- Log all mods & versions, Alien Biomes already does this so we skip if it is active if not mods["alien-biomes"] then diff --git a/locale/en/locale.cfg b/locale/en/locale.cfg index ad74603..99bfdd3 100644 --- a/locale/en/locale.cfg +++ b/locale/en/locale.cfg @@ -32,3 +32,6 @@ recipe-amount=(__1__ ×) __2__ [modifier-description] change-recipe-productivity=__1__ productivity: __2__ + +[item-group-name] +py-postprocessing=Py Postprocessing diff --git a/locale/fr/locale.cfg b/locale/fr/locale.cfg index 174ed0b..ce393b7 100644 --- a/locale/fr/locale.cfg +++ b/locale/fr/locale.cfg @@ -25,4 +25,4 @@ affected-by-productivity=[font=default-semibold][color=255,230,192]Affecté par recipe-amount=(__1__ ×) __2__ [modifier-description] -change-recipe-productivity=Productivité __1__ : __2__ \ No newline at end of file +change-recipe-productivity=Productivité __1__ : __2__ diff --git a/prototypes/item-groups.lua b/prototypes/item-groups.lua new file mode 100644 index 0000000..bd478c0 --- /dev/null +++ b/prototypes/item-groups.lua @@ -0,0 +1,20 @@ +local create_signal_mode = settings.startup["pypp-extended-recipe-signals"].value + +if create_signal_mode then + data:extend { + { + type = "item-group", + name = "py-postprocessing", + order = "v", + inventory_order = "v", + icon = "__pycoalprocessinggraphics__/graphics/icons/automated-factory-mk01.png", + icon_size = 64 + }, + { + type = "item-subgroup", + name = "py-recipes", + group = "py-postprocessing", + order = "a-a" + }, + } +end From 523466d9678634eaa827fc474f809a5fd54db1ec Mon Sep 17 00:00:00 2001 From: limelou <119715684+limelou@users.noreply.github.com> Date: Thu, 9 Oct 2025 19:40:25 -0700 Subject: [PATCH 2/3] changelog --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 79111fd..820c3e3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,7 @@ Date: ???? - Updated Simplified Chinese locale courtesy of @alone on Discord - Add compatibility with AAI Signal Transmission. Now researched after logistics science and uses contemporary ingredients + - Recipe signals are now sorted into their own item-group in the crafting tab --------------------------------------------------------------------------------------------------- Version: 3.0.39 Date: 2025-09-15 From 5b41c5bfbde5c44ca275a4071efa5634230739fc Mon Sep 17 00:00:00 2001 From: limelou <119715684+limelou@users.noreply.github.com> Date: Thu, 9 Oct 2025 20:14:41 -0700 Subject: [PATCH 3/3] unintentional change --- locale/fr/locale.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/fr/locale.cfg b/locale/fr/locale.cfg index ce393b7..174ed0b 100644 --- a/locale/fr/locale.cfg +++ b/locale/fr/locale.cfg @@ -25,4 +25,4 @@ affected-by-productivity=[font=default-semibold][color=255,230,192]Affecté par recipe-amount=(__1__ ×) __2__ [modifier-description] -change-recipe-productivity=Productivité __1__ : __2__ +change-recipe-productivity=Productivité __1__ : __2__ \ No newline at end of file