Skip to content

Commit 79f4c7e

Browse files
committed
unify small/tiny dusts
1 parent 43f2fab commit 79f4c7e

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

config/almostunified/placeholders.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@
3737
"osmium",
3838
"peridot",
3939
"platinum",
40+
"plutonium",
4041
"prosperity",
4142
"redstone",
4243
"regalium",
4344
"ruby",
45+
"quartz",
4446
"saltpeter",
4547
"sapphire",
4648
"signalum",

config/almostunified/unification/materials.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"ae2",
1313
"enderio",
1414
"utilitarian",
15-
"actuallyadditions"
15+
"actuallyadditions",
16+
"oritech"
1617
],
1718
"priority_overrides": {},
1819
"stone_variants": [
@@ -26,6 +27,7 @@
2627
"ancient"
2728
],
2829
"tags": [
30+
"c:tiny_dusts/{material}",
2931
"c:dusts/{material}",
3032
"c:gears/{material}",
3133
"c:gems/{material}",
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
})

0 commit comments

Comments
 (0)