Changeling and Traitor Gamerule fixes by Conflee · Pull Request #1244 · ss14Starlight/space-station-14 (original) (raw)

Short description

Adds a new gamerule, SubGamemodesRuleNoChangelings, and replaces the SubGamemodesRule in the Traitor and Traitorlings Gamemode with it. Adds Traitorlings to the vote pool as well.

Why we need to add this

There is already a Gamemode for Traitors + Changelings, called Traitorling. Leaving Lings in with normal Traitor rounds, in my opinion, was unintentional given the fact that it also had its own gamemode specifically for that, so I fixed it.

Changelings also spawn in large groups, which eat up all the Antag slots. Number of max antags is determined by player count. Changelings would use 6-8 of those slots, making it so only 2 Traitors could spawn in the Traitors gamemode.

The SubGamemodesRule in Traitorlings rolled on top of the already added Changeling gamerule, which was likely the cause of the double-Changelings issue we've had for months where Lings spawn 2 groups to end up with 6-8 Lings in a round.

Media (Video/Screenshots)

N/A

Checks

Changelog

🆑 Conflee