Allow scaling of any entity field via modding API

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
ninjabunny13
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Oct 04, 2025 7:26 am
Contact:

Allow scaling of any entity field via modding API

Post by ninjabunny13 »

TL;DR I think it would be good to have the modding API extended to allow for more fields to be scaled using quality.

This would allow for more mods to build on the quality system and make more interesting systems. Some fields that are disabled by default can currently be enabled but it would be nice to be able to pass in a key and config for any field and have it scale, and integrate correctly with the factoriopedia. There are mod libs that currently work around this limitation but they're far from elegant given the limitations they're working around, and cause undesired side effects (like the aforementioned breaking of factoriopedia, and general weirdness in game)

One specific example of the usefulness of this is that I noticed the suggestion of roboport range scaling with quality making the rounds. It seemed like many people were hesitant for it to be a vanilla feature because it would mess up logistic network gaps, while others didn't seem to mind and would really like this feature. However, the current mod implementations for this feature are hacky because range is not one of the fields that is allowed for scaling with quality. If the API was extended this would at least allow mods to fill this feature gap, and others.
Last edited by ninjabunny13 on Sat Oct 04, 2025 7:50 am, edited 1 time in total.
Koub
Global Moderator
Global Moderator
Posts: 8043
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Allow scaling of any entity field via modding API

Post by Koub »

[Koub] Moved to Modding interface requests from Ideas and Suggestions.
Koub - Please consider English is not my native language.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16215
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Allow scaling of any entity field via modding API

Post by Rseding91 »

A generic request for "any" field is simply not going to happen. Every field we support requires tests, implementation, and maintenance of any found issues going forward which is a huge amount of work for us if we never uses it. We may implement *some* properties for modding that we never use, but they would have to be specific requests and make sense for the effort they require.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding interface requests”