* fix nuclear line hardlock, move LSA mk2 and change ae2 recipes * small fix to recipe casing name * fix ostrum * Hide items from ExtendedAE * add quests * add langfile * some fix
215 lines
No EOL
7.8 KiB
JavaScript
215 lines
No EOL
7.8 KiB
JavaScript
"use strict";
|
|
|
|
function registerTFGCasingRecipes(event) {
|
|
|
|
event.recipes.gtceu.assembler('steel_machine_casing')
|
|
.itemInputs(ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Steel, 4))
|
|
.itemOutputs('gtceu:steel_machine_casing')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(16)
|
|
|
|
// Railgun
|
|
global.GTCEU_SUPERCONDUCTORS.forEach((type, index) => {
|
|
const multiplier = index + 1
|
|
|
|
event.recipes.gtceu.assembler(`tfg:assembler/superconductor_coil_small_from_${type.name}`)
|
|
.itemInputs(
|
|
ChemicalHelper.get(TagPrefix.plate, GTMaterials.HSLASteel, 4),
|
|
ChemicalHelper.get(TagPrefix.rod, GTMaterials.Steel, 2),
|
|
ChemicalHelper.get(TagPrefix.rod, GTMaterials.SteelMagnetic, 1),
|
|
ChemicalHelper.get(TagPrefix.wireFine, GTMaterials[type.materialId], 4)
|
|
)
|
|
.inputFluids(Fluid.of('gtceu:epoxy', 144))
|
|
.itemOutputs(Item.of('tfg:superconductor_coil_small', 4 * multiplier))
|
|
.circuit(6)
|
|
.duration(400)
|
|
.EUt(GTValues.VA[GTValues.MV])
|
|
|
|
event.recipes.gtceu.assembler(`tfg:assembler/superconductor_coil_large_from_${type.name}`)
|
|
.itemInputs(
|
|
ChemicalHelper.get(TagPrefix.plate, GTMaterials.HSLASteel, 4),
|
|
ChemicalHelper.get(TagPrefix.rod, GTMaterials.Steel, 2),
|
|
ChemicalHelper.get(TagPrefix.rod, GTMaterials.SteelMagnetic, 1),
|
|
ChemicalHelper.get(TagPrefix.wireGtSingle, GTMaterials[type.materialId], 4))
|
|
.inputFluids(Fluid.of('gtceu:epoxy', 144))
|
|
.itemOutputs(Item.of('tfg:superconductor_coil_large', 4 * multiplier))
|
|
.circuit(6)
|
|
.duration(600)
|
|
.EUt(GTValues.VA[GTValues.MV])
|
|
})
|
|
|
|
event.recipes.gtceu.assembler('tfg:assembler/electromagnetic_accelerator')
|
|
.itemInputs(
|
|
'2x #forge:plates/desh',
|
|
'gtceu:mv_voltage_coil',
|
|
'5x tfg:dry_ice',
|
|
'gtceu:nonconducting_casing'
|
|
)
|
|
.inputFluids(Fluid.of('gtceu:blue_alloy', 288))
|
|
.itemOutputs('6x tfg:electromagnetic_accelerator')
|
|
.circuit(4)
|
|
.duration(800)
|
|
.EUt(GTValues.VA[GTValues.MV])
|
|
|
|
event.recipes.gtceu.assembler('tfg:assembler/machine_casing_aluminium_plated_steel')
|
|
.itemInputs(
|
|
ChemicalHelper.get(TagPrefix.plate, GTMaterials.Aluminium, 6),
|
|
ChemicalHelper.get(TagPrefix.frameGt, GTMaterials.Steel, 1)
|
|
)
|
|
.inputFluids(Fluid.of('gtceu:silicon', 72))
|
|
.itemOutputs('2x tfg:machine_casing_aluminium_plated_steel')
|
|
.circuit(6)
|
|
.duration(20 * (2.5))
|
|
.EUt(GTValues.VH[GTValues.LV])
|
|
|
|
// Solar
|
|
event.recipes.gtceu.assembler('basic_solar_casing')
|
|
.itemInputs('gtceu:steel_machine_casing', 'tfg:photo_cell_t1')
|
|
.itemOutputs('8x tfg:casings/machine_casing_blue_solar_panel')
|
|
.inputFluids(Fluid.of('gtceu:soldering_alloy', 288))
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(16)
|
|
|
|
event.recipes.gtceu.assembler('advanced_solar_casing')
|
|
.itemInputs('8x tfg:casings/machine_casing_blue_solar_panel', 'ad_astra:photovoltaic_etrium_cell')
|
|
.itemOutputs('8x tfg:casings/machine_casing_green_solar_panel')
|
|
.inputFluids(Fluid.of('gtceu:soldering_alloy', 288))
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(16)
|
|
|
|
event.recipes.gtceu.assembler('elite_solar_casing')
|
|
.itemInputs('8x tfg:casings/machine_casing_green_solar_panel', 'ad_astra:photovoltaic_vesnium_cell')
|
|
.itemOutputs('8x tfg:casings/machine_casing_red_solar_panel')
|
|
.inputFluids(Fluid.of('gtceu:soldering_alloy', 288))
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(16)
|
|
|
|
event.recipes.gtceu.assembler('tfg:reflector_from_lens')
|
|
.itemInputs(
|
|
'24x #forge:lenses',
|
|
ChemicalHelper.get(TagPrefix.frameGt, GTMaterials.BlackSteel, 1)
|
|
)
|
|
.inputFluids(Fluid.of('gtceu:silver', 1296))
|
|
.itemOutputs('1x tfg:reflector')
|
|
.circuit(6)
|
|
.duration(20 * (60))
|
|
.EUt(GTValues.VH[GTValues.MV])
|
|
|
|
event.recipes.gtceu.assembler('tfg:reflector_from_certus')
|
|
.itemInputs(
|
|
ChemicalHelper.get(TagPrefix.plate, GTMaterials.CertusQuartz, 12),
|
|
ChemicalHelper.get(TagPrefix.frameGt, GTMaterials.BlackSteel, 1)
|
|
)
|
|
.inputFluids(Fluid.of('gtceu:silver', 488))
|
|
.itemOutputs('1x tfg:reflector')
|
|
.circuit(6)
|
|
.dimension('ad_astra:moon')
|
|
.duration(20 * (60))
|
|
.EUt(GTValues.VH[GTValues.MV])
|
|
|
|
// Moon
|
|
event.recipes.gtceu.assembler('iron_desh_casing')
|
|
.itemInputs(ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 6), 'gtceu:desh_frame')
|
|
.itemOutputs('2x tfg:casings/machine_casing_iron_desh')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(16)
|
|
|
|
// Evaporation
|
|
event.recipes.gtceu.assembler('tfg:casings/machine_casing_stainless_evaporation')
|
|
.itemInputs('gtceu:clean_machine_casing', '4x gtceu:annealed_copper_double_wire')
|
|
.inputFluids(Fluid.of('gtceu:polyvinyl_chloride', 288))
|
|
.itemOutputs('tfg:casings/machine_casing_stainless_evaporation')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.HV])
|
|
|
|
// Ostrum Linear Acclerator
|
|
event.recipes.gtceu.assembler('tfg:casings/machine_casing_mars')
|
|
.itemInputs('gtceu:clean_machine_casing', '4x #forge:double_wires/kanthal')
|
|
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 288))
|
|
.itemOutputs('tfg:casings/machine_casing_mars')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.HV])
|
|
|
|
event.recipes.gtceu.assembler('gtceu:atomic_casing')
|
|
.itemInputs('4x #forge:dense_plates/lead', '2x #forge:plates/rtm_alloy', '#forge:frames/titanium')
|
|
.inputFluids(Fluid.of('gtceu:polyvinyl_butyral', 288))
|
|
.itemOutputs('2x gtceu:atomic_casing')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.HV])
|
|
|
|
// Heat Battery deafission:battery_heat_port_ev
|
|
|
|
event.recipes.gtceu.assembler('tfg:battery_heat_port_ev')
|
|
.itemInputs(Item.of('gtceu:ev_machine_hull', 1), Item.of('gtceu:rtm_alloy_coil_block'), Item.of('gtceu:silicon_plate', 6))
|
|
.inputFluids(Fluid.of('gtceu:mercury', 4000))
|
|
.itemOutputs('deafission:battery_heat_port_ev')
|
|
//.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.EV])
|
|
|
|
event.recipes.gtceu.assembler('tfg:heat_input_hatch_ev')
|
|
.itemInputs(Item.of('gtceu:ev_machine_hull', 1), Item.of('gtceu:rtm_alloy_coil_block'), Item.of('gtceu:beryllium_plate', 6))
|
|
.inputFluids(Fluid.of('gtceu:mercury', 4000))
|
|
.itemOutputs(Item.of('deafission:heat_input_hatch_ev', 1))
|
|
//.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.EV])
|
|
|
|
// Small Modular Turbine
|
|
|
|
event.recipes.gtceu.assembler('tfg:machine_casing_desh_ptfe')
|
|
.itemInputs('4x #forge:dense_plates/desh', '2x #forge:dense_plates/lead', Item.of('gtceu:hsla_steel_frame'))
|
|
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 288))
|
|
.itemOutputs('tfg:casings/machine_casing_desh_ptfe')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.HV])
|
|
|
|
event.recipes.gtceu.assembler('tfg:uv_smr_fluid_import_hatch')
|
|
.itemInputs('4x #forge:dense_plates/desh', '2x #forge:dense_plates/lead', Item.of('gtceu:iv_input_hatch', 1))
|
|
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 288))
|
|
.itemOutputs('tfg:uv_smr_fluid_import_hatch')
|
|
//.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.EV])
|
|
|
|
// Vacuum Intake
|
|
event.shaped('tfg:casings/machine_casing_vacuum_engine_intake', [
|
|
'USU',
|
|
'WZW',
|
|
'UTU'
|
|
], {
|
|
S: '#forge:tools/hammers',
|
|
T: '#forge:tools/wrenches',
|
|
W: '#forge:rotors/ultimet',
|
|
U: 'gtceu:ultimet_normal_item_pipe',
|
|
Z: 'gtceu:inert_machine_casing'
|
|
}).id('tfg:shaped/casing_machine_casing_vacuum_engine_intake')
|
|
|
|
event.recipes.gtceu.assembler('tfg:casings/machine_casing_vacuum_engine_intake')
|
|
.itemInputs(
|
|
'2x #forge:rotors/ultimet',
|
|
'4x gtceu:ultimet_normal_item_pipe',
|
|
'1x gtceu:inert_machine_casing')
|
|
.itemOutputs('tfg:casings/machine_casing_vacuum_engine_intake')
|
|
.duration(50)
|
|
.EUt(GTValues.VH[GTValues.LV])
|
|
.circuit(2)
|
|
|
|
event.recipes.gtceu.assembler('tfg:casings/machine_casing_power_casing')
|
|
.itemInputs('gtceu:ostrum_frame', '4x #forge:plates/titanium_tungsten_carbide', '16x #forge:fine_wires/copper',
|
|
'16x #forge:fine_wires/tungsten_bismuth_oxide_composite')
|
|
.inputFluids(Fluid.of('gtceu:reinforced_epoxy_resin', 288))
|
|
.itemOutputs('4x tfg:machine_casing_power_casing')
|
|
.circuit(6)
|
|
.duration(2.5 * 20)
|
|
.EUt(GTValues.VA[GTValues.EV])
|
|
} |