Janky quality (BETA)


Implements a janky version of Factorio Space Age quality

Content
a month ago
1.1
2.06K
Manufacturing

b [Fixed] Crash on removing modules

a month ago

I had experienced the following crash error when trying to remove the Quality 3 (basic) modules from an Assembler 3 (basic) doing a programming recipe by using the right click and drag interaction while holding Quality 1 (basic) modules:

Error while running event janky-quality::on_player_reverse_selected_area (ID 176)
Unknown recipe name: programming-quality-assembling-machine-3
stack traceback:
[C]: in function 'create_entity'
janky-quality/control.lua:320: in function <janky-quality/control.lua:286>

a month ago

Heh that's a unique edge case. Would be fixed for next version.

a month ago

Thanks. I presume I shouldn't have been able to have quality modules on a programming/deprogramming machine?

a month ago

Not exactly. The code looks for the name of the recipe, and if it ends with "-with-quality-X", it removes that value, but in this case, the recipe is "programming-quality-assembling-machine-3-with-quality-X" so it tries to make it into the wrong recipe name :P

New response