Skip to content

Commit be60e3f

Browse files
Merge pull request #606 from doyle31/unify-tiny-dusts
Unify tiny dusts
2 parents b871547 + 06c3896 commit be60e3f

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 = ["copper", "nickel", "platinum", "iron", "gold", "uranium", "plutonium"]
12+
allthemods.add("c:tiny_dusts", dusts)
13+
function dust(material) {
14+
allthemods.add(`c:tiny_dusts/${material}`, [`oritech:small_${material}_dust`])
15+
}
16+
17+
for (let i = 0; i <= dustsUnTagged.length; i++) {
18+
dust(dustsUnTagged[i])
19+
}
20+
})

0 commit comments

Comments
 (0)