1+ // priority -1000
2+
13const blacklist = [ "aluminum" ] ;
4+ const edgeCases = {
5+ "gtceu:certus_quartz_gem" : "ae2:certus_quartz_crystal"
6+ }
27
38ServerEvents . recipes ( event => {
49 const id = global . id ;
@@ -26,7 +31,7 @@ ServerEvents.recipes(event => {
2631 . itemOutputs ( `${ itemOutput . count } x ${ itemOutput . ingredient . item } ` )
2732 . circuit ( 0 )
2833 . duration ( 300 )
29- . EUt ( GTValues . VA [ GTValues . LV ] )
34+ . EUt ( GTValues . VA [ GTValues . LV ] ) ;
3035 }
3136 }
3237 } ) ;
@@ -42,25 +47,27 @@ ServerEvents.recipes(event => {
4247 if ( oreTagSplit [ 0 ] === 'forge:raw_materials' && ! blacklist . includes ( oreTagSplit [ 1 ] ) ) {
4348 const oreName = oreTagSplit [ 1 ] ;
4449 const furnOutput = furnData . result ;
45- const furnOutputItem = typeof furnOutput === "string" ? furnOutput : furnOutput . item ;
50+ var furnOutputItem = typeof furnOutput === "string" ? furnOutput : furnOutput . item ;
4651
4752 if ( furnOutputItem . includes ( "dust" ) ) return ;
4853
54+ if ( edgeCases [ furnOutputItem ] ) furnOutputItem = edgeCases [ furnOutputItem ] ;
55+
4956 event . recipes . gtceu . pulverizer ( id ( `crushed_heated_${ oreName } ` ) )
5057 . itemInputs ( `1x gtceu:crushed_${ oreName } _ore` )
51- . itemOutputs ( `${ typeof furnOutput === "string" ? furnOutput : furnOutput . item } ` )
58+ . itemOutputs ( `${ furnOutputItem } ` )
5259 . circuit ( 1 )
5360 . duration ( 300 )
5461 . category ( 'pulverizer_heated' )
55- . EUt ( GTValues . VA [ GTValues . LV ] )
62+ . EUt ( GTValues . VA [ GTValues . LV ] ) ;
5663
5764 event . recipes . gtceu . pulverizer ( id ( `raw_heated_${ oreName } ` ) )
5865 . itemInputs ( `1x #${ furnInput . tag } ` )
59- . itemOutputs ( `${ furnOutput . count || 1 } x ${ typeof furnOutput === "string" ? furnOutput : furnOutput . item } ` )
66+ . itemOutputs ( `${ furnOutput . count || 1 } x ${ furnOutputItem } ` )
6067 . circuit ( 1 )
6168 . duration ( 300 )
6269 . category ( 'pulverizer_heated' )
63- . EUt ( GTValues . VA [ GTValues . LV ] )
70+ . EUt ( GTValues . VA [ GTValues . LV ] ) ;
6471 }
6572 } ) ;
6673} ) ;
0 commit comments