Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 23 additions & 26 deletions overrides/kubejs/server_scripts/Recipes/Chains/PlatLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ServerEvents.recipes(event => {
.EUt(GTValues.VA[GTValues.HV]);
event.recipes.gtceu.chemical_reactor('hydrazine_craft')
.inputFluids('gtceu:hydrogen_peroxide 1000')
.inputFluids('gtceu:ammonia 6000')
.inputFluids('gtceu:ammonia 2000')
.outputFluids('gtceu:hydrazine 1000')
.outputFluids('minecraft:water 2000')
.duration(320)
Expand Down Expand Up @@ -249,7 +249,7 @@ ServerEvents.recipes(event => {
.itemInputs('21x gtceu:sodium_bisulfate_dust')
.inputFluids('minecraft:water 7000')
.blastFurnaceTemp(4500)
.itemOutputs('10x gtceu:rhodium_depleted_plat_group_residue_dust')
.itemOutputs('8x gtceu:rhodium_depleted_plat_group_residue_dust')
.outputFluids('gtceu:rhodium_sulfate_solution 1000')
.duration(128)
.EUt(GTValues.VA[GTValues.HV]);
Expand All @@ -260,20 +260,20 @@ ServerEvents.recipes(event => {
// Ru + 3 Na2O2 + 2 H2O -> Na2RuO4 + 4 NaOH // 3 mol
// Os + 4 Na2O2 + 4 H2O -> Na2OsO4(OH)2 + 6 NaOH // 4 mol

// (3RuO4)(4OsO4)(2NaOH)(2NaCl)(14H2O)
// (IrRuOs?) + 2Na2O2 + 18H2O -> 2(Ir+) + Na4(RuO4)3(Os4O4)(H2O)6 + H (lost)
event.recipes.gtceu.electric_blast_furnace('rhdpgr_to_irpgr')
.itemInputs('gtceu:rhodium_depleted_plat_group_residue_dust')
.itemInputs('gtceu:sodium_peroxide_dust')
.inputFluids('minecraft:water 2200')
.inputFluids('minecraft:water 1800')
.blastFurnaceTemp(4500)
.itemOutputs('gtceu:iridium_rich_plat_group_residue_dust')
.outputFluids('gtceu:sodium_ruthenate_perosomate 100')
.duration(90)
.outputFluids('gtceu:sodium_ruthenate_perosomate 125')
.duration(120)
.EUt(GTValues.VA[GTValues.HV]);

// Ir + 2 BaO2 + 6 HCl -> 2 (H2O)2(H2IrCl6) + 2 BaO (double molarity ig)
// (Ir+) + 2 BaO2 + 6 HCl -> 2 (H2O)2(H2IrCl6) + 2 BaO (double molarity ig)
event.recipes.gtceu.electric_blast_furnace('irpgr_ircl')
.itemInputs('10x gtceu:iridium_rich_plat_group_residue_dust')
.itemInputs('8x gtceu:iridium_rich_plat_group_residue_dust')
.itemInputs('12x gtceu:barium_peroxide_dust')
.inputFluids('gtceu:hydrochloric_acid 12000')
.blastFurnaceTemp(4500)
Expand Down Expand Up @@ -303,7 +303,7 @@ ServerEvents.recipes(event => {
//Chloroiridic to Hexa
// (H2O)2(H2IrCl6) + 2 NH4Cl -> (NH4)2IrCl6 + 2 HCl + 2 H2O
event.recipes.gtceu.chemical_reactor('iridic_to_hexa')
.itemInputs('10x gtceu:ammonium_chloride_dust')
.itemInputs('4x gtceu:ammonium_chloride_dust')
.inputFluids('gtceu:chloroiridic_acid 3000')
.itemOutputs('10x gtceu:ammonium_hexachloroiridate_dust')
.outputFluids('gtceu:hydrochloric_acid 2000')
Expand All @@ -313,7 +313,6 @@ ServerEvents.recipes(event => {

//Iridium
// (NH4)2IrCl6 + 4FeCl2 -> Ir + 4 FeCl3 + 2 NH3 + 2 HCl
//Soren Suggested Patch Ammonia 2000 -> 5000
event.recipes.gtceu.large_chemical_reactor('hexair_to_iridium')
.itemInputs('10x gtceu:ammonium_hexachloroiridate_dust')
.inputFluids('gtceu:iron_ii_chloride 4000')
Expand Down Expand Up @@ -360,21 +359,23 @@ ServerEvents.recipes(event => {
.EUt(GTValues.VA[GTValues.EV]);

//RUTHENIUM CHAIN
//
// Na4(RuO4)3(Os4O4)(H2O)6 -> (RuO4)3(OsO4)4(NaOH)4(H2O)4
event.recipes.gtceu.cracker('ruthen_perosomate_to_tetroxide')
.inputFluids('gtceu:sodium_ruthenate_perosomate 1000')
.inputFluids('gtceu:chlorine 3000')
.inputFluids('gtceu:chlorine 2000')
.circuit(1)
.outputFluids('gtceu:ruthenium_osmium_tetroxides 1000')
.duration(500)
.EUt(GTValues.VA[GTValues.HV]);

// i hate solutions
// (3RuO4)(4OsO4)(2NaOH)(2NaCl)(14H2O) + 32HCl -> 4(OsO4)(NaCl) + 22 H2O + 12 Cl + 3 (H2O)2(H2RuCl6)
// OsO4 + HCl + NaOH -> (OsO4)(NaCl) + H2O
// RuO4 + 10 HCl -> (H2O)2H2RuCl6 + 2 H2O + 4 Cl
// (RuO4)3(OsO4)4(NaOH)4(H2O)4 + 34HCl -> 4(OsO4)(NaCl) + 14 H2O + 12 Cl + 3 (H2O)2(H2RuCl6)
event.recipes.gtceu.mixer('tetroxide_to_chlororuthenic')
.inputFluids('gtceu:ruthenium_osmium_tetroxides 100')
.inputFluids('gtceu:hydrochloric_acid 3200')
.outputFluids('gtceu:chlororuthenic_acid_osmium_tetroxide_solution 3300')
.inputFluids('gtceu:hydrochloric_acid 3400')
.outputFluids('gtceu:chlororuthenic_acid_osmium_tetroxide_solution 3400')
.duration(50)
.EUt(GTValues.VA[GTValues.EV]);

Expand All @@ -383,28 +384,26 @@ ServerEvents.recipes(event => {
.itemOutputs('20x gtceu:impure_osmium_tetroxide_dust')
.outputFluids('gtceu:chlororuthenic_acid 9000')
.outputFluids('gtceu:chlorine 12000')
.outputFluids('minecraft:water 22000')
.outputFluids('minecraft:water 14000')
.duration(600)
.EUt(GTValues.VA[GTValues.EV]);

// (H2O)2(H2RuCl6) + 2 NH4Cl -> (NH4)2RuCl6 + 2 HCl + 2H2O
event.recipes.gtceu.large_chemical_reactor('pure_ruthenic_to_chlororuthenate')
.inputFluids('gtceu:chlororuthenic_acid 3000')
.itemInputs('10x gtceu:ammonium_chloride_dust')
.itemInputs('4x gtceu:ammonium_chloride_dust')
.itemOutputs('9x gtceu:ammonium_hexachlororuthenate_dust')
.outputFluids('gtceu:hydrochloric_acid 2000')
.outputFluids('minecraft:water 2000')
.duration(240)
.EUt(GTValues.VA[GTValues.EV]);

// (NH4)2RuCl6 + 4 H -> Ru + 2 NH3 + 6 HCl
// Soren Suggested Patch Ammonia 3000 -> 5000
// I believe there's meant to also be a increase of HCl SOMEWHERE, it just wasn't clarified so i'm a bit lost - double check this ~G
event.recipes.gtceu.large_chemical_reactor('chlororuthenate_to_ruthenium')
.inputFluids('gtceu:hydrogen 4000')
.itemInputs('9x gtceu:ammonium_hexachlororuthenate_dust')
.itemOutputs('gtceu:ruthenium_dust')
.outputFluids('gtceu:ammonia 5000')
.outputFluids('gtceu:ammonia 2000')
.outputFluids('gtceu:hydrochloric_acid 6000')
.duration(240)
.EUt(GTValues.VA[GTValues.IV]);
Expand Down Expand Up @@ -452,11 +451,10 @@ ServerEvents.recipes(event => {
//Osmium Time, this one I have the least confidence about the chemline balance, will need to check the stuff with stoik soonish

// 2(OsO4)(NaCl) + [NC?]CCl4 -> 2OsO4 + 2NaCl + [NC?]CCl4
//Sorens Suggested Patch - Salt Dust 4 -> 10
event.recipes.gtceu.chemical_dehydrator('dry_impure_osmium_tetroxide')
.itemInputs('10x gtceu:impure_osmium_tetroxide_dust')
.notConsumableFluid('gtceu:carbon_tetrachloride 10000')
.itemOutputs(['10x gtceu:osmium_tetroxide_dust', '10x gtceu:salt_dust'])
.itemOutputs(['10x gtceu:osmium_tetroxide_dust', '4x gtceu:salt_dust'])
.duration(120)
.EUt(GTValues.VA[GTValues.EV]);

Expand All @@ -470,22 +468,21 @@ ServerEvents.recipes(event => {

// Na2OsO2(OH)4 + 4(NH4)Cl -> (NH3)4(OsO2)Cl2 + 2NaCl + 4H2O
event.recipes.gtceu.large_chemical_reactor('sodium_osmate_dust_to_osyml_chloride')
.itemInputs(['10x gtceu:sodium_osmate_dust', '20x gtceu:ammonium_chloride_dust'])
.itemInputs(['10x gtceu:sodium_osmate_dust', '8x gtceu:ammonium_chloride_dust'])
.itemOutputs(['9x gtceu:tetraammine_osmyl_chloride_dust', '4x gtceu:salt_dust'])
.outputFluids('minecraft:water 4000')
.duration(120)
.EUt(GTValues.VA[GTValues.IV]);

// (NH3)4(OsO2)Cl2 + 6H -> Os + 2HCl + 4NH3 + 2H2O
//Soren Suggested Patch Ammonia 4000 -> 10000
event.recipes.gtceu.large_chemical_reactor('osmyl_to_osmium_dust')
.itemInputs('9x gtceu:tetraammine_osmyl_chloride_dust')
.inputFluids('gtceu:hydrogen 6000')
.itemOutputs('gtceu:osmium_dust')
.outputFluids('gtceu:hydrochloric_acid 2000')
.outputFluids('gtceu:ammonia 10000')
.outputFluids('gtceu:ammonia 4000')
.outputFluids('minecraft:water 2000')
.duration(60)
.EUt(GTValues.VA[GTValues.LuV]);

})
})
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ GTCEuStartupEvents.registry('gtceu:element', event => {
.neutrons(78)
.symbol('(RhRuOsIr)')
//subsript (copy and paste) ₂₃₄₅₆₇₈₉₀
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ GTCEuStartupEvents.registry('gtceu:material', event => {
GTMaterialFlags.DISABLE_DECOMPOSITION,
GTMaterialFlags.NO_UNIFICATION
)
.formula('(3RuO4)(4OsO4)(2NaOH)(2NaCl)(14H2O)')
.formula('3(RuO4)4(OsO4)2(NaOH)2(NaCl)14(H2O)')
event.create('impure_osmium_tetroxide')
.dust()
.color(0x496287).iconSet(GTMaterialIconSet.DULL)
Expand All @@ -169,6 +169,7 @@ GTCEuStartupEvents.registry('gtceu:material', event => {
GTMaterialFlags.DISABLE_DECOMPOSITION,
GTMaterialFlags.NO_UNIFICATION
)
.formula('H2RuCl6')
event.create('ammonium_hexachlororuthenate')
.dust()
.color(0x444159).iconSet(GTMaterialIconSet.DULL)
Expand Down Expand Up @@ -200,13 +201,15 @@ GTCEuStartupEvents.registry('gtceu:material', event => {
GTMaterialFlags.DISABLE_DECOMPOSITION,
GTMaterialFlags.NO_UNIFICATION
)
.formula('H2IrCl6')
event.create('ammonium_hexachloroiridate')
.dust()
.color(0x46729e).iconSet(GTMaterialIconSet.DULL)
.flags(
GTMaterialFlags.DISABLE_DECOMPOSITION,
GTMaterialFlags.NO_UNIFICATION
)
.formula('(NH4)2IrCl6')
event.create('cerium_oxide')
.dust()
.color(0x6b90b5).iconSet(GTMaterialIconSet.DULL)
Expand Down