* Update recipes.js

Signed-off-by: Risuga <oosyrag@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Risuga <oosyrag@gmail.com>

---------

Signed-off-by: Risuga <oosyrag@gmail.com>
This commit is contained in:
Risuga 2025-10-17 10:03:58 -07:00 committed by GitHub
parent 4fda1cfb47
commit ad43a71723
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Changelog
## [Unreleased]
### Changes
- Normalized ladder crafting outputs, removed ladders as steam boiler fuel @oosyrag
- Normalized ladder crafting outputs, reduced ladders and wood frame burn times @oosyrag
### Bug fixes
### Translation updates

View file

@ -1737,8 +1737,15 @@ const registerGTCEURecipes = (event) => {
// Change
event.remove({ id: 'gtceu:large_boiler/minecraft_ladder' })
event.remove({ id: 'gtceu:steam_boiler/minecraft_ladder' })
event.remove({ id: 'gtceu:large_boiler/gtceu_wood_frame' })
event.remove({ id: 'gtceu:steam_boiler/gtceu_wood_frame' })
// The 9x buff for large boiler recipes above does not apply to this for some reason, so it gets 3x duration for an effective 1/3 reduction instead
event.forEachRecipe({ id: /gtceu:large_boiler\/(minecraft_ladder|gtceu_wood_frame)/ }, recipe => {
var newDuration = recipe.get("duration")
recipe.set("duration", newDuration*3)
})
event.forEachRecipe({ id: /gtceu:steam_boiler\/(minecraft_ladder|gtceu_wood_frame)/ }, recipe => {
var newDuration = recipe.get("duration")
recipe.set("duration", newDuration/3)
})
}