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

Change Crew Alignments #1450

Open
wants to merge 3 commits into
base: dev_2.3.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Modules/CustomRolesHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,9 @@ public enum Custom_RoleType
// Crewmate
CrewmateVanilla,
CrewmateVanillaGhosts,
CrewmateBasic,
CrewmateInvestigative,
CrewmateSupport,
CrewmateProtective,
CrewmateKilling,
CrewmatePower,
CrewmateGhosts,
Expand Down
6 changes: 6 additions & 0 deletions Modules/GuessManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ public static bool GuesserMsg(PlayerControl pc, string msg, bool isUI = false)
return true;
}

if (role.GetCustomRoleType() == Custom_RoleType.CrewmateInvestigative && !Options.CrewInvestCanBeGuessed.GetBool())
{
pc.ShowInfoMessage(isUI, GetString("GuessCrewInvest"));
return true;
}

if (role.IsTNA() && role != CustomRoles.Pestilence && !Options.TransformedNeutralApocalypseCanBeGuessed.GetBool() || role == CustomRoles.Pestilence && !PlagueBearer.PestilenceKillsGuessers.GetBool())
{
pc.ShowInfoMessage(isUI, GetString("GuessImmune"));
Expand Down
29 changes: 23 additions & 6 deletions Modules/OptionHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ public enum ShortAddOnNamesMode

// ------------ General Role Settings ------------

// Crew
public static OptionItem CrewInvestCanBeGuessed;

// Imp
public static OptionItem ImpsCanSeeEachOthersRoles;
public static OptionItem ImpsCanSeeEachOthersAddOns;
Expand Down Expand Up @@ -920,28 +923,42 @@ private static System.Collections.IEnumerator CoLoadOptions()

}


/*
* BASIC ROLES
* INVESTIGATIVE ROLES
*/
TextOptionItem.Create(10000007, "RoleType.CrewBasic", TabGroup.CrewmateRoles)
TextOptionItem.Create(10000102, "RoleType.CrewInvestigative", TabGroup.CrewmateRoles)
.SetGameMode(CustomGameMode.Standard)
.SetColor(new Color32(140, 255, 255, byte.MaxValue));

CustomRoleManager.GetNormalOptions(Custom_RoleType.CrewmateBasic).ForEach(r => r.SetupCustomOption());
CrewInvestCanBeGuessed = BooleanOptionItem.Create(60035, "CrewInvestCanBeGuessed", true, TabGroup.CrewmateRoles, false)
.SetGameMode(CustomGameMode.Standard)
.SetHeader(true);

CustomRoleManager.GetNormalOptions(Custom_RoleType.CrewmateInvestigative).ForEach(r => r.SetupCustomOption());

/*
* SUPPORT ROLES
*/
TextOptionItem.Create(10000008, "RoleType.CrewSupport", TabGroup.CrewmateRoles)
.SetGameMode(CustomGameMode.Standard)
.SetColor(new Color32(140, 255, 255, byte.MaxValue));

CustomRoleManager.GetNormalOptions(Custom_RoleType.CrewmateSupport).ForEach(r => r.SetupCustomOption());

/*
* MINI
*/
CustomRoles.Mini.GetStaticRoleClass().SetupCustomOption();

/*
* SUPPORT ROLES
* INVESTIGATIVE ROLES
*/
TextOptionItem.Create(10000008, "RoleType.CrewSupport", TabGroup.CrewmateRoles)
TextOptionItem.Create(10000103, "RoleType.CrewProtective", TabGroup.CrewmateRoles)
.SetGameMode(CustomGameMode.Standard)
.SetColor(new Color32(140, 255, 255, byte.MaxValue));

CustomRoleManager.GetNormalOptions(Custom_RoleType.CrewmateSupport).ForEach(r => r.SetupCustomOption());
CustomRoleManager.GetNormalOptions(Custom_RoleType.CrewmateProtective).ForEach(r => r.SetupCustomOption());

