mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
add msg
This commit is contained in:
1 parent
86bb21ed73
commit
daed19ef8d
4 files changed
+9
-4
No files matched your search
@@ -2522,7 +2522,8 @@ internal static class ChatCommands
|
||||
|
||||
Utils.SendMessage(sb.ToString(), player.PlayerId, titleSb.ToString(), importance: MessageImportance.High);
|
||||
if (role.UsesPetInsteadOfKill()) Utils.SendMessage("\n", player.PlayerId, GetString("UsesPetInsteadOfKillNotice"));
|
||||
if (player.UsesMeetingShapeshift()) Utils.SendMessage("\n", player.PlayerId, GetString("UsesMeetingShapeshiftNotice"));
|
||||
if (player.UsesJudgeAbilityAsTrigger()) Utils.SendMessage("\n", player.PlayerId, GetString("UsesJudgeAbilityAsTriggerNotice"));
|
||||
else if (player.UsesMeetingShapeshift()) Utils.SendMessage("\n", player.PlayerId, GetString("UsesMeetingShapeshiftNotice"));
|
||||
}
|
||||
else
|
||||
Utils.SendMessage((player.FriendCode.GetDevUser().HasTag() ? "\n" : string.Empty) + GetString("Message.CanNotUseInLobby"), player.PlayerId);
|
||||
@@ -3427,7 +3428,8 @@ internal static class ChatCommands
|
||||
|
||||
if (settings.Length > 0) Utils.SendMessage("\n", playerId, settings.ToString());
|
||||
if (rl.UsesPetInsteadOfKill()) Utils.SendMessage("\n", playerId, GetString("UsesPetInsteadOfKillNotice"));
|
||||
if (rl.UsesMeetingShapeshift()) Utils.SendMessage("\n", playerId, GetString("UsesMeetingShapeshiftNotice"));
|
||||
if (rl.UsesJudgeAbilityAsTrigger()) Utils.SendMessage("\n", playerId, GetString("UsesJudgeAbilityAsTriggerNotice"));
|
||||
else if (rl.UsesMeetingShapeshift()) Utils.SendMessage("\n", playerId, GetString("UsesMeetingShapeshiftNotice"));
|
||||
|
||||
Utils.SendMessage(sb.ToString(), playerId, title, importance: MessageImportance.High);
|
||||
return;
|
||||
|
||||
@@ -630,7 +630,8 @@ public static class InGameRoleInfoMenu
|
||||
});
|
||||
|
||||
if (role.UsesPetInsteadOfKill()) Sb.Append($"\n\n{GetString("UsesPetInsteadOfKillNotice")}");
|
||||
if (player.UsesMeetingShapeshift()) Sb.Append($"\n\n{GetString("UsesMeetingShapeshiftNotice")}");
|
||||
if (player.UsesJudgeAbilityAsTrigger()) Sb.Append($"\n\n{GetString("UsesJudgeAbilityAsTriggerNotice")}");
|
||||
else if (player.UsesMeetingShapeshift()) Sb.Append($"\n\n{GetString("UsesMeetingShapeshiftNotice")}");
|
||||
|
||||
Sb.Insert(0, $"{TitleSb}\n");
|
||||
|
||||
|
||||
@@ -762,7 +762,8 @@ internal static class MeetingHudStartPatch
|
||||
|
||||
if (Settings.Length > 0) RoleDescMsgs.Add(new("\n", pc.PlayerId, Settings.ToString()));
|
||||
if (role.UsesPetInsteadOfKill()) RoleDescMsgs.Add(new("\n", pc.PlayerId, GetString("UsesPetInsteadOfKillNotice")));
|
||||
if (pc.UsesMeetingShapeshift()) RoleDescMsgs.Add(new("\n", pc.PlayerId, GetString("UsesMeetingShapeshiftNotice")));
|
||||
if (pc.UsesJudgeAbilityAsTrigger()) RoleDescMsgs.Add(new("\n", pc.PlayerId, GetString("UsesJudgeAbilityAsTriggerNotice")));
|
||||
else if (pc.UsesMeetingShapeshift()) RoleDescMsgs.Add(new("\n", pc.PlayerId, GetString("UsesMeetingShapeshiftNotice")));
|
||||
|
||||
RoleDescMsgs.Add(new(Sb.ToString(), pc.PlayerId, TitleSb.ToString()));
|
||||
}
|
||||
|
||||
@@ -10322,6 +10322,7 @@
|
||||
"UseVoteCancelling": "Use Vote Cancelling Method instead of Commands",
|
||||
"UseVoteCancellingAfterVote": "Can Vote Normally After Using Ability (Vote)",
|
||||
"UsesMeetingShapeshiftNotice": "<#ffff00>⚠ As this role, instead of commands and votes, you need to use the shapeshift menu in meetings to select your target!</color>",
|
||||
"UsesJudgeAbilityAsTriggerNotice": "<#ffff00>⚠ As this role, instead of commands and votes, you need to 'judge' your selected target!</color> <size=70%>(They won't actually be judged. This is just an ability trigger!)</size>",
|
||||
"VIPTag": "<#ffff00>VIP</color>",
|
||||
"VanillaCrewmateCannotBeGuessed": "Crewmate role cannot be guessed",
|
||||
"VengefulCanVent": "<color=#ba2749>Vengeful Romantic</color> Can Vent",
|
||||
|
||||
Reference in new issue
Block a user