Merge pull request 'Recipe unlock fix' (#11) from Gagooby/Server_storage:recipe-unlock into main

Reviewed-on: #11
Reviewed-by: Bruno Rybársky <bruno@brn.systems>
This commit is contained in:
Bruno Rybársky 2024-11-04 15:13:13 +01:00
commit 998a6b7b04
22 changed files with 552 additions and 0 deletions

@ -0,0 +1,26 @@
{
"criteria": {
"has_cpu": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:material_cpu"
}
]
}
}
},
"requirements": [
[
"has_cpu"
]
],
"rewards": {
"recipes": [
"serverstorage:bus_connector"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_substrate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:material_cpu_substrate"
}
]
}
}
},
"requirements": [
[
"has_substrate"
]
],
"rewards": {
"recipes": [
"serverstorage:cpu"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_amethyst_shard": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:amethyst_shard"
}
]
}
}
},
"requirements": [
[
"has_amethyst_shard"
]
],
"rewards": {
"recipes": [
"serverstorage:cpu_substrate"
]
}
}

@ -0,0 +1,29 @@
{
"criteria": {
"has_cpu": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:material_cpu"
}
]
}
}
},
"requirements": [
[
"has_cpu"
]
],
"rewards": {
"recipes": [
"serverstorage:material_drive_controller",
"serverstorage:storage",
"serverstorage:inventory_interface",
"serverstorage:radio_interface",
"serverstorage:wireless_terminal",
"serverstorage:drive_container"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_diamond": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:diamond"
}
]
}
}
},
"requirements": [
[
"has_diamond"
]
],
"rewards": {
"recipes": [
"serverstorage:diamond_antenna"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_diamond_platter": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:diamond_platter"
}
]
}
}
},
"requirements": [
[
"has_diamond_platter"
]
],
"rewards": {
"recipes": [
"serverstorage:diamond_drive"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_diamond": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:diamond"
}
]
}
}
},
"requirements": [
[
"has_diamond"
]
],
"rewards": {
"recipes": [
"serverstorage:diamond_head"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_diamond": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:diamond"
}
]
}
}
},
"requirements": [
[
"has_diamond"
]
],
"rewards": {
"recipes": [
"serverstorage:diamond_platter"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_iron_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:iron_ingot"
}
]
}
}
},
"requirements": [
[
"has_iron_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:drive_casing"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_gold_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:gold_ingot"
}
]
}
}
},
"requirements": [
[
"has_gold_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:golden_antenna"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_golden_platter": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:golden_platter"
}
]
}
}
},
"requirements": [
[
"has_golden_platter"
]
],
"rewards": {
"recipes": [
"serverstorage:golden_drive"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_gold_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:gold_ingot"
}
]
}
}
},
"requirements": [
[
"has_gold_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:golden_head"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_gold_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:gold_ingot"
}
]
}
}
},
"requirements": [
[
"has_gold_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:golden_platter"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_iron_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:iron_ingot"
}
]
}
}
},
"requirements": [
[
"has_iron_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:iron_antenna"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_iron_platter": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:iron_platter"
}
]
}
}
},
"requirements": [
[
"has_iron_platter"
]
],
"rewards": {
"recipes": [
"serverstorage:iron_drive"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_iron_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:iron_ingot"
}
]
}
}
},
"requirements": [
[
"has_iron_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:iron_head"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_iron_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:iron_ingot"
}
]
}
}
},
"requirements": [
[
"has_iron_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:iron_platter"
]
}
}

@ -0,0 +1,37 @@
{
"criteria": {
"has_pcb_substrate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:material_pcb_substrate"
}
]
}
}
},
"requirements": [
[
"has_pcb_substrate"
]
],
"rewards": {
"recipes": [
"serverstorage:module_radio",
"serverstorage:module_pcb",
"serverstorage:module_antenna_connector",
"serverstorage:module_bus",
"serverstorage:module_configuration",
"serverstorage:module_container",
"serverstorage:module_display",
"serverstorage:module_drive",
"serverstorage:module_antenna",
"serverstorage:module_filtering",
"serverstorage:module_inventory",
"serverstorage:module_modem",
"serverstorage:module_pagination",
"serverstorage:module_transport"
]
}
}

@ -0,0 +1,24 @@
{
"criteria": {
"has_netherite_platter": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:netherite_platter"
}
]
}
}
},
"requirements": [
[
"has_netherite_platter"
]
],
"rewards": {
"recipes": [
"serverstorage:netherite_drive"
]
}
}

@ -0,0 +1,26 @@
{
"criteria": {
"has_netherite_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:netherite_ingot"
}
]
}
}
},
"requirements": [
[
"has_netherite_ingot"
]
],
"rewards": {
"recipes": [
"serverstorage:netherite_upgrade"
]
}
}

@ -0,0 +1,25 @@
{
"criteria": {
"has_substrate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "serverstorage:material_pcb_substrate"
}
]
}
}
},
"requirements": [
[
"has_substrate"
]
],
"rewards": {
"recipes": [
"serverstorage:pcb"
]
}
}

@ -0,0 +1,25 @@
{
"criteria": {
"has_amethyst_shard": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:amethyst_shard"
}
]
}
}
},
"requirements": [
[
"has_amethyst_shard"
]
],
"rewards": {
"recipes": [
"serverstorage:pcb_substrate"
]
}
}