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

antag objective issuing refactor #28216

Merged
merged 10 commits into from
May 25, 2024

Conversation

deltanedas
Copy link
Contributor

About the PR

instead of every system that has random objectives copy pasting shit, add AntagRandomObjectives to the gamerule yml

also moved fixed objectives part of genericantag into its own component AntagObjectivesComponent, which currently thief uses but will make everything that used genericantag use it too before nuking it entirely

Why / Balance

negative diff (with genericantag deleted) good

Technical details

an AntagObjectiveSet defines the objective groups prototype, probability of the set being used, the max tries it can have
AntagRandomObjectives can have multiple sets, like thief which has 70% chance of adding 1 animal objective and guaranteed chance of trying to add up to 10 normal objectives, difficulty permitting

traitor just has 1 set of groups: TraitorObjectiveGroups since it doesnt do anything funny

Media

it work

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

TraitorRule and ThiefRule no longer add objectives, they need AntagRandomObjectives in the gamerule now

Changelog
no cl no fun

@deltanedas deltanedas requested a review from EmoGarbage404 as a code owner May 23, 2024 06:02
@github-actions github-actions bot added the S: Needs Review Status: Requires additional reviews before being fully accepted label May 23, 2024
This was referenced May 23, 2024
deltanedas added 2 commits May 23, 2024 08:08
@EmoGarbage404
Copy link
Member

picks20 lives another day

@EmoGarbage404 EmoGarbage404 merged commit a06ea58 into space-wizards:master May 25, 2024
11 checks passed
@deltanedas deltanedas deleted the roundend-ops branch May 26, 2024 03:24
Erisfiregamer1 pushed a commit to The-Arcadis-Team/arc-station-14 that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Needs Review Status: Requires additional reviews before being fully accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants