Will you add new utility constants?

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
ArsStels
Inserter
Inserter
Posts: 23
Joined: Sat Aug 21, 2021 2:28 am
Contact:

Will you add new utility constants?

Post by ArsStels »

Briefly
Some "utility constants" are missing: for garbage slots, blueprints, filters, and combinators.
What?
There are:

Code: Select all

["utility-constants"]

inventory_width
select_slot_row_count
module_inventory_width
But there is a problem - when increasing the select_slot_row_count and maintaining the standard inventory_width, we get a picture that the width of the right window in the inventory is large, and the garbage slots are much smaller in width than our new width of the creation/logistics window. If we leave select_slot_row_count equal to 10, and increase inventory_width, for example, to 20, we will get a real columbourg. We will have a wide inventory and wide garbage slots. At the same time, the number of columns for recipes and filters will remain equal to 10.
Here I increased the width of the inventory to 12, and the width of the creation window to 16. You can see how the trash slots have become the width of the inventory on the left, and the group filters do not fill the empty space on the right.
Here I increased the width of the inventory to 12, and the width of the creation window to 16. You can see how the trash slots have become the width of the inventory on the left, and the group filters do not fill the empty space on the right.
IMG_20250513_000509.jpg (1.05 MiB) Viewed 575 times
Please add separate constants:
  • logistic_trash_width
  • filter_width
  • input_signal_width + output_signal_width OR
  • signal_width (for combinators)
  • blueprint_storage_width
  • blueprint_storage_explained_width
Alternative: make the logistic_trash_width equal to select_slot_row_count, as well as the filter_width also equal to select_slot_row_count.

Additionally
It is important to note that this will also affect roboports, combinators, cars, spidertron, and everything that has access to groups with filters. In this case, you also need to add the same parameter to the roboports... And maybe something else to get ahead of the subsequent visual bugs.
Why?
I would like to make a mod to set access to these parameters for players with wide monitors (for example, myself).
With a resolution of 2 5 6 0 x 1 0 8 0, the inventory looks small, given the number of new resources in the Space-Age add-on, or in the modpack with more new content, which I also support.

Expansion:
The ideal solution would be if each player could customize these settings for themselves, since not every player has a wide screen, for some it is 4:3, for example. And he will have to reduce his inventory by less than 75% to see everything completely.
ArsStels
Inserter
Inserter
Posts: 23
Joined: Sat Aug 21, 2021 2:28 am
Contact:

Re: Will you add new utility constants?

Post by ArsStels »

Move the post here, please. I didn't post it there. :shock: :o
Rseding91
Factorio Staff
Factorio Staff
Posts: 15712
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Will you add new utility constants?

Post by Rseding91 »

logistic_trash_width is already defined the same as inventory_width - but could be its own thing given the styles don't match perfectly between standard inventories and trash slots.
filter_width -> could be added - currently hard coded.
input_signal_width + output_signal_width OR signal_width (for combinators) - I'm not sure what this is referring to?
blueprint_storage_width -> could be added - currently hard coded.
blueprint_storage_explained_width -> I'm not sure what this refers to?
If you want to get ahold of me I'm almost always on Discord.
ArsStels
Inserter
Inserter
Posts: 23
Joined: Sat Aug 21, 2021 2:28 am
Contact:

Re: Will you add new utility constants?

Post by ArsStels »

Rseding91 wrote: Mon May 19, 2025 10:29 pm input_signal_width + output_signal_width OR signal_width (for combinators) - I'm not sure what this is referring to?
Combinators have an interface width, which is the number of columns of signals that can be displayed with a red or green signal from the logistics network. There is also an output of the same signals.
Rseding91 wrote: Mon May 19, 2025 10:29 pm blueprint_storage_explained_width -> I'm not sure what this refers to?
The extended display is just the "standard" display. Even no, it's not like that. There are three types of display - in rows, in the table style and in the extended table style (large icons and names of blueprints)


Most likely, I did not express myself correctly and it was incomprehensible. Now I've given it more meaning. :geek:
Rseding91
Factorio Staff
Factorio Staff
Posts: 15712
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Will you add new utility constants?

Post by Rseding91 »

I've added several of these for the next release. I did not do anything with combinators because I have no idea about them.
If you want to get ahold of me I'm almost always on Discord.
ArsStels
Inserter
Inserter
Posts: 23
Joined: Sat Aug 21, 2021 2:28 am
Contact:

Re: Will you add new utility constants?

Post by ArsStels »

Rseding91 wrote: Fri May 23, 2025 2:54 pm I've added several of these for the next release.
What about the possibility of customizing these parameters for each player individually? Of course, this is a constant, but there is no way it can be customized specifically by each player?

For example, the same width of the inventory and the recipe window. Is it possible to make it unique for everyone, and not for everyone?
Post Reply

Return to “Modding interface requests”