Skip to content

Commit

Permalink
Add curios:charm tag to all GT batteries, not just those named battery (
Browse files Browse the repository at this point in the history
  • Loading branch information
Xefyr0 authored Feb 22, 2025
1 parent d9bba48 commit a83fe8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kubejs/server_scripts/fixes_tweaks/unification/other_tags.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** Random small tags that don't fit anywhere else */
ServerEvents.tags("item", event => {
event.add("curios:charm", /^gtceu:.*_battery$/)
event.get("gtceu:batteries").getObjectIds().forEach(resourceLoc => {
event.add("curios:charm", resourceLoc.toString())
})
})

ServerEvents.tags("block", event => {
Expand Down

0 comments on commit a83fe8e

Please sign in to comment.