1- ServerEvents . recipes ( event => {
1+ // ServerEvents.recipes(event => { //undo comment link when core updated
22
3- const id = global . id ;
4- const componentMaterials = global . componentMaterials ;
5- const getRecipeTier = global . getRecipeTier ;
6- const assline = event . recipes . gtceu . assembly_line ;
3+ // const id = global.id;
4+ // const componentMaterials = global.componentMaterials;
5+ // const getRecipeTier = global.getRecipeTier;
6+ // const assline = event.recipes.gtceu.assembly_line;
77
8- assline ( id ( 'modular_combustion_frame' ) )
9- . itemInputs ( 'gtceu:luv_machine_hull' , '2x #gtceu:circuits/luv' , Item . of ( 'gtceu:lapotronic_energy_orb_cluster' ) ,
10- '4x gtceu:luv_emitter' , '4x gtceu:luv_sensor' , '4x gtceu:luv_fluid_regulator' , `8x gtceu:${ componentMaterials . luv . materials . cable } _quadruple_cable` ,
11- `32x gtceu:fine_${ componentMaterials . luv . materials . wireMechanical } _wire` )
12- . inputFluids ( `gtceu:${ componentMaterials . luv . materials . lubricant } 4608` , `gtceu:${ componentMaterials . luv . materials . plastic } 1152` )
13- . itemOutputs ( 'start_core:modular_combustion_frame' )
14- [ "scannerResearch(java.util.function.UnaryOperator)" ] (
15- researchRecipeBuilder => researchRecipeBuilder
16- . researchStack ( Item . of ( 'gtceu:iridium_frame' ) )
17- . duration ( 600 )
18- . EUt ( GTValues . VHA [ GTValues . IV ] )
19- )
20- . duration ( 600 )
21- . EUt ( GTValues . VHA [ GTValues . LuV ] ) ;
8+ // assline(id('modular_combustion_frame'))
9+ // .itemInputs('gtceu:luv_machine_hull', '2x #gtceu:circuits/luv', Item.of('gtceu:lapotronic_energy_orb_cluster'),
10+ // '4x gtceu:luv_emitter', '4x gtceu:luv_sensor', '4x gtceu:luv_fluid_regulator', `8x gtceu:${componentMaterials.luv.materials.cable}_quadruple_cable`,
11+ // `32x gtceu:fine_${componentMaterials.luv.materials.wireMechanical}_wire`)
12+ // .inputFluids(`gtceu:${componentMaterials.luv.materials.lubricant} 4608`, `gtceu:${componentMaterials.luv.materials.plastic} 1152`)
13+ // .itemOutputs('start_core:modular_combustion_frame')
14+ // ["scannerResearch(java.util.function.UnaryOperator)"](
15+ // researchRecipeBuilder => researchRecipeBuilder
16+ // .researchStack(Item.of('gtceu:iridium_frame'))
17+ // .duration(600)
18+ // .EUt(GTValues.VHA[GTValues.IV])
19+ // )
20+ // .duration(600)
21+ // .EUt(GTValues.VHA[GTValues.LuV]);
2222
23- [
23+ // [
2424
25- { tier : 'luv' , researchItem : 'gtceu:extreme_combustion_engine' } ,
26- { tier : 'zpm' , researchItem : 'start_core:luv_combustion_module' , cwuT : 24 } ,
27- { tier : 'uv' , researchItem : 'start_core:zpm_combustion_module' , cwuT : 64 } ,
28- { tier : 'uev' , researchItem : 'start_core:uv_combustion_module' , cwuT : 160 }
25+ // { tier: 'luv', researchItem: 'gtceu:extreme_combustion_engine' },
26+ // { tier: 'zpm', researchItem: 'start_core:luv_combustion_module', cwuT: 24 },
27+ // { tier: 'uv', researchItem: 'start_core:zpm_combustion_module' , cwuT: 64 },
28+ // { tier: 'uev', researchItem: 'start_core:uv_combustion_module' , cwuT: 160 }
2929
30- ] . forEach ( machine => {
31- const machineType = ( machine . tier === 'luv' || machine . tier === 'zpm' ) ? 'combustion' : 'rocket' ;
32- const circuitCount = ( machineType === 'rocket' ) ? 8 : 6 ;
33- const plateCount = ( machineType === 'rocket' ) ? 4 : 2 ;
34- const otherCounts = ( machineType === 'rocket' ) ? 6 : 4 ;
35- const cableType = ( machineType === 'rocket' ) ? 'double' : 'single' ;
36- const fluidMultiplier = ( machineType == 'rocket' ) ? 2 : 1 ;
30+ // ].forEach(machine => {
31+ // const machineType = (machine.tier === 'luv' || machine.tier === 'zpm') ? 'combustion' : 'rocket';
32+ // const circuitCount = (machineType === 'rocket') ? 8 : 6;
33+ // const plateCount = (machineType === 'rocket') ? 4 : 2;
34+ // const otherCounts = (machineType === 'rocket') ? 6 : 4;
35+ // const cableType = (machineType === 'rocket') ? 'double' : 'single';
36+ // const fluidMultiplier = (machineType == 'rocket') ? 2 : 1;
3737
38- const {
39- tierMaterial,
40- primMaterial,
41- supMaterial,
42- wireMechanical,
43- cable,
44- lubricant,
45- plastic
46- } = componentMaterials [ machine . tier ] . materials ;
38+ // const {
39+ // tierMaterial,
40+ // primMaterial,
41+ // supMaterial,
42+ // wireMechanical,
43+ // cable,
44+ // lubricant,
45+ // plastic
46+ // } = componentMaterials[machine.tier].materials;
4747
48- const mainRecipe = assline ( id ( `${ machine . tier } _combustion_module` ) ) ;
48+ // const mainRecipe = assline(id(`${machine.tier}_combustion_module`));
4949
50- mainRecipe
51- . itemInputs ( `gtceu:${ machine . tier } _machine_hull` , `${ circuitCount } x #gtceu:circuits/${ machine . tier } ` , `${ plateCount } x gtceu:dense_${ tierMaterial } _plate` ,
52- `${ otherCounts } x gtceu:${ primMaterial } _gear` , `${ otherCounts } x gtceu:small_${ supMaterial } _gear` , `${ otherCounts } x gtceu:${ machine . tier } _electric_motor` ,
53- `${ otherCounts } x gtceu:${ machine . tier } _electric_piston` , `8x gtceu:${ cable } _${ cableType } _cable`
54- )
55- . inputFluids ( `gtceu:${ lubricant } ${ 4608 * fluidMultiplier } ` , `gtceu:${ plastic } ${ 1152 * fluidMultiplier } ` )
56- . itemOutputs ( `start_core:${ machine . tier } _combustion_module` )
57- . duration ( 600 )
58- . EUt ( GTValues . VHA [ GTValues [ getRecipeTier ( machine . tier ) ] ] ) ;
50+ // mainRecipe
51+ // .itemInputs(`gtceu:${machine.tier}_machine_hull`, `${circuitCount}x #gtceu:circuits/${machine.tier}`, `${plateCount}x gtceu:dense_${tierMaterial}_plate`,
52+ // `${otherCounts}x gtceu:${primMaterial}_gear`, `${otherCounts}x gtceu:small_${supMaterial}_gear`, `${otherCounts}x gtceu:${machine.tier}_electric_motor`,
53+ // `${otherCounts}x gtceu:${machine.tier}_electric_piston`, `8x gtceu:${cable}_${cableType}_cable`
54+ // )
55+ // .inputFluids(`gtceu:${lubricant} ${4608 * fluidMultiplier}`, `gtceu:${plastic} ${1152 * fluidMultiplier}`)
56+ // .itemOutputs(`start_core:${machine.tier}_combustion_module`)
57+ // .duration(600)
58+ // .EUt(GTValues.VHA[GTValues[getRecipeTier(machine.tier)]]);
5959
60- if ( machine . tier === 'luv' ) {
61- mainRecipe
62- [ 'scannerResearch(java.util.function.UnaryOperator)' ] (
63- researchRecipeBuilder => researchRecipeBuilder
64- . researchStack ( Item . of ( machine . researchItem ) )
65- . duration ( 300 )
66- . EUt ( GTValues . VHA [ GTValues . IV ] )
67- ) ;
68- }
69- else {
70- mainRecipe
71- . stationResearch (
72- researchRecipeBuilder => researchRecipeBuilder
73- . researchStack ( Item . of ( machine . researchItem ) )
74- . CWUt ( machine . cwuT )
75- . EUt ( GTValues . VHA [ GTValues [ getRecipeTier ( machine . tier ) ] ] )
76- ) ;
77- }
60+ // if (machine.tier === 'luv') {
61+ // mainRecipe
62+ // ['scannerResearch(java.util.function.UnaryOperator)'](
63+ // researchRecipeBuilder => researchRecipeBuilder
64+ // .researchStack(Item.of(machine.researchItem))
65+ // .duration(300)
66+ // .EUt(GTValues.VHA[GTValues.IV])
67+ // );
68+ // }
69+ // else {
70+ // mainRecipe
71+ // .stationResearch(
72+ // researchRecipeBuilder => researchRecipeBuilder
73+ // .researchStack(Item.of(machine.researchItem))
74+ // .CWUt(machine.cwuT)
75+ // .EUt(GTValues.VHA[GTValues[getRecipeTier(machine.tier)]])
76+ // );
77+ // }
7878
79- if ( machineType === 'rocket' ) {
80- mainRecipe
81- . itemInputs ( `${ otherCounts } x gtceu:${ machine . tier } _fluid_regulator` , `32x gtceu:fine_${ wireMechanical } _wire` ) ;
82- }
79+ // if (machineType === 'rocket') {
80+ // mainRecipe
81+ // .itemInputs(`${otherCounts}x gtceu:${machine.tier}_fluid_regulator`, `32x gtceu:fine_${wireMechanical}_wire`);
82+ // }
8383
8484
8585
86- } ) ;
86+ // });
8787
88- } ) ;
88+ // });
0 commit comments