Oscillating Event Scheduler#796
Merged
VMSolidus merged 6 commits intoSimple-Station:masterfrom Sep 8, 2024
Merged
Conversation
Contributor
Author
Contributor
Author
|
test fail invalid |
DangerRevolution
previously requested changes
Aug 26, 2024
Resources/Locale/en-US/game-ticking/game-presets/preset-irregular.ftl
Outdated
Show resolved
Hide resolved
…lar.ftl Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com> Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
VMSolidus
approved these changes
Aug 26, 2024
Member
VMSolidus
left a comment
There was a problem hiding this comment.
This is some excellent math code.
Content.Server/StationEvents/Components/OscillatingStationEventSchedulerComponent.cs
Show resolved
Hide resolved
…tSchedulerComponent.cs Co-authored-by: VMSolidus <evilexecutive@gmail.com> Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
DEATHB4DEFEAT
approved these changes
Sep 2, 2024
Content.Server/StationEvents/OscillatingStationEventScheduler.cs
Outdated
Show resolved
Hide resolved
Content.Server/StationEvents/OscillatingStationEventScheduler.cs
Outdated
Show resolved
Hide resolved
Content.Server/StationEvents/OscillatingStationEventScheduler.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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
Changelog
🆑