diff --git a/src/index.toml b/src/index.toml index fbd0205..657ee5e 100644 --- a/src/index.toml +++ b/src/index.toml @@ -77,7 +77,7 @@ hash = "1a405c6cff718d67f7fe5303bf16df5ed5946d3cfaffd31dab7a9875171c0532" [[files]] file = "kubejs/server_scripts/recipes/ad_astra.js" -hash = "910778f5021e3b9de4df1fb4c18fa71e5f0f338cc7aec6ee375e1176de7ec854" +hash = "1cdd02bb08fcbc694fd7dc70268a7e907acaf140b2cf6d5f75e77797f39e8e47" [[files]] file = "kubejs/server_scripts/recipes/ae2.js" diff --git a/src/kubejs/server_scripts/recipes/ad_astra.js b/src/kubejs/server_scripts/recipes/ad_astra.js index 1fd462b..c1dc88f 100644 --- a/src/kubejs/server_scripts/recipes/ad_astra.js +++ b/src/kubejs/server_scripts/recipes/ad_astra.js @@ -1,25 +1,97 @@ ServerEvents.recipes(event => { - // Remove Ad Astra's rocket recipe and add a progression-based one + // Remove Ad Astra's tier 1 rocket recipe and add a progression-based one event.remove({ output: "ad_astra:tier_1_rocket" }) event.custom({ "type": "ad_astra:nasa_workbench", - "input": [ - {"item": "ad_astra:rocket_nose_cone"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"tag": "ad_astra_platform:steel_blocks"}, - {"item": "mekanism:basic_energy_cube"}, - {"item": "ad_astra:steel_tank"}, - {"item": "ad_astra:steel_tank"}, - {"item": "mekanism:basic_energy_cube"}, - {"item": "ad_astra:rocket_fin"}, - {"item": "ad_astra:steel_engine"}, - {"item": "ad_astra:rocket_fin"} + "ingredients": [ + {"ingredient":{"item": "ad_astra:rocket_nose_cone"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:steel_blocks"}}, + {"ingredient":{"item": "mekanism:basic_induction_provider"}}, + {"ingredient":{"item": "ad_astra:steel_tank"}}, + {"ingredient":{"item": "ad_astra:steel_tank"}}, + {"ingredient":{"item": "mekanism:basic_induction_provider"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}}, + {"ingredient":{"item": "ad_astra:steel_engine"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}} ], - "output": { item: "ad_astra:tier_1_rocket" } + "output": "ad_astra:tier_1_rocket" + }) + + // Remove Ad Astra's tier 2 rocket recipe and add a progression-based one + event.remove({ output: "ad_astra:tier_2_rocket" }) + + event.custom({ + "type": "ad_astra:nasa_workbench", + "ingredients": [ + {"ingredient":{"item": "ad_astra:rocket_nose_cone"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:desh_blocks"}}, + {"ingredient":{"item": "mekanism:advanced_induction_provider"}}, + {"ingredient":{"item": "ad_astra:desh_tank"}}, + {"ingredient":{"item": "ad_astra:desh_tank"}}, + {"ingredient":{"item": "mekanism:advanced_induction_provider"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}}, + {"ingredient":{"item": "ad_astra:desh_engine"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}} + ], + "output": "ad_astra:tier_2_rocket" + }) + + // Remove Ad Astra's tier 3 rocket recipe and add a progression-based one + event.remove({ output: "ad_astra:tier_3_rocket" }) + + event.custom({ + "type": "ad_astra:nasa_workbench", + "ingredients": [ + {"ingredient":{"item": "ad_astra:rocket_nose_cone"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:ostrum_blocks"}}, + {"ingredient":{"item": "mekanism:elite_induction_provider"}}, + {"ingredient":{"item": "ad_astra:ostrum_tank"}}, + {"ingredient":{"item": "ad_astra:ostrum_tank"}}, + {"ingredient":{"item": "mekanism:elite_induction_provider"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}}, + {"ingredient":{"item": "ad_astra:ostrum_engine"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}} + ], + "output": "ad_astra:tier_3_rocket" + }) + + // Remove Ad Astra's tier 4 rocket recipe and add a progression-based one + event.remove({ output: "ad_astra:tier_4_rocket" }) + + event.custom({ + "type": "ad_astra:nasa_workbench", + "ingredients": [ + {"ingredient":{"item": "ad_astra:rocket_nose_cone"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"tag": "ad_astra_platform:calorite_blocks"}}, + {"ingredient":{"item": "mekanism:ultimate_induction_provider"}}, + {"ingredient":{"item": "ad_astra:calorite_tank"}}, + {"ingredient":{"item": "ad_astra:calorite_tank"}}, + {"ingredient":{"item": "mekanism:ultimate_induction_provider"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}}, + {"ingredient":{"item": "ad_astra:calorite_engine"}}, + {"ingredient":{"item": "ad_astra:rocket_fin"}} + ], + "output": "ad_astra:tier_4_rocket" }) }) diff --git a/src/pack.toml b/src/pack.toml index b9f183c..3f49dd0 100644 --- a/src/pack.toml +++ b/src/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "d868f8f6efeacabd6c50b61b320a71ffb89d37170550973f5e144b8045c82cd0" +hash = "550063941e125a37d2ecf9fed06b66c0f81b57819d9985081ab8de1f51cefbe6" [versions] forge = "47.2.0"