Balance early power (#2319)

* balance update

* Add textures

* last balance tweaks

* Oupsi

* more fixes

* add changed quests

* push latest balance

* fix tallow

* add btx

* Update quests

* Oups

* Adding some nuclear stuffs so I can merge my branches

* fix tallow

* balance update

* Add textures

* last balance tweaks

* Oupsi

* more fixes

* add changed quests

* push latest balance

* fix tallow

* add btx

* Update quests

* Oups

* Adding some nuclear stuffs so I can merge my branches

* fix tallow

* fix

* add tfg:
This commit is contained in:
TomPlop 2025-12-07 12:05:21 -05:00 committed by GitHub
parent 902fb3b1fe
commit 6c4775d58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2579 additions and 1911 deletions

View file

@ -861,4 +861,5 @@ function registerGTCEuMachineRecipes(event) {
C: '#gtceu:circuits/ev',
D: 'gtceu:palladium_substation'
}).addMaterialInfo().id('gtceu:shaped/power_substation')
}

View file

@ -174,4 +174,17 @@ function registerTFGMultiblockRecipes(event) {
}
).id('tfg:shaped/nuclear_turbine')
event.recipes.gtceu.shaped('gtceu:coal_liquefaction_tower', [
'ABA',
'CDC',
'EFE'
], {
A: '#forge:double_wires/cupronickel',
B: 'gtceu:aluminium_drum',
C: '#gtceu:circuits/mv',
D: 'gtceu:mv_machine_hull',
E: 'gtceu:solid_machine_casing',
F: 'gtceu:mv_electric_piston'
}).addMaterialInfo().id('gtceu:shaped/coal_liquefaction_tower')
}

View file

@ -14,6 +14,13 @@ function registerTFGBoilerRecipes(event) {
recipe.set("duration", newDuration/3)
})
// Small nerf to charcoal
event.forEachRecipe({ id: /gtceu:(steam_boiler|large_boiler)\/minecraft_charcoal/ }, recipe => {
var newDuration = recipe.get("duration")
recipe.set("duration", newDuration/4*3)
})
// Allow oil in small boilers
event.remove({ id: "gtceu:large_boiler/gtceu_oil" })

View file

