Added recipes for combining and breaking coins

This commit is contained in:
Raz 2023-04-20 12:49:00 -05:00
parent 495f13ee1f
commit 9371745ae8
4 changed files with 194 additions and 8 deletions

View File

@ -46,7 +46,7 @@ hash = "5d481198f4fbd86ba8127796ca8c5e617e4b2c76a0ef2552e5e8dbe576ee261f"
[[files]] [[files]]
file = "kubejs/server_scripts/currency.js" file = "kubejs/server_scripts/currency.js"
hash = "0d4c63070a3ca92f587b81b9330ee5f09c08061287175feddd0e67309d116a41" hash = "4987fa36313c4e3e89cb9caec9f459c12a3e22da05840dc51a2ef2baf396e3af"
[[files]] [[files]]
file = "mods/advanced-chimneys.pw.toml" file = "mods/advanced-chimneys.pw.toml"
@ -478,6 +478,11 @@ file = "mods/konkrete.pw.toml"
hash = "cce2da708bff7a49e80be43a2ab4d42e236627c45a34b74356d8c30f293a3886" hash = "cce2da708bff7a49e80be43a2ab4d42e236627c45a34b74356d8c30f293a3886"
metafile = true metafile = true
[[files]]
file = "mods/kubejs-create.pw.toml"
hash = "666393d8db2a7f4efd6073d474f23a85b4624aabcf6270f9eda0a444b382e5b4"
metafile = true
[[files]] [[files]]
file = "mods/kubejs.pw.toml" file = "mods/kubejs.pw.toml"
hash = "fc1d144633d760ad8d000ebf2c9463243c02491aaf9bedc5e8900403bb9afca8" hash = "fc1d144633d760ad8d000ebf2c9463243c02491aaf9bedc5e8900403bb9afca8"

View File

@ -1,10 +1,20 @@
// priority 0 // priority 0
// Removing recipes // Altering recipes
ServerEvents.recipes((event) => { 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:press_coin_die" });
event.remove({ id: "thermal:dynamo_numismatic" }); 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 // Remove Recipes from Create Deco coins to avoid confusion
event.remove({ output: "createdeco:brass_coin" }); event.remove({ output: "createdeco:brass_coin" });
@ -22,7 +32,165 @@ ServerEvents.recipes((event) => {
event.remove({ output: "createdeco:zinc_coin" }); event.remove({ output: "createdeco:zinc_coin" });
event.remove({ output: "createdeco:zinc_coinstack" }); event.remove({ output: "createdeco:zinc_coinstack" });
// Back-up solution for breaking up currency // Recipes for combining coins
event.stonecutting("10x thermal:copper_coin", "thermal:silver_coin"); event.recipes.create.mixing("thermal:copper_coin", [
event.stonecutting("10x thermal:silver_coin", "thermal:gold_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"
);
}); });

View File

@ -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

View File

@ -1,12 +1,12 @@
name = "ScrumptiousCraft Um" name = "ScrumptiousCraft Um"
author = "razage" author = "razage"
version = "1.0.4" version = "1.0.5"
pack-format = "packwiz:1.1.0" pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "ea6b62373379ea9ddae47c45cb305ddcea6fccbb046f69588c452b580167fbf1" hash = "107db61eb6334dd900661629a4bec8a8876a8fe33273835dba18bd9015ff1101"
[versions] [versions]
forge = "43.2.8" forge = "43.2.8"