The idea is that all machines/smelters will produce waste/scrap and depending on the machine level, the chances for waste/scrap goes down but never to zero.
The vanilla formula for green circuits is: 3xcopper cable + 1xiron plate > electronic circuit.
In my mod it will become:
3xcopper cable + 1xiron plate > electronic circuit (X% chance) + copper scrap / iron scrap (100-X% chance)
All scrap/waste items will be in it's own recipe.category
Now i could define recipes like the following:
Code: Select all
MK1 3xcopper cable + 1xiron plate > electronic circuit (60% chance) + copper scrap / iron scrap (40% chance)
MK2 3xcopper cable + 1xiron plate > electronic circuit (70% chance) + copper scrap / iron scrap (30% chance)
MK3 3xcopper cable + 1xiron plate > electronic circuit (80% chance) + copper scrap / iron scrap (20% chance)
...
Code: Select all
MK1 assembly machine = 60% success rate for recipe.category!=x, 40% for recipe.category=x
MK2 assembly machine = 70% success rate for recipe.category!=x, 30% for recipe.category=x
MK3 assembly machine = 80% success rate for recipe.category!=x, 20% for recipe.category=x
...