Skip to content

Commit

Permalink
Minor recipe tweaks (#512)
Browse files Browse the repository at this point in the history
* Remove Utilitarian recipes from modes when they would overshadow GT's harder recipes

* Ensure that Sand->Dust->Clay is available for all pack modes, both by hand and in machines

* More Utilitarian utility recipes to remove

* Get rid of duplicate firebrick recipe removals

* Add Rubber Ingot recipe without Extractor to match Rubber Plate recipe in NM

* Update normal_mode.js

---------

Co-authored-by: Pansmith <[email protected]>
  • Loading branch information
Xefyr0 and ThePansmith authored Aug 13, 2024
1 parent 3d5835a commit bb8ca38
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 29 deletions.
3 changes: 3 additions & 0 deletions kubejs/server_scripts/Early_Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ event.recipes.gtceu.electric_blast_furnace("aluminium_ingot_gas")
event.shapeless("minecraft:sand", ["minecraft:gravel", "#forge:tools/hammers"])
event.shapeless("kubejs:dust", ["minecraft:sand", "#forge:tools/hammers"])

// Dust hydration
event.shapeless("minecraft:clay", ["kubejs:dust", "minecraft:water_bucket"])

// EIO Solar
event.recipes.gtceu.alloy_smelter("photovoltaic_plate")
.itemInputs("2x enderio:photovoltaic_composite", "gtceu:electrical_steel_plate")
Expand Down
5 changes: 0 additions & 5 deletions kubejs/server_scripts/Remove_Recipes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions kubejs/server_scripts/mods/HostileNeuralNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,6 @@ ServerEvents.recipes(event => {
.duration(100)
.EUt(20)

event.recipes.gtceu.forge_hammer('dust')
.itemInputs('minecraft:sand')
.itemOutputs('kubejs:dust')
.duration(16)
.EUt(10)

event.recipes.gtceu.chemical_reactor('gt_clay')
.itemInputs('kubejs:dust')
.itemOutputs('minecraft:clay')
.inputFluids('water')
.duration(20)
.EUt(15)

event.recipes.gtceu.alloy_smelter('carbon_fiber_mesh_coal')
.itemInputs(['4x minecraft:string', 'gtceu:coal_dust'])
.itemOutputs('gtceu:carbon_fiber_mesh')
Expand Down
20 changes: 20 additions & 0 deletions kubejs/server_scripts/mods/utilitarian.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ServerEvents.recipes(event => {
//Remove No Soliciting Carpets
event.remove({ id: /utilitarian:.*_soliciting_carpet/ })

//Remove snad & variants
event.remove({ output: ['utilitarian:snad', 'utilitarian:red_snad', 'utilitarian:soul_snad', 'utilitarian:fluid_hopper', 'utilitarian:no_soliciting_banner']})

//Remove utility recipes when they overshadow GT recipes
event.remove({ id: 'utilitarian:utility/logs_to_hopper'})
if(isHardMode) {
event.remove({ id: 'utilitarian:utility/charcoal_from_campfire'})
}
if(isHarderMode) {
event.remove({ id: 'utilitarian:utility/logs_to_ladders'})
event.remove({ id: 'utilitarian:utility/logs_to_chests'})
event.remove({ id: 'utilitarian:utility/logs_to_sticks'})
event.remove({ id: 'utilitarian:utility/logs_to_bowls'})
event.remove({ id: /utilitarian:.*_logs_to_.*/})
}
})
9 changes: 1 addition & 8 deletions kubejs/server_scripts/normal_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ ServerEvents.recipes(event => {
event.smelting("gtceu:steel_ingot", "gtceu:steel_dust")
event.remove({ type: "gtceu:primitive_blast_furnace", output: "gtceu:steel_ingot" })
event.remove({ type: "gtceu:electric_blast_furnace", output: "gtceu:steel_ingot" })

event.remove({ type: "minecraft:smelting", output: "gtceu:firebrick" })
event.remove({ id: /fireclay/ })
event.remove({ output: ['gtceu:firebrick', 'gtceu:firebricks', 'gtceu:primitive_blast_furnace'] })

Expand All @@ -33,9 +31,6 @@ ServerEvents.recipes(event => {
event.remove({ type: "minecraft:smelting", output: "gtceu:wrought_iron_nugget" })
event.smelting("gtceu:wrought_iron_ingot", "minecraft:iron_ingot")

// Dust hydration
event.shapeless("minecraft:clay", ["kubejs:dust", "minecraft:water_bucket"])

// Make clay electrolysis an LV recipe
event.remove({ id: "gtceu:electrolyzer/decomposition_electrolyzing_clay" })
event.recipes.gtceu.electrolyzer("clay_electrolysis_lv")
Expand Down Expand Up @@ -109,7 +104,7 @@ ServerEvents.recipes(event => {
R: "gtceu:sticky_resin"
}
)

// Compressor rubber - better, but not perfect - that's chemical reactor rubber
event.recipes.gtceu.compressor("compressor_rubber_sheet")
.itemInputs("gtceu:sticky_resin")
Expand Down Expand Up @@ -186,8 +181,6 @@ ServerEvents.recipes(event => {
.duration(100)
.EUt(128)

event.remove({ type: "minecraft:smelting", output: "gtceu:firebrick" })

//GT Steam Age
gtMachines.forEach(machine => {
event.remove({ output: ['gtceu:lp_steam_' + machine, 'gtceu:hp_steam_' + machine] })
Expand Down
17 changes: 14 additions & 3 deletions kubejs/server_scripts/random_recipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ ServerEvents.recipes(event => {
event.shapeless('minecraft:blaze_rod', 'minecraft:brewing_stand')
event.replaceInput({ input: 'gtceu:wood_plate' }, 'gtceu:wood_plate', '#minecraft:planks')

// Dust hydration
event.shapeless("minecraft:clay", ["kubejs:dust", "minecraft:water_bucket"])

// Sculk LCR recipes

event.recipes.gtceu.large_chemical_reactor("sculk_catalyst")
Expand Down Expand Up @@ -900,5 +897,19 @@ ServerEvents.recipes(event => {
.duration(200)
.EUt(7)

//Clay synthesis from Dust
event.recipes.gtceu.forge_hammer('dust')
.itemInputs('minecraft:sand')
.itemOutputs('kubejs:dust')
.duration(16)
.EUt(10)

event.recipes.gtceu.chemical_reactor('gt_clay')
.itemInputs('kubejs:dust')
.itemOutputs('minecraft:clay')
.inputFluids('water')
.duration(20)
.EUt(15)

})

0 comments on commit bb8ca38

Please sign in to comment.