diff --git a/index.toml b/index.toml index a6f422e..69bb6b4 100644 --- a/index.toml +++ b/index.toml @@ -46,7 +46,7 @@ hash = "5d481198f4fbd86ba8127796ca8c5e617e4b2c76a0ef2552e5e8dbe576ee261f" [[files]] file = "kubejs/server_scripts/currency.js" -hash = "0d4c63070a3ca92f587b81b9330ee5f09c08061287175feddd0e67309d116a41" +hash = "4987fa36313c4e3e89cb9caec9f459c12a3e22da05840dc51a2ef2baf396e3af" [[files]] file = "mods/advanced-chimneys.pw.toml" @@ -478,6 +478,11 @@ file = "mods/konkrete.pw.toml" hash = "cce2da708bff7a49e80be43a2ab4d42e236627c45a34b74356d8c30f293a3886" metafile = true +[[files]] +file = "mods/kubejs-create.pw.toml" +hash = "666393d8db2a7f4efd6073d474f23a85b4624aabcf6270f9eda0a444b382e5b4" +metafile = true + [[files]] file = "mods/kubejs.pw.toml" hash = "fc1d144633d760ad8d000ebf2c9463243c02491aaf9bedc5e8900403bb9afca8" diff --git a/kubejs/server_scripts/currency.js b/kubejs/server_scripts/currency.js index da9c0ef..5445a86 100644 --- a/kubejs/server_scripts/currency.js +++ b/kubejs/server_scripts/currency.js @@ -1,10 +1,20 @@ // priority 0 -// Removing recipes +// Altering recipes ServerEvents.recipes((event) => { - // Remove recipes for coin minting and burning from TE + // Remove recipes for TE coins, the mold that makes them, and the engine that destroys them event.remove({ id: "thermal:press_coin_die" }); event.remove({ id: "thermal:dynamo_numismatic" }); + event.remove({ id: "thermal:tin_coin" }); + event.remove({ id: "thermal:copper_coin" }); + event.remove({ id: "thermal:bronze_coin" }); + event.remove({ id: "thermal:iron_coin" }); + event.remove({ id: "thermal:gold_coin" }); + event.remove({ id: "thermal:invar_coin" }); + event.remove({ id: "thermal:enderium_coin" }); + event.remove({ id: "thermal:signalum_coin" }); + event.remove({ id: "thermal:lumium_coin" }); + event.remove({ id: "thermal:netherite_coin" }); // Remove Recipes from Create Deco coins to avoid confusion event.remove({ output: "createdeco:brass_coin" }); @@ -22,7 +32,165 @@ ServerEvents.recipes((event) => { event.remove({ output: "createdeco:zinc_coin" }); event.remove({ output: "createdeco:zinc_coinstack" }); - // Back-up solution for breaking up currency - event.stonecutting("10x thermal:copper_coin", "thermal:silver_coin"); - event.stonecutting("10x thermal:silver_coin", "thermal:gold_coin"); + // Recipes for combining coins + event.recipes.create.mixing("thermal:copper_coin", [ + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + "thermal:tin_coin", + ]); + event.recipes.create.mixing("thermal:bronze_coin", [ + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + "thermal:copper_coin", + ]); + event.recipes.create.mixing("thermal:iron_coin", [ + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + "thermal:bronze_coin", + ]); + + event.recipes.create.mixing("thermal:gold_coin", [ + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + "thermal:iron_coin", + ]); + + event.recipes.create.mixing("thermal:invar_coin", [ + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + "thermal:gold_coin", + ]); + + event.recipes.create.mixing("thermal:enderium_coin", [ + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + "thermal:invar_coin", + ]); + + event.recipes.create.mixing("thermal:signalum_coin", [ + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + "thermal:enderium_coin", + ]); + + event.recipes.create.mixing("thermal:lumium_coin", [ + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + "thermal:signalum_coin", + ]); + + event.recipes.create.mixing("thermal:netherite_coin", [ + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + "thermal:lumium_coin", + ]); + + // Recipes for breaking down coins + event.recipes.create.crushing( + ["10x thermal:tin_coin"], + "thermal:copper_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:copper_coin"], + "thermal:bronze_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:bronze_coin"], + "thermal:iron_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:iron_coin"], + "thermal:gold_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:gold_coin"], + "thermal:invar_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:invar_coin"], + "thermal:enderium_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:enderium_coin"], + "thermal:signalum_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:signalum_coin"], + "thermal:lumium_coin" + ); + + event.recipes.create.crushing( + ["10x thermal:lumium_coin"], + "thermal:netherite_coin" + ); }); diff --git a/mods/kubejs-create.pw.toml b/mods/kubejs-create.pw.toml new file mode 100644 index 0000000..5252e8e --- /dev/null +++ b/mods/kubejs-create.pw.toml @@ -0,0 +1,13 @@ +name = "KubeJS Create" +filename = "kubejs-create-forge-1902.1.1-build.35.jar" +side = "both" + +[download] +hash-format = "sha1" +hash = "93f9698c76ecaa186837ef57fd43ee64ca089471" +mode = "metadata:curseforge" + +[update] +[update.curseforge] +file-id = 4483304 +project-id = 429371 diff --git a/pack.toml b/pack.toml index 10b9eef..5468dab 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "ScrumptiousCraft Um" author = "razage" -version = "1.0.4" +version = "1.0.5" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "ea6b62373379ea9ddae47c45cb305ddcea6fccbb046f69588c452b580167fbf1" +hash = "107db61eb6334dd900661629a4bec8a8876a8fe33273835dba18bd9015ff1101" [versions] forge = "43.2.8"