@ -6,14 +6,14 @@ function registerTFGEarlyGasRecipes(event) {
// New Fuels
// Syngas
//#region Syngas
event.custom({
type: 'vintageimprovements:vacuumizing',
ingredients: [{ item: 'minecraft:charcoal' }, { fluid: 'gtceu:creosote', amount: 250 }],
results: [{ fluid: 'tfg:syngas', amount: 100 }],
heatRequirement: "heated",
processingTime: 750
processingTime: 4000
}).id('tfg:vi/vacuumizing/syngas_from_charcoal')
event.custom({
@ -21,7 +21,7 @@ function registerTFGEarlyGasRecipes(event) {
ingredients: [{ item: 'minecraft:coal' }, { fluid: 'gtceu:creosote', amount: 250 }],
results: [{ fluid: 'tfg:syngas', amount: 200 }],
heatRequirement: "heated",
processingTime: 750
processingTime: 4000
}).id('tfg:vi/vacuumizing/syngas_from_coal')
event.custom({
@ -29,7 +29,7 @@ function registerTFGEarlyGasRecipes(event) {
ingredients: [{ item: 'gtceu:coke_gem' }, { fluid: 'gtceu:creosote', amount: 250 }],
results: [{ fluid: 'tfg:syngas', amount: 400 }],
heatRequirement: "heated",
processingTime: 750
processingTime: 4000
}).id('tfg:vi/vacuumizing/syngas_from_coke')
event.custom({
@ -37,151 +37,153 @@ function registerTFGEarlyGasRecipes(event) {
ingredients: [{ item: 'beneath:cursecoal' }, { fluid: 'gtceu:creosote', amount: 250 }],
results: [{ fluid: 'tfg:syngas', amount: 400 }],
heatRequirement: "heated",
processingTime: 750
processingTime: 4000
}).id('tfg:vi/vacuumizing/syngas_from_anthracite')
event.recipes.gtceu.brewery('tfg:syngas_from_charcoal')
.itemInputs('minecraft:charcoal')
.inputFluids('gtceu:creosote 250')
.outputFluids('tfg:syngas 100')
.duration(20*10)
.EUt(2)
.duration(20*15)
.EUt(GTValues.VHA[GTValues.LV])
event.recipes.gtceu.brewery('tfg:syngas_from_coal')
.itemInputs('minecraft:coal')
.inputFluids('gtceu:creosote 250')
.outputFluids('tfg:syngas 200')
.duration(20*10)
.EUt(2)
.duration(20*15)
.EUt(GTValues.VHA[GTValues.LV])
event.recipes.gtceu.brewery('tfg:syngas_from_coke')
.itemInputs('gtceu:coke_gem')
.inputFluids('gtceu:creosote 250')
.outputFluids('tfg:syngas 400')
.duration(20*10)
.EUt(2)
.duration(20*15)
.EUt(GTValues.VHA[GTValues.LV])
event.recipes.gtceu.brewery('tfg:syngas_from_anthracite')
.itemInputs('beneath:cursecoal')
.inputFluids('gtceu:creosote 250')
.outputFluids('tfg:syngas 400')
.duration(20*10)
.EUt(2)
.duration(20*15)
.EUt(GTValues.VHA[GTValues.LV])
//#endregion
//#region Reformate Gas
// Charcoal
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_charcoal')
.itemInputs(Item.of('minecraft:charcoal', 24))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.outputFluids(Fluid.of('gtceu:coal_tar', 500), Fluid.of('tfg:syngas', 3200), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*600)
.itemInputs(Item.of('minecraft:charcoal', 40))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.outputFluids(Fluid.of('gtceu:coal_tar', 500), Fluid.of('tfg:syngas', 4400), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*150)
.circuit(1)
.EUt(GTValues.VA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_charcoal_hydrogen')
.itemInputs(Item.of('minecraft:charcoal', 24))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.itemInputs(Item.of('minecraft:charcoal', 40))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.perTick(true)
.chancedFluidInput(Fluid.of('gtceu:hydrogen', 1), 1000, 0)
.perTick(false)
.outputFluids(Fluid.of('gtceu:coal_tar', 500), Fluid.of('tfg:syngas', 3200), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*200)
.outputFluids(Fluid.of('gtceu:coal_tar', 500), Fluid.of('tfg:syngas', 4400), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*50)
.circuit(2)
.EUt(GTValues.VHA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
// Coal
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_coal')
.itemInputs(Item.of('minecraft:coal', 10))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.outputFluids(Fluid.of('gtceu:coal_tar', 1000), Fluid.of('tfg:syngas', 6400), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*600)
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.outputFluids(Fluid.of('gtceu:coal_tar', 1000), Fluid.of('tfg:syngas', 6400), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*150)
.circuit(1)
.EUt(GTValues.VA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_coal_hydrogen')
.itemInputs(Item.of('minecraft:coal', 10))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.perTick(true)
.chancedFluidInput(Fluid.of('gtceu:hydrogen', 1), 1000, 0)
.perTick(false)
.outputFluids(Fluid.of('gtceu:coal_tar', 1000), Fluid.of('tfg:syngas', 6400), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*200)
.outputFluids(Fluid.of('gtceu:coal_tar', 1000), Fluid.of('tfg:syngas', 6400), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*50)
.circuit(2)
.EUt(GTValues.VHA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
// Coke
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_coke')
.itemInputs(Item.of('gtceu:coke_gem', 5))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*600)
.itemInputs(Item.of('gtceu:coke_gem', 8))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*150)
.circuit(1)
.EUt(GTValues.VA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_coke_hydrogen')
.itemInputs(Item.of('gtceu:coke_gem', 5))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.itemInputs(Item.of('gtceu:coke_gem', 8))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.perTick(true)
.chancedFluidInput(Fluid.of('gtceu:hydrogen', 1), 1000, 0)
.perTick(false)
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*200)
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*50)
.circuit(2)
.EUt(GTValues.VHA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
// Anthracite
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_anthracite')
.itemInputs(Item.of('beneath:cursecoal', 5))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*600)
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*150)
.circuit(1)
.EUt(GTValues.VA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
event.recipes.gtceu.coal_liquefaction_tower('tfg:raw_aromatic_mix_anthracite_hydrogen')
.itemInputs(Item.of('beneath:cursecoal', 5))
.inputFluids(Fluid.of('gtceu:creosote', 1000))
.inputFluids(Fluid.of('gtceu:creosote', 4000))
.perTick(true)
.chancedFluidInput(Fluid.of('gtceu:hydrogen', 1), 1000, 0)
.perTick(false)
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 1000))
.duration(20*200)
.outputFluids(Fluid.of('gtceu:coal_tar', 2000), Fluid.of('tfg:syngas', 12800), Fluid.of('tfg:raw_aromatic_mix', 4000))
.duration(20*50)
.circuit(2)
.EUt(GTValues.VHA[GTValues.LV])
.EUt(GTValues.VHA[GTValues.MV])
// Aromatic Processing
event.recipes.gtceu.chemical_reactor('tfg:aromatic_feedstock')
.inputFluids(Fluid.of('tfg:raw_aromatic_mix', 1000), Fluid.of('gtceu:benzene', 525), Fluid.of('gtceu:steam', 1000))
.outputFluids(Fluid.of('tfg:aromatic_feedstock', 1000))
.inputFluids(Fluid.of('tfg:raw_aromatic_mix', 4000), Fluid.of('gtceu:benzene', 525), Fluid.of('gtceu:steam', 1000))
.outputFluids(Fluid.of('tfg:aromatic_feedstock', 2000))
.duration(20*30)
.EUt(GTValues.VA[GTValues.LV])
event.recipes.gtceu.chemical_reactor('tfg:reformed_aromatic_feedstock')
.chancedInput(Item.of('gtceu:tiny_rhenium_dust'), 100, 0) // 1% chance
.inputFluids(Fluid.of('tfg:aromatic_feedstock', 1000))
.outputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 1000))
.chancedInput(Item.of('gtceu:tiny_rhenium_dust'), 1000, 0) // 10% chance
.inputFluids(Fluid.of('tfg:aromatic_feedstock', 2000))
.outputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 2000))
.duration(20*18)
.EUt(GTValues.VA[GTValues.MV])
// Reformate Gas Alternative Step
event.recipes.gtceu.cracker('tfg:reformate_gas_cracker')
.inputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 1000), Fluid.of('gtceu:steam', 2000))
.outputFluids(Fluid.of('tfg:reformate_gas', 2000))
.inputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 2000), Fluid.of('gtceu:steam', 4000))
.outputFluids(Fluid.of('tfg:reformate_gas', 8000))
.outputFluids(Fluid.of('tfg:cracker_off_gas', 1000))
.duration(20*60)
.duration(20*30)
.EUt(GTValues.VA[GTValues.MV])
event.recipes.gtceu.chemical_reactor('tfg:reformate_gas')
.inputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 1000), Fluid.of('gtceu:steam', 1000))
.outputFluids(Fluid.of('tfg:reformate_gas', 2000))
.duration(20*60)
.inputFluids(Fluid.of('tfg:reformed_aromatic_feedstock', 2000), Fluid.of('gtceu:steam', 1000))
.outputFluids(Fluid.of('tfg:reformate_gas', 3000))
.duration(20*30)
.EUt(GTValues.VA[GTValues.MV])
// Recycling
@ -189,7 +191,7 @@ function registerTFGEarlyGasRecipes(event) {
event.recipes.gtceu.electrolyzer('tfg:cracker_off_gas_recycling')
.inputFluids(Fluid.of('tfg:cracker_off_gas', 1000))
.outputFluids(Fluid.of('gtceu:carbon_dioxide', 500), Fluid.of('gtceu:hydrogen', 500))
.chancedOutput(Item.of('gtceu:tiny_rhenium_dust'), 100, 0) // 1% chance
.chancedOutput(Item.of('gtceu:tiny_rhenium_dust'), 1000, 0) // 10% chance
.duration(20*4.5)
.EUt(GTValues.VA[GTValues.HV])
@ -204,15 +206,24 @@ function registerTFGEarlyGasRecipes(event) {
//#endregion
//#region Rebalance Fuel
// Increase Pyrolyse Oven duration
event.forEachRecipe({ id: /gtceu:pyrolyse_oven\/(log_to_creosote|log_to_creosote_nitrogen)/ }, recipe => {
var newDuration = recipe.get("duration")
recipe.set("duration", newDuration*2)
})
event.forEachRecipe({ id: /gtceu:pyrolyse_oven\/(log_to_wood_tar|log_to_wood_tar_nitrogen)/ }, recipe => {
var newDuration = recipe.get("duration")
recipe.set("duration", newDuration*2)
})
//#region New Power Generation
// Add Syngas
event.recipes.gtceu.steam_boiler('tfg:syngas') // Small Boiler and Large Boiler divided by 4
.inputFluids(Fluid.of('tfg:syngas', 100))
.duration(40*20*4)
.dimension('minecraft:overworld')
event.recipes.gtceu.gas_turbine('tfg:syngas') // Gas Turbine
.inputFluids(Fluid.of('tfg:syngas', 1))
.EUt(-(32))
@ -223,6 +234,12 @@ function registerTFGEarlyGasRecipes(event) {
event.recipes.gtceu.gas_turbine('tfg:reformate_gas') // Gas Turbine
.inputFluids(Fluid.of('tfg:reformate_gas', 1))
.EUt(-(32))
.duration(20*1)
.duration(20*0.6)
//#endregion
// Process Syngas
}