Skip to content

Update Contests System#583

Merged
OldDanceJacket merged 3 commits intoSimple-Station:masterfrom
VMSolidus:Contests-System-Expansion
Jul 24, 2024
Merged

Update Contests System#583
OldDanceJacket merged 3 commits intoSimple-Station:masterfrom
VMSolidus:Contests-System-Expansion

Conversation

@VMSolidus
Copy link
Copy Markdown
Member

Description

This PR massively expands upon the functionality of the Contests System, fully restoring it not only to the original level of functionality available to the Nyanotrasen Contests, but vastly exceeding its functionality too. Contests now include features like Health Contests, Stamina Contests, but also include hooks for Mind Contests (To allow other systems to implement theoretical effects of MindContest even though I'm not yet finished with the Psionic Refactor).

Additionally, all Contests now include optional overrides, allowing other functions to modify their own expected outcomes from the ContestsSystem. These two optional overrides are:

  • BypassClamp: Bypasses the clamp outright, allowing for Classic Nyanotrasen Contests style of outputs, with theoretically infinite results. If completely unlimited infinite results is desired, setting this to true when calling Contests will unlock the range to (-inf, inf).
  • RangeFactor: Proportionally expands the allowed Range of outputs from a given Contest. Normally they are CVar clamped to +/- 0.25, but if for instance RangeFactor was set to 2, the Range is now +/- 0.5

Changelog

No changelog because this is completely zero player-facing implementations. All I have done is give DEVS the tools needed to begin implementing easy math into the game.

@github-actions github-actions bot added the Changes: C# Changes any cs files label Jul 23, 2024
@VMSolidus VMSolidus added Holy Shit Priority: 1-Urgent Must be resolved immediately Size: 1-Very Large For especially large issues/PRs labels Jul 23, 2024
@DEATHB4DEFEAT DEATHB4DEFEAT added Size: 3-Medium For medium issues/PRs Priority: 3-Medium Needs to be resolved at some point and removed Holy Shit Priority: 1-Urgent Must be resolved immediately Size: 1-Very Large For especially large issues/PRs labels Jul 23, 2024
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
Signed-off-by: VMSolidus <evilexecutive@gmail.com>
@OldDanceJacket OldDanceJacket merged commit ad7fd13 into Simple-Station:master Jul 24, 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 Priority: 3-Medium Needs to be resolved at some point Size: 3-Medium For medium issues/PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants