change neutral team to Custom and add more customization

This commit is contained in:
XtraCube committed 2025-02-16 22:33:16 -05:00
1 parent 0af392d60e
commit 37446964c5
8 files changed
+138 -81

No files matched your search

+5 -4
View File
@@ -5,17 +5,18 @@ namespace MiraAPI.Example.Roles;
public class NeutralKillerRole : ImpostorRole, ICustomRole
{
public string RoleName => "Neutral Killer";
public string RoleDescription => "Neutral who can kill.";
public string RoleName => "Outcast Killer";
public string RoleDescription => "Outcast who can kill.";
public string RoleLongDescription => RoleDescription;
public Color RoleColor => Color.magenta;
public ModdedRoleTeams Team => ModdedRoleTeams.Neutral;
public ModdedRoleTeams Team => ModdedRoleTeams.Custom;
public CustomRoleConfiguration Configuration => new CustomRoleConfiguration(this)
public CustomRoleConfiguration Configuration => new(this)
{
UseVanillaKillButton = true,
CanGetKilled = true,
CanUseVent = true,
RoleGroup = new RoleGroup("Outcast", Color.gray),
};
public override void SpawnTaskHeader(PlayerControl playerControl)