Skip to content

Commit e9eb921

Browse files
billbertking1github-actions[bot]
authored andcommitted
chore: prettier formatting
1 parent 452d89d commit e9eb921

File tree

1 file changed

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

1 file changed

+16
-6
lines changed

kubejs/server_scripts/mods/Geore/geore.js

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

1412
event.custom({
1513
type: "productivemetalworks:block_casting",
@@ -54,7 +52,19 @@ ServerEvents.recipes((event) => {
5452
addCasting("allthecompressed:sand_1x", { tag: "c:molten_carbon" }, { item: "geore:budding_coal" })
5553
addCasting("allthecompressed:sand_1x", { tag: "c:molten_amethyst" }, { item: "minecraft:budding_amethyst" })
5654
addCasting("allthecompressed:red_sand_1x", { tag: "c:molten_quartz" }, { item: "geore:budding_black_quartz" })
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" })
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+
)
6070
})

0 commit comments

Comments
 (0)