Galdoc's manufacturing

by Galdoc

What if assemblers only assembled? This is an overhaul mod that introduces interesting production chains and design choices. New ores, new concepts, new assemblers, new intermediates -- and new challenges to overcome.

Overhaul
29 days ago
1.1 - 2.0
2.31K
Manufacturing

b Stock recipe only outputs 1 product

20 days ago

So i remember that certain stocks, like sheets, square stock and wire stock, output 2 products per input.
I checked the code and in mw-data.lua there's a table with the outputs of all the stock recipe that does specify the output of the recipe, then i searched where the table is applied and found this in mw-code.lua in line 997:
{type = "item", name = metal .. "-" .. stock .. "-stock", amount = 1}

And i changed it to:
type = "item", name = metal .. "-" .. stock .. "-stock", amount = MW_Data.stocks_recipe_data[stock].output}

Then the stock recipes worked correctly, before the change, 1 electrically conductive wiring was 1 copper plate, now it's changed to 1 conductive to 0.4 copper plate.

I believe this was an accidental regression in one of the 1.1 versions.

New response