Skip to content

Commit 6602b0c

Browse files
committed
un-pretify
1 parent d94e94f commit 6602b0c

File tree

1 file changed

+6
-16
lines changed
  • kubejs/server_scripts/mods/Geore

1 file changed

+6
-16
lines changed

kubejs/server_scripts/mods/Geore/geore.js

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ ServerEvents.recipes((event) => {
77
*/
88
function addCasting(input, fluid, output, consumeCast) {
99
const amt = fluid.amount || 900
10-
const obj = fluid.fluid ? { amount: amt, fluid: fluid.fluid } : { amount: amt, tag: fluid.tag }
10+
const obj = fluid.fluid
11+
? { amount: amt, fluid: fluid.fluid }
12+
: { amount: amt, tag: fluid.tag }
1113

1214
event.custom({
1315
type: "productivemetalworks:block_casting",
@@ -52,19 +54,7 @@ ServerEvents.recipes((event) => {
5254
addCasting("allthecompressed:sand_1x", { tag: "c:molten_carbon" }, { item: "geore:budding_coal" })
5355
addCasting("allthecompressed:sand_1x", { tag: "c:molten_amethyst" }, { item: "minecraft:budding_amethyst" })
5456
addCasting("allthecompressed:red_sand_1x", { tag: "c:molten_quartz" }, { item: "geore:budding_black_quartz" })
55-
addCasting(
56-
"allthecompressed:sand_5x",
57-
{ fluid: "allthemodium:molten_unobtainium", amount: 7290 },
58-
{ item: "geore:budding_unobtainium" }
59-
)
60-
addCasting(
61-
"allthecompressed:sand_5x",
62-
{ fluid: "allthemodium:molten_vibranium", amount: 7290 },
63-
{ item: "geore:budding_vibranium" }
64-
)
65-
addCasting(
66-
"allthecompressed:sand_5x",
67-
{ fluid: "allthemodium:molten_allthemodium", amount: 7290 },
68-
{ item: "geore:budding_allthemodium" }
69-
)
57+
addCasting("allthecompressed:sand_5x", { fluid: "allthemodium:molten_unobtainium", amount: 7290 }, { item: "geore:budding_unobtainium" })
58+
addCasting("allthecompressed:sand_5x", { fluid: "allthemodium:molten_vibranium", amount: 7290 }, { item: "geore:budding_vibranium" })
59+
addCasting("allthecompressed:sand_5x", { fluid: "allthemodium:molten_allthemodium", amount: 7290 }, { item: "geore:budding_allthemodium" })
7060
})

0 commit comments

Comments
 (0)