Page 1 of 1
How to change what quality actually Does?
Posted: Wed Dec 18, 2024 10:36 am
by guy smiley
I'm looking to make a mod that changes the effects of quality on certain entities. For example, I would like to change Big Electric Pole so it gets no area increase with quality, and instead drastically more wire reach instead. But, I have no idea how to see, or change, what the stats of an entity are that are affected by quality, or by how much. Nothing whatsoever in the Quality mod itself pertains to this, as far as I can tell.
Can anyone help?
Re: How to change what quality actually Does?
Posted: Wed Dec 18, 2024 4:36 pm
by petrathekat
Unfortunately I'm pretty sure it's hard-coded. The game engine has some list of attributes affected by quality and you can't modify them.

Re: How to change what quality actually Does?
Posted: Wed Dec 18, 2024 8:30 pm
by BraveCaperCat
You can however make new entities and switch to them when you have quality regular ones. They can be quality only and any prototype values you can change (so, pretty much everything) can be modified by quality levels. This however only works for entities. This would allow you to rewrite any quality effects from scratch (if you want to, some entities can stay the same)
Re: How to change what quality actually Does?
Posted: Thu Dec 19, 2024 6:19 am
by guy smiley
ah yeah that's probably a workable idea @BraveCat ty ty. this would probably only be for myself anyway, so UI being wrong/inaccurate would be ok.
I do hope quality effects are made visible/moddable in the future tho, cos yeah this solution would not be reflected in the quality stats visible in factoriopedia and places.
Re: How to change what quality actually Does?
Posted: Fri Dec 20, 2024 7:37 pm
by BraveCaperCat
guy smiley wrote: Thu Dec 19, 2024 6:19 am
ah yeah that's probably a workable idea @BraveCat ty ty. this would probably only be for myself anyway, so UI being wrong/inaccurate would be ok.
I do hope quality effects are made visible/moddable in the future tho, cos yeah this solution would not be reflected in the quality stats visible in factoriopedia and places.
Actually, that's exactly what
Quality Rebalance does. I made a fork once, but I don't work on it anymore sadly.