diff --git a/MiraAPI.Example/Roles/NeutralKillerRole.cs b/MiraAPI.Example/Roles/NeutralKillerRole.cs
index eb937e1..e9b4344 100644
--- a/MiraAPI.Example/Roles/NeutralKillerRole.cs
+++ b/MiraAPI.Example/Roles/NeutralKillerRole.cs
@@ -20,6 +20,11 @@ public class NeutralKillerRole : ImpostorRole, ICustomRole
public RoleOptionsGroup RoleOptionsGroup { get; } = new("Outcast", Color.gray);
+ public TeamIntroConfiguration? IntroConfiguration { get; } = new(
+ Color.gray,
+ "NEUTRAL",
+ "You are an Outcast. You do not have a team.");
+
public override void SpawnTaskHeader(PlayerControl playerControl)
{
// remove existing task header.
diff --git a/MiraAPI/Roles/ICustomRole.cs b/MiraAPI/Roles/ICustomRole.cs
index 0c77019..d02453c 100644
--- a/MiraAPI/Roles/ICustomRole.cs
+++ b/MiraAPI/Roles/ICustomRole.cs
@@ -58,9 +58,9 @@ public interface ICustomRole
///
/// Gets the role's IntroCutscene configuration.
///
- public RoleIntroConfiguration? IntroConfiguration => Team switch
+ public TeamIntroConfiguration? IntroConfiguration => Team switch
{
- ModdedRoleTeams.Custom => RoleIntroConfiguration.Neutral,
+ ModdedRoleTeams.Custom => TeamIntroConfiguration.Neutral,
_ => null,
};
diff --git a/MiraAPI/Roles/RoleIntroConfiguration.cs b/MiraAPI/Roles/TeamIntroConfiguration.cs
similarity index 78%
rename from MiraAPI/Roles/RoleIntroConfiguration.cs
rename to MiraAPI/Roles/TeamIntroConfiguration.cs
index 53ca749..9177722 100644
--- a/MiraAPI/Roles/RoleIntroConfiguration.cs
+++ b/MiraAPI/Roles/TeamIntroConfiguration.cs
@@ -3,17 +3,17 @@
namespace MiraAPI.Roles;
///
-/// Used to configure the intro cutscene.
+/// Used to configure the TEAM part of the intro cutscene.
///
/// The color to show during the "Team" part of the intro cutscene.
/// The title text to show during the "Team" part of the intro cutscene.
/// The description text to show during the "Team" part of the intro cutscene.
-public record struct RoleIntroConfiguration(Color IntroTeamColor, string IntroTeamTitle, string IntroTeamDescription)
+public record struct TeamIntroConfiguration(Color IntroTeamColor, string IntroTeamTitle, string IntroTeamDescription)
{
///
/// Gets the default configuration for the "Neutral" team.
///
- public static RoleIntroConfiguration Neutral { get; } = new(
+ public static TeamIntroConfiguration Neutral { get; } = new(
Color.gray,
"NEUTRAL",
"You are Neutral. You do not have a team.");