Skip to content

Oscillating Event Scheduler#796

Merged
VMSolidus merged 6 commits intoSimple-Station:masterfrom
Mnemotechnician:feat/oscillating-event-scheduler
Sep 8, 2024
Merged

Oscillating Event Scheduler#796
VMSolidus merged 6 commits intoSimple-Station:masterfrom
Mnemotechnician:feat/oscillating-event-scheduler

Conversation

@Mnemotechnician
Copy link
Copy Markdown
Contributor

@Mnemotechnician Mnemotechnician commented Aug 24, 2024

Description

This introduces a new event scheduler type that follows a random curve that slowly changes in time. It's designed to sometimes offer the station some chaos, and sometimes offer it times to breathe.

Also adds two new gamemodes - irregular and irregular extended - which use this scheduler.

Also fixed the issue with other related CVars not being archived.

TODO

  • Do stuff
  • Test stuff
  • Fix stuff

Changelog

🆑

  • add: Added two new gamemodes - irregular and irregular extended - which use a new type of event scheduler that offers irregular periods of peace, chaos, and anything in between. The extended version is meant for longer rounds with significantly lower levels of chaos.

@github-actions github-actions bot added Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files labels Aug 24, 2024
@SimpleStation14 SimpleStation14 changed the title Oscillating event scheduler Oscillating Event Scheduler Aug 24, 2024
@Mnemotechnician
Copy link
Copy Markdown
Contributor Author

Fixed some issues, tweaked some values, and tested, seems to work. It's going to be hard to test and tweak without actually playing a round and seeing if it's too little or too much at times.

Some of the debug output ~15 minutes into the shift:

image
image
image

@Mnemotechnician Mnemotechnician marked this pull request as ready for review August 25, 2024 09:59
@Mnemotechnician
Copy link
Copy Markdown
Contributor Author

test fail invalid

@github-actions github-actions bot added the Status: Needs Review Someone please review this label Aug 26, 2024
@DangerRevolution DangerRevolution added Priority: 2-High Needs to be resolved soon Size: 3-Medium For medium issues/PRs Type: Feature Creation of or significant changes to a feature and removed Status: Needs Review Someone please review this labels Aug 26, 2024
…lar.ftl

Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
Copy link
Copy Markdown
Member

@VMSolidus VMSolidus left a comment

Choose a reason for hiding this comment

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

This is some excellent math code.

…tSchedulerComponent.cs

Co-authored-by: VMSolidus <evilexecutive@gmail.com>
Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
@VMSolidus VMSolidus merged commit e14b140 into Simple-Station:master Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files Priority: 2-High Needs to be resolved soon Size: 3-Medium For medium issues/PRs Type: Feature Creation of or significant changes to a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants