mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Neutral role support
This commit is contained in:
1 parent
0d746869de
commit
32b6382487
8 files changed
+32
-15
No files matched your search
@@ -6,10 +6,10 @@ namespace MiraAPI.Example
|
||||
[RegisterCustomRole(ExamplePlugin.Id)]
|
||||
public class CustomRole : CrewmateRole, ICustomRole
|
||||
{
|
||||
public string RoleName => "Sussy Baka";
|
||||
public string RoleName => "Test Role";
|
||||
public string RoleDescription => "Role decs?";
|
||||
public string RoleLongDescription => "Extra role decs?";
|
||||
public Color RoleColor => Palette.Orange;
|
||||
public RoleTeamTypes Team => RoleTeamTypes.Crewmate;
|
||||
public ModdedRoleTeams Team => ModdedRoleTeams.Neutral;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace MiraAPI.Example
|
||||
{
|
||||
public class ModifierExample
|
||||
{
|
||||
//name, role specific, etc
|
||||
|
||||
// mono behaviour stuff here (ModdedPlayerModifier inherits monobehaviour)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user