/*
* KILLING ROLES
Expand Down
5 changes: 4 additions & 1 deletion Resources/Lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2401,6 +2401,7 @@
"GuessCrewRole": "Unfortunately, the Host's settings do not allow Crewmates to guess Crewmate roles.",
"GuessApocRole": "Fortunately, the Host's settings does not allow Apocalypse to guess Apocalypse roles.",
"GuessCovenRole": "Fortunately, the Host's settings does not allow Coven to guess Coven roles.",
"GuessCrewInvestRole": "Unfortunately, the Host's settings do not allow you to guess Crewmate Investigative roles. Try silencing them some other way...",
"GuessRoleNotEnabled": "Sorry. <b>{0}</b> is not enabled in this lobby.\n<b>/r</b> - Show enabled roles",
"GuessKill": "<b>{0}</b> was guessed",
"GuessNull": "Please select an ID of a living player to guess their role",
Expand Down Expand Up @@ -3832,6 +3833,7 @@
"RoleType.CrewPower": "<color=#ffff00>★</color> Crewmate <color=#ffff00>Power</color> Roles",
"RoleType.CrewKilling": "<color=#ff1919>★</color> Crewmate <color=#ff1919>Killing</color> Roles",
"RoleType.CrewBasic": "<color=#FF6600>★</color> Crewmate <color=#FF6600>Basic</color> Roles",
"RoleType.CrewProtective": "<color=#68f2ad>★</color> Crewmate <color=#68f2ad>Protective</color> Roles",
"RoleType.CrewGhost": "<color=#afc3c9>★</color> Crewmate <color=#afc3c9>Ghost</color> Roles /ghostinfo",
"RoleType.NeutralEvil": "<color=#912900>★</color> Neutral <color=#912900>Evil</color> Roles",
"RoleType.NeutralBenign": "<color=#046300>★</color> Neutral <color=#046300>Benign</color> Roles",
Expand Down Expand Up @@ -4188,5 +4190,6 @@
"ChiefOfPoliceKillButtonText": "Recruitment",
"PolicPreventRecruitNonKiller": "Prevent recruit players without Kill button",
"PolicSuidiceWhenTargetNotKiller": "Suicides when recruit a non-Killer or non-<color=#8cffff>Crewmate</color>",
"PolicPassConverted": "Can pass Converted Add-on to <color=#ffb347>Sheriff</color>"
"PolicPassConverted": "Can pass Converted Add-on to <color=#ffb347>Sheriff</color>",
"CrewInvestCanBeGuessed": "<color=#8cffff>Crewmate</color> <color=#008080>Investigative</color> roles can be guessed"
}
2 changes: 1 addition & 1 deletion Roles/Crewmate/Addict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal class Addict : RoleBase
public override CustomRoles Role => CustomRoles.Addict;
private const int Id = 6300;
public override CustomRoles ThisRoleBase => CustomRoles.Engineer;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override bool BlockMoveInVent(PlayerControl pc) => true;
//==================================================================\\

Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Alchemist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Alchemist : RoleBase
public override CustomRoles Role => CustomRoles.Alchemist;
private const int Id = 6400;
public override CustomRoles ThisRoleBase => CustomRoles.Engineer;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override bool BlockMoveInVent(PlayerControl pc) => true;
//==================================================================\\

Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Benefactor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class Benefactor : RoleBase
private const int Id = 26400;

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

private static OptionItem TaskMarkPerRoundOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Bodyguard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class Bodyguard : RoleBase
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Bodyguard);

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateKilling;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

private static OptionItem ProtectRadiusOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Celebrity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class Celebrity : RoleBase
public override CustomRoles Role => CustomRoles.Celebrity;
private const int Id = 6500;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
//==================================================================\\

private static OptionItem ImpKnowCelebrityDead;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Cleanser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal class Cleanser : RoleBase
private const int Id = 6600;
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Cleanser);
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
//==================================================================\\

private static OptionItem CleanserUsesOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Coroner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Coroner : RoleBase
private const int Id = 7700;
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Coroner);
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static readonly Dictionary<byte, HashSet<byte>> CoronerTargets = [];
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Crusader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class Crusader : RoleBase
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Crusader);
public override bool IsDesyncRole => true;
public override CustomRoles ThisRoleBase => CustomRoles.Impostor;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateKilling;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

private static OptionItem SkillLimitOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Detective.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class Detective : RoleBase
public override CustomRoles Role => CustomRoles.Detective;
private const int Id = 7900;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem DetectiveCanknowKiller;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Doctor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal class Doctor : RoleBase
public override CustomRoles Role => CustomRoles.Doctor;
private const int Id = 6700;
public override CustomRoles ThisRoleBase => CustomRoles.Scientist;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
//==================================================================\\

private static OptionItem TaskCompletedBatteryChargeOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Enigma.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal class Enigma : RoleBase
public override CustomRoles Role => CustomRoles.Enigma;
private const int Id = 8100;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem EnigmaClueStage1Tasks;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/FortuneTeller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class FortuneTeller : RoleBase
private const int Id = 8000;
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.FortuneTeller);
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem CheckLimitOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Guardian.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal class Guardian : RoleBase
public override CustomRoles Role => CustomRoles.Guardian;
private const int Id = 11700;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmatePower;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

public override void SetupCustomOption()
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/GuessMaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class GuessMaster : RoleBase
public static bool HasEnabled => playerIdList.Any();

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

public override void SetupCustomOption()
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Inspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal class Inspector : RoleBase
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Inspector);

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem TryHideMsg;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Investigator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal class Investigator : RoleBase
private const int Id = 24900;
public override bool IsDesyncRole => true;
public override CustomRoles ThisRoleBase => CustomRoles.Impostor;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem InvestigateCooldown;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Keeper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Keeper : RoleBase
private const int Id = 26500;

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

private static OptionItem KeeperUsesOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/LazyGuy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal class LazyGuy : RoleBase
public override CustomRoles Role => CustomRoles.LazyGuy;
private const int Id = 6800;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
//==================================================================\\

public override void SetupCustomOption()
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Lookout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal class Lookout : RoleBase
public override CustomRoles Role => CustomRoles.Lookout;
private const int Id = 11800;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmatePower;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

public override void SetupCustomOption()
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Medic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class Medic : RoleBase
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Medic);
public override bool IsDesyncRole => !GiveTasks;
public override CustomRoles ThisRoleBase => GiveTasks ? CustomRoles.Crewmate : CustomRoles.Impostor;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateProtective;
//==================================================================\\

private static OptionItem WhoCanSeeProtectOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Medium.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Medium : RoleBase
private const int Id = 8700;
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Medium);
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem ContactLimitOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Mole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class Mole : RoleBase
public override CustomRoles Role => CustomRoles.Mole;
private const int Id = 26000;
public override CustomRoles ThisRoleBase => CustomRoles.Engineer;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override bool BlockMoveInVent(PlayerControl pc) => true;
//==================================================================\\

Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Mortician.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class Mortician : RoleBase
public override CustomRoles Role => CustomRoles.Mortician;
private const int Id = 8900;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem ShowArrows;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Oracle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class Oracle : RoleBase
private const int Id = 9100;
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Oracle);
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem CheckLimitOpt;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Overseer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class Overseer : RoleBase
private const int Id = 12200;
public override bool IsDesyncRole => true;
public override CustomRoles ThisRoleBase => CustomRoles.Impostor;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmatePower;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

public override Sprite GetKillButtonSprite(PlayerControl player, bool shapeshifting) => CustomButton.Get("prophecies");
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Psychic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class Psychic : RoleBase
public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Psychic);

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static OptionItem CanSeeNum;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Randomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class Randomizer : RoleBase
public override CustomRoles Role => CustomRoles.Randomizer;
private const int Id = 7500;
public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateBasic;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
//==================================================================\\

public static OptionItem BecomeBaitDelayNotify;
Expand Down
2 changes: 1 addition & 1 deletion Roles/Crewmate/Snitch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Snitch : RoleBase
public static bool HasEnabled => playerIdList.Any();

public override CustomRoles ThisRoleBase => CustomRoles.Crewmate;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateSupport;
public override Custom_RoleType ThisRoleType => Custom_RoleType.CrewmateInvestigative;
//==================================================================\\

private static readonly Color RoleColor = Utils.GetRoleColor(CustomRoles.Snitch);
Expand Down
Loading