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

Event Groups: morbillion anomalies begone! #2945

Merged
merged 6 commits into from
Aug 30, 2024

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented Aug 14, 2024

About The Pull Request

This adds "event groups", to replace shared occurrence types. Changelog should explain it well enough, but I also tried to document the code a bit.

Why It's Good For The Game

This situation sucks:

ATTENTION
ATTENTION
ATTENTION
ATTENTION

[in the span of 15 seconds: comms is now out, there is a flux and dimensional anomaly, and meteors are incoming]

Changelog

🆑
add: Added an "event groups" mechanic to event/storyteller logic.
add: Events in the same group will all have a shared cooldown, and some groups have a set maximum amount of times they can run.
add: The more times events in a group have been ran, the cooldown will become more biased towards the upper bound of the possible cooldown time with each run.
add: As an example, the "Anomalies" event group has a cooldown between 10 to 25 minutes.
/:cl:

@Absolucy Absolucy requested a review from wraith-54321 August 18, 2024 23:28
@Kmla2 Kmla2 mentioned this pull request Aug 26, 2024
@wraith-54321 wraith-54321 merged commit df31f28 into Monkestation:master Aug 30, 2024
22 checks passed
github-actions bot added a commit that referenced this pull request Aug 30, 2024
@Absolucy Absolucy deleted the event-groups branch August 30, 2024 07:57
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.

2 participants