Add Cable Recipes and 4x Cable/Wire Recipes #1405
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What:
Currently, there are no recipes being created to combine or deconstruct cables. For example, crafting two 1x cables into a 2x cable, or crafting one 2x cable into two 1x cables. Additionally, you can currently only do cable and wire recipes like this in pairs. I added recipes to be able to combine four 1x cables/wires into a 4x cable/wire, and same with four 2x and four 4x.
How solved:
Added some simple code to the WireRecipeHandler class to allow you to do this.
Outcome:
Cables are now much more easily used, and can be simply crafted or uncrafted into whichever size you need at the moment.
Additional info:

Quick example of one of the added recipes:
Possible compatibility issue:
None expected.