formula crash and autoclave sterilization (#1936)

* fix formula crash

* changed autoclave sterilization to use perTick
This commit is contained in:
Redeix 2025-09-30 23:20:47 -05:00 committed by GitHub
parent dbe1f94f1d
commit 031ffffa62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -516,7 +516,9 @@ function sterilizeItem(event, input, output, multiplier, cleanroom) {
let autoclave_recipe = event.recipes.gtceu.autoclave(`tfg:autoclave_cleaning/${input.replace(':', '_')}_to_${output.replace(':', '_')}`)
.itemInputs(input)
.inputFluids(Fluid.of('gtceu:steam', 15360))
.perTick(true)
.inputFluids(Fluid.of('gtceu:steam', 100*recipe_multiplier))
.perTick(false)
.itemOutputs(output)
.duration(240*20*recipe_multiplier)
.EUt(GTValues.VA[GTValues.MV]);