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

CVar CharacterRequirement #1322

Merged
merged 16 commits into from
Dec 10, 2024

Conversation

sleepyyapril
Copy link
Contributor

@sleepyyapril sleepyyapril commented Dec 7, 2024

Description

This takes in one CVar and one required value and simply checks if the CVar's value as a string is equal to the required value. I could make it use a list of them, but I really didn't think it was needed considering CharacterAndLogic.

I also cleaned up CharacterRequirements.Profile.cs a bit.

@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 Dec 7, 2024
Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
sleepyyapril and others added 2 commits December 9, 2024 13:43
…c.cs

Co-authored-by: VMSolidus <evilexecutive@gmail.com>
Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
@DEATHB4DEFEAT DEATHB4DEFEAT changed the title CVar Requirement CVar CharacterRequirement Dec 9, 2024
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
@VMSolidus VMSolidus merged commit 34209e6 into Simple-Station:master Dec 10, 2024
10 of 11 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants