File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
kubejs/server_scripts/mods/oritech Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 3737 " osmium" ,
3838 " peridot" ,
3939 " platinum" ,
40+ " plutonium" ,
4041 " prosperity" ,
4142 " redstone" ,
4243 " regalium" ,
4344 " ruby" ,
45+ " quartz" ,
4446 " saltpeter" ,
4547 " sapphire" ,
4648 " signalum" ,
Original file line number Diff line number Diff line change 1212 " ae2" ,
1313 " enderio" ,
1414 " utilitarian" ,
15- " actuallyadditions"
15+ " actuallyadditions" ,
16+ " oritech"
1617 ],
1718 "priority_overrides" : {},
1819 "stone_variants" : [
2627 " ancient"
2728 ],
2829 "tags" : [
30+ " c:tiny_dusts/{material}" ,
2931 " c:dusts/{material}" ,
3032 " c:gears/{material}" ,
3133 " c:gems/{material}" ,
Original file line number Diff line number Diff line change 1+ ServerEvents . tags ( "item" , ( allthemods ) => {
2+ let dusts = [
3+ 'oritech:small_copper_dust' ,
4+ 'oritech:small_nickel_dust' ,
5+ 'oritech:small_platinum_dust' ,
6+ 'oritech:small_iron_dust' ,
7+ 'oritech:small_gold_dust' ,
8+ 'oritech:small_uranium_dust' ,
9+ 'oritech:small_plutonium_dust'
10+ ]
11+ let dustsUnTagged = [
12+ "copper" ,
13+ "nickel" ,
14+ "platinum" ,
15+ "iron" ,
16+ "gold" ,
17+ "uranium" ,
18+ "plutonium"
19+ ]
20+ allthemods . add ( "c:tiny_dusts" , dusts )
21+ function dust ( material ) {
22+ allthemods . add ( `c:tiny_dusts/${ material } ` , [ `oritech:small_${ material } _dust` ] ) ;
23+ }
24+
25+ for ( let i = 0 ; i <= dustsUnTagged . length ; i ++ ) {
26+ dust ( dustsUnTagged [ i ] ) ;
27+ }
28+
29+
30+ } )
You can’t perform that action at this time.
0 commit comments