mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
21 lines
626 B
C#
21 lines
626 B
C#
using MiraAPI.Roles;
|
|
using UnityEngine;
|
|
|
|
namespace MiraAPI.Example.Roles;
|
|
|
|
[RegisterCustomRole]
|
|
public class FreezerRole : ImpostorRole, ICustomRole
|
|
{
|
|
public string RoleName => "Freezer";
|
|
public string RoleLongDescription => "Freeze another player for a duration of time.";
|
|
public string RoleDescription => RoleLongDescription;
|
|
public Color RoleColor => Palette.Blue;
|
|
public ModdedRoleTeams Team => ModdedRoleTeams.Impostor;
|
|
|
|
public CustomRoleConfiguration Configuration => new CustomRoleConfiguration(this)
|
|
{
|
|
OptionsScreenshot = ExampleAssets.Banner,
|
|
MaxRoleCount = 2,
|
|
};
|
|
}
|