Solving Factorio Quality
- ID
- 30541
- Status
- summarized
- Published
- 29 Sep 2026, 10:27 AM
- Fetched
- 01 Oct 2026, 5:31 AM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://exyr.org/2026/solving-factorio-quality/
- Source URL
- https://hnrss.org/best
Summary
- Score
- 4.5
- Created
- 01 Oct 2026, 5:32 AM
- Tags
- Audience
- developersvibe_coders
What happened
Simon Sapin wrote a post (dated 2026-02-15) on modeling Factorio's Space Age Quality mechanic — five tiers (normal, uncommon, rare, epic, legendary) where each extra tier is a further 10% chance — by writing matrix math code rather than playing by hand, and shipped an online calculator tool as the TL;DR. The piece works out concrete numbers: four quality modules in a machine give a maximum 24.8% quality chance, and a direct normal-to-legendary jump is only 0.0248%, with the recycler returning 25% of ingredients enabling 'upcycling' loops. It drew 244 points and 93 comments on Hacker News.
Why it matters
There is no Malaysia or SEA angle here and nothing a working developer must change in their stack — this is a hobby-math write-up plus a personal web tool. The transferable bit is the pattern: someone hit a niche probabilistic problem (a 5-tier RNG crafting chain with a 24.8% ceiling and 0.0248% best-case single step), modeled it with linear algebra, and shipped a small calculator instead of writing a blog-only explanation. If you build tools for a niche you personally use, that's the shape to copy; otherwise skip it.
Discussion angle
Factorio players pushed back on adding randomness to a previously deterministic game — worth asking whether your own users would accept RNG in a system they'd already optimized around, and whether shipping a calculator beats writing an explanation.