Decouple quality effects

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
The_Mormegil
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Apr 01, 2016 7:38 am
Contact:

Decouple quality effects

Post by The_Mormegil »

Haven't seen this around so I guess I'll make a post. If it's a "won't implement" for some technical reason I'd rather know.

Currently the only way to mod quality is to change levels. This impacts every quality effect equally, so if I want my quality crafting speed to be, say, 1.9 at rare, I have to also have rare spoilables last longer, and rare modules get a larger boost.

I don't know why quality hasn't been implemented in a way that's easier to mod, but I'm guessing there's reasons for that? But maybe having different levels for each of the possible effects won't be as bad. In theory this should just require a few more integers in memory (e.g. "crafting-speed-level" and "spoiling-time-level" in the quality "rare" table, instead of just "level"; plus a pass on where that level is read to make each method read a different value). Not free but not terrible, unless I'm imagining the implementation completely wrong.
curiosity
Filter Inserter
Filter Inserter
Posts: 663
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Decouple quality effects

Post by curiosity »

Post Reply

Return to “Modding interface requests”