1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-09-28 15:08:47 +00:00

Add some basic recipe advancements

This doesn't provide the ability to unlock the upgrade impostor recipes,
but I'm not sure that is currently feasible.
This commit is contained in:
SquidDev 2017-06-29 10:45:24 +01:00
parent d29ffed383
commit 263bade338
16 changed files with 503 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:advanced_computer" ]
},
"criteria": {
"has_redstone": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:redstone" } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:advanced_computer" }
}
},
"requirements": [
[
"has_redstone",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,31 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:advanced_monitor" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:advanced_monitor" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:advanced_pocket_computer" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_apple": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:golden_apple", "data": 0 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:advanced_pocket_computer" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_apple",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,24 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:advanced_turtle" ]
},
"criteria": {
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:advanced_turtle" }
}
},
"requirements": [
[
"has_advanced",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:cable" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_modem": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:cable", "data": 1 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:cable" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_modem",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,24 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:command_computer" ]
},
"criteria": {
"has_redstone": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:command_block", "data": 0 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:command_computer" }
}
},
"requirements": [
[
"has_redstone",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,31 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:disk_drive" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:disk_drive" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:ender_modem" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_wireless": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:peripheral", "data": 1 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:ender_modem" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_wireless",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,24 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:normal_computer" ]
},
"criteria": {
"has_redstone": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:redstone" } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:normal_computer" }
}
},
"requirements": [
[
"has_redstone",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,31 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:normal_monitor" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:normal_monitor" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:normal_pocket_computer" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_apple": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:golden_apple", "data": 0 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:normal_pocket_computer" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_apple",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,24 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:normal_turtle" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:normal_turtle" }
}
},
"requirements": [
[
"has_normal",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,31 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:printer" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:printer" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:speaker" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_noteblock": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "minecraft:noteblock" } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:speaker" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_noteblock",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,38 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:wired_modem" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_cable": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:cable", "data": 0 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:wired_modem" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_cable",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,31 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:wireless_modem" ]
},
"criteria": {
"has_normal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 0 } ]
}
},
"has_advanced": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:wireless_modem" }
}
},
"requirements": [
[
"has_normal",
"has_advanced",
"has_the_recipe"
]
]
}