Skip to content

Commit

Permalink
Prevent registering of certain Steelworks recipes when module disabled (
Browse files Browse the repository at this point in the history
#55)

This prevents the following recipes being registered when Steelworks is disabled as these recipes will not have properly registered components or results in this circumstance:-

* Steel Nuggets from Ingots
* Steel Ingots from Block
* Charcoal from Charcoal Block

This closes #54.
  • Loading branch information
sam-kirby authored and KnightMiner committed Sep 7, 2019
1 parent f1f9221 commit 4dab98b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"conditions": [{ "type": "pulse_loaded", "pulse": "ModuleSteelworks" }],
"type": "forge:ore_shapeless",
"ingredients": [{"type": "forge:ore_dict", "ore": "blockCharcoal"}],
"result": {"item": "minecraft:coal", "data": 1, "count": 9}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"conditions": [{ "type": "pulse_loaded", "pulse": "ModuleSteelworks" }],
"type": "forge:ore_shapeless",
"ingredients": [{"type": "forge:ore_dict", "ore": "blockSteel"}],
"result": {"item": "tcomplement:materials", "data": 10, "count": 9}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"conditions": [{ "type": "pulse_loaded", "pulse": "ModuleSteelworks" }],
"type": "forge:ore_shapeless",
"ingredients": [{"type": "forge:ore_dict", "ore": "ingotSteel"}],
"result": {"item": "tcomplement:materials", "data": 20, "count": 9}
Expand Down

0 comments on commit 4dab98b

Please sign in to comment.