mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
enhanced
This commit is contained in:
1 parent
525f987926
commit
acfe345133
9 files changed
+38
-38
No files matched your search
@@ -10,9 +10,7 @@ namespace MiraAPI.Example.Roles;
|
||||
|
||||
public class ChameloenRole : CrewmateRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "chamelon.name";
|
||||
public string RoleLongDescription => "chamelon.description";
|
||||
public string RoleDescription => RoleLongDescription;
|
||||
public string IdPart => "chamelon";
|
||||
public Color RoleColor => Palette.AcceptedGreen;
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Crewmate;
|
||||
|
||||
|
||||
@@ -6,9 +6,7 @@ namespace MiraAPI.Example.Roles;
|
||||
|
||||
public class FreezerRole : ImpostorRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "freezer.name";
|
||||
public string RoleLongDescription => "freezer.description";
|
||||
public string RoleDescription => RoleLongDescription;
|
||||
public string IdPart => "freezer";
|
||||
public Color RoleColor => Palette.Blue;
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Impostor;
|
||||
|
||||
|
||||
@@ -5,9 +5,7 @@ namespace MiraAPI.Example.Roles;
|
||||
|
||||
public class MayorRole : CrewmateRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "mayor.name";
|
||||
public string RoleLongDescription => "mayor.description";
|
||||
public string RoleDescription => RoleLongDescription;
|
||||
public string IdPart => "mayor";
|
||||
public Color RoleColor => new Color32(221, 176, 152, 255);
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Crewmate;
|
||||
public CustomRoleConfiguration Configuration => new(this);
|
||||
|
||||
@@ -8,9 +8,7 @@ namespace MiraAPI.Example.Roles;
|
||||
|
||||
public class NeutralKillerRole : ImpostorRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "outcastKiller.name";
|
||||
public string RoleDescription => "outcastKiller.description";
|
||||
public string RoleLongDescription => RoleDescription;
|
||||
public string IdPart => "outcastKiller";
|
||||
public Color RoleColor => Color.magenta;
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Custom;
|
||||
|
||||
|
||||
@@ -5,9 +5,7 @@ namespace MiraAPI.Example.Roles;
|
||||
|
||||
public class TeleporterRole : CrewmateRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "teleporter.name";
|
||||
public string RoleLongDescription => "teleporter.description";
|
||||
public string RoleDescription => RoleLongDescription;
|
||||
public string IdPart => "teleporter";
|
||||
public Color RoleColor => new Color32(221, 176, 152, 255);
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Crewmate;
|
||||
|
||||
|
||||
Reference in new issue
Block a user