lizardqueenlexi / orbstation

The official repository of the Orbstation SS13 server, a fork of /tg/station.
https://www.orbstation.space/
GNU Affero General Public License v3.0
7 stars 18 forks source link

Adds spies to traitor limit #716

Closed Jacquerel closed 2 months ago

Jacquerel commented 2 months ago

About The Pull Request

Adds spies to our traitor limit.

Why It's Good For The Game

Because we had 9 antagonists for 18 players in the last round, oops! Basically we just forgot to do this when spies were added. They're basically a traitor variant, so should be limited the same way.

I would also suggest modifying the number spawned per spy roll too to be honest because it is quite high and our codebase might be comfortable with "one", but that is config not code. Spies are currently roundstart exclusive, so a lot rolling immediately might still cause many antags to be present at once. This system only blocks midround/latejoin rolls.

Changelog

:cl: balance: Spies are counted against our "stop spawning more antagonists" limit. /:cl: