Is it possible to forbid quality recipes basing on assembler quality?
Posted: Sun Jan 12, 2025 3:54 pm
I noticed that on my second run I'm intentionally delaying researching the quality because of the UI downside: all recipe selections suddenly get a second step and that step is in most cases completely unneeded - I have to just confirm that normal quality is indeed what I want.
Is it possible to restrict quality recipes so that they could only be crafted on certain assemblers that meet the quality requirements? If yes - I'll probably mod it for myself and then publish for everyone else, I already saw similar feedback regarding the UI.
The idea is as follows: to craft a recipe of quality X your assembler MUST itself be of quality of at least X. Examples:
1. A normal quality assembling machine (1,2 or 3 - doesn't matter) could only produce the normal quality recipes and will therefore never get the extra UI step. It could still produce higher quality items if quality modules are inserted, but it could never be used to assemble a quality recipe directly.
2. An uncommon quality assembler could assemble normal and uncommon recipes (and produce rare+ only sometimes and only with quality modules), etc.
I'm imagining some kind of LUA script that would go through the recipe catalog at load time and adjust list of recipes that an assembler is allowed to assemble. This way the extra quality will remain hidden for most of the factories.
Is such a thing possible?
==== Some more thoughts on the matter ====
I understand, that this makes production of the quality items somewhat harder. For mass-production you need not only quality modules, but also you need to get lucky enough to get assemblers of sufficient quality. Building a full-scale quality plant that could handle all 5 levels and never get jammed with extra items becomes delayed and more of a challenge.
That said - I'm totally fine with that idea.
Is it possible to restrict quality recipes so that they could only be crafted on certain assemblers that meet the quality requirements? If yes - I'll probably mod it for myself and then publish for everyone else, I already saw similar feedback regarding the UI.
The idea is as follows: to craft a recipe of quality X your assembler MUST itself be of quality of at least X. Examples:
1. A normal quality assembling machine (1,2 or 3 - doesn't matter) could only produce the normal quality recipes and will therefore never get the extra UI step. It could still produce higher quality items if quality modules are inserted, but it could never be used to assemble a quality recipe directly.
2. An uncommon quality assembler could assemble normal and uncommon recipes (and produce rare+ only sometimes and only with quality modules), etc.
I'm imagining some kind of LUA script that would go through the recipe catalog at load time and adjust list of recipes that an assembler is allowed to assemble. This way the extra quality will remain hidden for most of the factories.
Is such a thing possible?
==== Some more thoughts on the matter ====
I understand, that this makes production of the quality items somewhat harder. For mass-production you need not only quality modules, but also you need to get lucky enough to get assemblers of sufficient quality. Building a full-scale quality plant that could handle all 5 levels and never get jammed with extra items becomes delayed and more of a challenge.
That said - I'm totally fine with that idea.