Better Quality (Reborn)


Quality makes buildings better: faster belts and drills, more efficient trains, Legendary roboports and poles that tile, longer undergrounds and more. Better Quality + Quality Lib merged and rebuilt for Factorio 2.1.

Tweaks
7 days ago
2.1
318
Logistics
Owner:
FallenPaladin
Source:
https://mods.factorio.com/mod/better-quality
Homepage:
https://mods.factorio.com/mod/quality-lib
License:
MIT
Created:
a month ago
Latest Version:
3.5.1 (7 days ago)
Factorio version:
2.1
Downloaded by:
318 users

Better Quality (Reborn)

Better Quality and Quality Lib by sSasha, merged into one mod, rebuilt for Factorio 2.1, with the reported bugs fixed and many new options.

Both original mods are deprecated. This replaces them, so you don't need (and can't run) them alongside it. Saves made with them load fine.


Quality scaling (on by default)

Building Uncommon Rare Epic Legendary
Belts, undergrounds, splitters, loaders: speed 1.2x 1.4x 1.6x 2.0x
Mining drills, pumpjacks: mining speed 1.2x 1.4x 1.6x 2.0x
Locomotives: fuel efficiency 1.2x 1.4x 1.6x 2.0x
  • Every option can use constant, additive or multiplicative scaling in the startup settings.
  • Works with modded belts, loaders (including AAI Loaders) and drills.
  • The extra stats show in item and building tooltips and in Factoriopedia.

Legendary tileability

  • Roboport: 64×64 logistic area and 128×128 construction area at Legendary.
  • Substation: 32×32 supply area and 32 wire reach at Legendary.
  • Big electric pole: 64 wire reach at Legendary.

Tiling stays exact even with quality mods that change quality levels, such as Mythic Quality (Reborn).

Optional scaling (off by default)

  • Underground belt length: higher quality undergrounds reach further.
  • Underground pipe length: higher quality pipes to ground reach further. They reconnect on their own, so hand placement works too.
  • Underground pipe weaving: underground pipes only connect to the same quality, so different qualities can run side by side.
  • Drills stack items on belts: drills of a quality you choose and better put stacked items on belts (needs belt stacking research).
  • Roboport charging pads: +1 charging pad per quality level, so a Legendary roboport charges 9 robots at once. Personal roboports too.
  • Locomotive braking: higher quality locomotives brake harder.
  • Reactors and heat exchangers: hold more heat and move it faster.
  • Storage tanks, wagons, locomotive top speed: Factorio 2.1 already scales these. If you turn ours on, it replaces the vanilla scaling instead of stacking.

Modules

  • Speed and Quality Modules: set each module's quality bonus or penalty, and for Quality Modules also the speed penalty and extra power use. The defaults match vanilla 2.1.
  • Optimization Modules 1–3 (optional): beacon modules with a small speed and productivity bonus at the cost of power and pollution. Yellow with white lights. Productivity Modules still can't go in beacons.

Machines (optional)

  • Centrifuge 2: 1.25 crafting speed and 4 module slots. Upgradable from the Centrifuge with the upgrade planner.
  • Bulk Recycler: recycles 4 items at once and always gives back exactly 4 items' worth of ingredients, so quality loops don't stall on bad luck.
  • Alternative Recycler output: moves the output to the recycler's long side.

How it works

Your items always stay the normal vanilla item with its quality: in your inventory, chests, belts and blueprints. Only when a quality building is placed is it swapped for its improved version, keeping its contents, modules, wires and settings.

  • Recycling, item weight, rocket capacity, copy/paste, blueprints, robots and the logistic network all work like vanilla.
  • Belt dragging works normally.
  • Deconstruction planner filters also catch quality buildings.
  • Robot upgrades (including from Quality Upgrade Planner) bring the right quality item.

Compatibility

  • Mythic Quality (Reborn): tested together. Mythic buildings get their own versions, and Mythic's extra module slots, mining area and beacon range apply to ours.
  • AAI Loaders: quality loaders follow AAI's own "Loader mode" setting, lubricant included.
  • Quality++ Shiny Mechanics: tested together. Shiny qualities get their own versions.
  • Don't run alongside: More Quality Scaling, Quality Miners, Rebalanced Quality Modules or Reworked Quality. They change the same buildings or modules.
  • A startup blacklist lets you exclude any building that misbehaves with another mod.

Coming from Better Quality / Quality Lib?

Remove both old mods and add this one. Back up your save first. Placed quality buildings are kept, old "quality items" are turned back into normal items, and your old startup settings carry over.

Uninstalling

Turn on Revert to vanilla (for uninstalling), load your save once, save it, then remove the mod. Every quality building turns back into its vanilla building, trains included. Centrifuge 2, Bulk Recyclers and Optimization Modules are this mod's own items and will still be removed.

To re-check every building at any time (for example after changing settings), run in the console:
/c remote.call("better-quality-reborn", "cleanup")


For modders

The Quality Lib API is included. Use it from your data stage:

local quality_lib = require("__better-quality-reborn__.module")
quality_lib.add({
    ["transport-belt"] = { ["@all"] = { speed = { delta_additive = 0.2 } } },
})

Mods that depended on the old quality-lib need to switch their dependency to better-quality-reborn. Full documentation is in the README inside the mod.


Credits

  • sSasha: original Better Quality and Quality Lib (MIT)
  • sh4dow: ideas from More Quality Scaling
  • FallenPaladin: Better Quality (Reborn)

Found a bug? Post it in the Discussion tab.