This library allows mod developers to specify recipes that Somersloops can't be used on, even if the machine itself supports Somersloops.
This expands the kinds of recipes that can be created, especially recipes with catalysts, without worrying about Somersloops production bonus breaking their balance by giving you way too much catalyst back.
Multiplayer compatible!
If you enjoy my work, please consider donating to my completely optional tip jar.
Without any other mods implementing somersloop-blocked recipes, the only change this mod makes is adding an icon to the machine recipe selection UI indicating when the machine does not support Somersloops - so just the Packager in the base game.
When selecting a recipe in a machine that doesn't support Somersloops, all recipes in the picker have a Stat to indicate this. The Packager is the only base game production building that does not support Somersloops.
In the below screenshots, "Heat Sink" is used as an example only - this mod does not do anything to the heat sink recipe if you install it!
Recipes that don't support somersloops have a line added to their summary both in tooltips and the Codex:
(Note: TFIT mod is contributing additional tooltip elements in this screenshot.)
(Note: TFIT and Nog's Cheats mods are contributing additional visual elements in this screenshot.)
If a Somersloop-restricted recipe is selected in a machine, Somersloops can still be added or removed, but no Output Multiplier will be applied (1x) and visuals will be altered to indicate this:
The recipe picker also indicates which recipes are somersloop-disabled:
To make a recipe somersloop-incompatible:
- Either create a blank mod in your editor with the same mod reference (
ProductionBoostPerRecipe) as the real one, or bring this mod into your project. (required for your mod to depend on this one) - Add the
ProductionBoostPerRecipe.DisableBoostContent Tag to the recipe you want to block somersloops on. - Add a dependency on this mod in your
.uplugin. - That's it, this mod takes care of the rest!
If you change your mind you can safely remove this mod without affecting your own, outside of the tag vanishing.
This should be compatible with any modded machine using the normal recipe production interface (Widget_Manufacturing)
as long as the machine doesn't override
AFGBuildableFactory::SetPendingProductionBoost or
AFGBuildableManufacturer::SetRecipe
without calling super (they are virtual functions).
"Somerslooping" a recipe has multiple names in the code and community:
- Production Amplification (in the MAM unlock)
- Output Multiplier (in machine UIs)
- Production Boost (in the code)
- Overslooping
- Slooping




