Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging explosives #5434

Merged
merged 5 commits into from
Dec 29, 2023
Merged

Conversation

ZZZank
Copy link
Contributor

@ZZZank ZZZank commented Dec 28, 2023

Ported from here.

The main goal of this PR is to provide a infrastructure for effectively handling cases of "nested" tags, like why:using/this/tag. E.g. when adding thermal:ice_tnt into #enlightened6:explosives/ice, it will also be added into #enlightened6:explosives.
Explosives are just used as examples, such infrastructure will be most useful in #forge:ingots tagging, but I didn't realize that when making this PR.

And, I think, if this PR is merged, those filters in quest accepting charged_snowball or ... can be replaced with tag filter

@NielsPilgaard NielsPilgaard added Enhancement Development General development, using this on an issue will not add it to changelogs, as opposed to Enhancement and removed Enhancement labels Dec 28, 2023
Copy link
Collaborator

@NielsPilgaard NielsPilgaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice contribution, thank you!

I have those minor comments that I'd like addressed, but the functionality looks solid.

ZZZank and others added 2 commits December 29, 2023 10:22
Co-authored-by: Niels Pilgaard Grøndahl <niels.pilgaard@hotmail.com>
firstRemove->removals
thenAdd->additions
for...of->foreach
Copy link
Collaborator

@NielsPilgaard NielsPilgaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@NielsPilgaard NielsPilgaard merged commit d0826e3 into EnigmaticaModpacks:develop Dec 29, 2023
6 of 7 checks passed
@ZZZank ZZZank deleted the tagging_explosives branch December 30, 2023 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development General development, using this on an issue will not add it to changelogs, as opposed to Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants