Standalone K2 Advanced Assembly Machine


A severely over-engineered standalone port of advanced assembly machine from Krastorio 2, with optional Space Exploration rebalancing, as well as a custom recipe generation script to circumvent game's max 1-craft-per-tick limitation.

Content
16 days ago
1.1
890

b [Fixed](SE) Deep Space Belt recipes have way to much output

16 days ago

Fairly straightforward - Deep Space Belts are crafted as Black versions, which is done in space. Then, you can add some lamps to them to color them in a variety of colors.

It is these lamp recipes that are off - the outputs per craft look to have been scaled, but the inputs are exactly the same as they are normally. This means, for instance:

Instead of 10 black deep space belts and 1 lamp giving 10 blue deep space belts, like in the player's inventory (or in most assembling machines), with the Advanced one this recipe instead takes in 10 black deep space belts and 1 lamp, but outputs 400 (!!!) blue deep space belts, making the belts, when made in this machine, 40 times cheaper to use colored variants of.

These recipe changes are happening for all 7 variants of coloring recipes.
Normal Belts take in 10 belts and 1 lamp, and output 400 belts.
Undergrounds take in 2 undergrounds and 1 lamp, and output 16 colored undergrounds.
Splitters take in 1 splitter and 1 lamp, and output 8 colored splitters.
Loaders seem to be fine, taking in 8 loaders and lamps and outputting 8 colored loaders.

The expected outputs would be the same number as of the non-lamp inputs.

Reproduced in a new save with just SE, any mods enabling SE enabled, and the Standalone K2 Advanced Assembling Machine.

16 days ago

Wha? This might be caused by SE postprocessing changing the recipe. I haven't touched SE for a while now, time to take a look.

16 days ago

Should be fixed now. It's caused by my code ignoring some cases.

New response