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

Adds a dynamic config to cap the maximum threat level, max_threat_level #61869

Merged
merged 3 commits into from Oct 4, 2021

Conversation

Iamgoofball
Copy link
Contributor

About The Pull Request

See title.

Why It's Good For The Game

Config requested by the downstream.

Changelog

🆑
server: Dynamic now has an extra configuration value, max_threat_level. Defaults to 100 threat.
/:cl:

Copy link
Member

@Mothblocks Mothblocks left a comment

Choose a reason for hiding this comment

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

Update dynamic/README.md to include it with the rest of the documentation.

@LemonInTheDark
Copy link
Member

Does that var max out at 100?

@Iamgoofball
Copy link
Contributor Author

I asked what to default it to and Mothblocks said 100.

Copy link
Member

@Cyberboss Cyberboss left a comment

Choose a reason for hiding this comment

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

Do we have a sample dynamic.json somewhere? If so, add this to it please

@Mothblocks
Copy link
Member

@Cyberboss We don't need it there, there's a large amount of configuration options that aren't (considering everything that is a var is configurable). Good documentation is sound enough.

@Mothblocks Mothblocks merged commit 963df50 into tgstation:master Oct 4, 2021
LemonInTheDark pushed a commit to LemonInTheDark/tgstation that referenced this pull request Dec 12, 2021
…hreat_level (tgstation#948)

* Adds a dynamic config to cap the maximum threat level, max_threat_level (tgstation#61869)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Adds a dynamic config to cap the maximum threat level, max_threat_level

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
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.

None yet

4 participants