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

Add more variety to traitor objectives #37395

Merged
merged 4 commits into from
Feb 8, 2025

Conversation

BoraHive
Copy link
Contributor

Increases the number and variety of traitor objectives, rather than always assigning a single assassinate and steal objective. Death/exit objectives (stay alive, die a glorious death, etc.) untouched.
Fixes #37392.

What this does

Adds a new method for generating objectives for a traitor, trying between 2 and 5 with an attempt to limit duplicates to an extent.

Why it's good

For those who want inspiration or greentext it's a big improvement.

How it was tested

Locally.

Changelog

🆑

  • rscadd: Traitors generate more and varied objectives.

Increases the number and variety of traitor objectives, rather than always assigning a single assassinate and steal objective.
Death/exit objectives (stay alive, die a glorious death, etc.) untouched.
@Eneocho Eneocho added the Content Adds something. Neat! label Jan 27, 2025
Copy link
Collaborator

@west3436 west3436 left a comment

Choose a reason for hiding this comment

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

Fix the possible infinite loop per @hacker-on-steroids please

@hacker-on-steroids
Copy link
Contributor

is there a reason you're doing these branch merges/updates west?
there aren't any conflicts so it should merge without problem even without em

@west3436
Copy link
Collaborator

is there a reason you're doing these branch merges/updates west? there aren't any conflicts so it should merge without problem even without em

Linters were broken; I fixed them in #37399 so open PRs with failing checks had to merge the latest branch to pick up the fixes

Prerolled objective indices via a shuffled list to increase efficiency.
@west3436 west3436 merged commit 51944b1 into vgstation-coders:Bleeding-Edge Feb 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Adds something. Neat!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Traitors only ever get Steal objective and nothing else
5 participants