[#13, #23] Add support for alternate recipes

* Added support for determining all the possibly ways to create a given item
* Added full unit test support
This commit is contained in:
Andrew Miner
2013-09-02 12:24:08 -07:00
parent 813f7a0c2e
commit f89de8abd8
11 changed files with 4092 additions and 367 deletions
+9 -1
View File
@@ -26,6 +26,14 @@
"output": [[1, "Bookshelf"]],
"input": [[6, "Oak Plank"], [3, "Book"]],
"tools": ["Crafting Table"]
}, {
"output": [[1, "Book"]],
"input": [[1, "Leather"], [3, "Paper"]],
"tools": []
}, {
"output": [[1, "Bookshelf"]],
"input": [[6, "Oak Plank"], [3, "Book"]],
"tools": ["Crafting Table"]
}, {
"output": [[1, "Bowl"]],
"input": [[3, "Oak Plank"]],
@@ -51,7 +59,7 @@
"input": [[1, "Cactus"], [125, "milli-coal"]],
"tools": ["Furnace"]
}, {
"output": [[1, "Cake"]],
"output": [[1, "Cake"], [1, "Bucket"]],
"input": [[3, "Milk"], [2, "Sugar"], [3, "Wheat"], [1, "Egg"]],
"tools": ["Crafting Table"]
}, {