- C# 100%
| RolelistOverrides | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| RolelistOverrides.slnx | ||
Rolelist Overrides
This Town of Salem 2 mod lets you add role overrides to the current rolelist, so that you can keep track of what roles are in the game! No more forgetting that there was a Werewolf kill N2...
Features
Some of these features are tricked by Enchanters and Illusionists! Automatic overrides/crossouts are disabled by default, and need to be enabled in the mod's settings.
Additional info can be found in the in-game mod page.
Add overrides with commands
You can manually add overrides with commands via CommandLib, for example /addrole Deputy would add a Deputy override to the rolelist.
There are also other commands to manage overrides, viewable with /help
Marking override as unconfirmed
Using ? in /addrole or /setrole will mark that override as unconfirmed, which makes the role grey.
Unconfirmed slots are able to be overriden.
Automatic overrides
There are settings to automatically add overrides on certain events, for example enabling Auto Override Killed will automatically add overrides for killed players' roles.
Automatic crossouts
There are settings to automatically cross-out slots on certain events, for exmaple enabling Auto Crossout Teammates & Self will automatically crossout the slots occupied by you and your teammates.
Intelligent slot selection
The mod aims to automatically pick the best roleslot to override.
- Slots with fewer possible roles are prioritized over slots more possilbe roles (So a Socialite override would take a Common Town over a Random Town)
- There are checks for outliers and banned roles
- If an override has faction data tied to it, slots which match that faction are prioritized over others (So a Vampire-Deputy would take a Common Town(Vampire) slot over a regular Town Killing slot)
Here's an example of the rolelist with some overrides. Overriden roles are shown in italics in the rolelist.
Installation
Download the mod .dll Here, and place it in your Town of Salem 2/SalemModLoader/Mods/ folder.
ModPageLib and CommandLib are required.