Skip to content

Player Collector Badge #17

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

Merged
merged 4 commits into from
Apr 25, 2025
Merged

Player Collector Badge #17

merged 4 commits into from
Apr 25, 2025

Conversation

blockmanbuster
Copy link
Contributor

When player sits using ".siton" or "Alt + E" on someone's head, iterates through players and upgrades badge for every participant in player tower.

When player sits using ".siton" or "Alt + E" on someone's head, iterates through players and upgrades badge for every participant in player tower.
@Cynosphere
Copy link
Member

There has to be a better way that doesn't requiring iterating over every player everytime.

I also feel like there should be a way to make the badge silent and not post in chat but I don't know for sure (not just because I'm not in the GitLab org anymore, but because MetaWorks has always been a gatekept repo)

Replace iterator with recursive lookup to find root player
Make badge upgrade silent
Replace %mod format with basic string concat
@blockmanbuster blockmanbuster requested a review from Zeni44 March 23, 2025 20:11
Copy link
Member

@Zeni44 Zeni44 left a comment

Choose a reason for hiding this comment

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

LGTM

@Zeni44 Zeni44 merged commit 0122eca into Metastruct:master Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants