Page 1 of 1
[2.1.13] [Modding] Technologies cannot be re-ordered with subgroup/order
Posted: Thu Aug 06, 2026 11:39 am
by snouz
Hi,
I found that
technologies should support "subgroup" and "order" for ordering, according to the api docs, but I tested it and it doesn't re-order the tech at all, even between 2 techs with the same science pack types.

- 08-06-2026, 13-35-56.png (240.47 KiB) Viewed 307 times

- 08-06-2026, 13-36-13.png (225.63 KiB) Viewed 307 times
Code: Select all
{
type = "item-group",
name = "moshine-tech",
icon = "__core__/graphics/icons/category/unsorted.png",
icon_size = 128,
order = "zz"
},
{
type = "item-subgroup",
name = "moshine-tech-with-datacells",
group = "moshine-tech",
order = "e"
},
Re: [2.1.13] [Modding] Technologies cannot be re-ordered with subgroup/order
Posted: Thu Aug 06, 2026 12:18 pm
by Rseding91
Thanks for the report however this is not a bug and works how described. Your technologies have different costs - one takes 100 science packs and one takes 80. The one that takes 80 comes first because it takes less packs.
Technologies are ordered:
research-state < non-infinite < science-pack-cost < order-string < name
Re: [2.1.13] [Modding] Technologies cannot be re-ordered with subgroup/order
Posted: Thu Aug 06, 2026 12:37 pm
by snouz
Rseding91 wrote: Thu Aug 06, 2026 12:18 pm
Thanks for the report however this is not a bug and works how described. Your technologies have different costs - one takes 100 science packs and one takes 80. The one that takes 80 comes first because it takes less packs.
Technologies are ordered:
research-state < non-infinite < science-pack-cost < order-string < name
Thanks for the response
The inclusion of subgroup and order (even on the type ancestor) suggest that these would overwrite this natural order, like they would for items, and it's what I was trying to do. Would that be an acceptable API interface request?
In any other case, I think the API docs should maybe reflect the hardcoded nature of the ordering (subgroup/order should be "overwritten" or a description should be written)
Re: [2.1.13] [Modding] Technologies cannot be re-ordered with subgroup/order
Posted: Thu Aug 06, 2026 2:18 pm
by Rseding91
There are multiple places and ways things get ordered and as far as I know nothing in the documentation says the order that's used by this specific GUI.