Fluid Quality Bonus


Get more fluid output from quality ingredients

Tweaks
2 months ago
2.0
751
Fluids Manufacturing
Owner:
DeathJunkie88
Source:
https://github.com/kbolino/fluid-qual...
Homepage:
N/A
License:
GNU GPLv3
Created:
9 months ago
Latest Version:
0.0.11 (2 months ago)
Factorio version:
2.0
Downloaded by:
751 users

This mod adds a bonus to fluid output from recipes made with quality ingredients. The bonus scales linearly with the quality level, starting at a default of 50% for uncommon quality ingredients, up to 250% for legendary ingredients.

Based on this idea from the forums: https://forums.factorio.com/viewtopic.php?f=6&t=120829

Performance

Due to the way this mod operates, it can impose a small performance penalty that scales with the number of assembling machines (assemblers, chemical plants, etc.) in a save. For very large bases, this can significantly impact UPS. There are some options to deal with this:

  • Increase the "Tick Modulus" setting in the mod. This allows the mod to visit fewer machines each game tick. However, there are some downsides. If a machine's recipe is changed often, then bonuses may not be produced or may be produced for the wrong recipe. Also, for large modulus values and/or high-fluid-amount recipes, the amount of bonus fluid produced at one time may exceed internal limits causing some of it to be lost.

  • If you are only interested in a boost for holmium solution, check out Quezler's mod instead: https://mods.factorio.com/mod/quality-holmium-ore-returns-more-holmium-solution

Future goals

  • Optimize performance
    • Try not to use on_tick if possible, maybe by altering recipes in prototype stage