Final Commits

This commit is contained in:
Gurge44 committed 2024-04-28 21:57:57 +02:00
1 parent fcb0d754ad
commit 6986355441
7 files changed
+9 -1

No files matched your search

-1
View File
@@ -1063,7 +1063,6 @@ internal class ChatCommands
Utils.SendMessage("\n", player.PlayerId, settings.ToString());
Utils.SendMessage(sb.ToString(), player.PlayerId, string.Empty);
_ = new LateTask(() => { }, 0.5f, log: false);
}
else
Utils.SendMessage(GetString("Message.CanNotUseInLobby"), player.PlayerId);
+3
View File
@@ -179,6 +179,9 @@ class HudManagerPatch
switch (player.GetCustomRole())
{
case CustomRoles.Sentry:
__instance.PetButton?.OverrideText(GetString("SentryPetButtonText"));
break;
case CustomRoles.FireWorks:
__instance.AbilityButton?.OverrideText((Main.PlayerStates[player.PlayerId].Role as FireWorks).nowFireWorksCount == 0 ? GetString("FireWorksExplosionButtonText") : GetString("FireWorksInstallAtionButtonText"));
break;
+3
View File
@@ -58,6 +58,9 @@ public static class HudSpritePatch
switch (player.GetCustomRole())
{
case CustomRoles.Sentry:
newPetButton = CustomButton.Get("Sentry");
break;
case CustomRoles.Commander:
newAbilityButton = CustomButton.Get("Commander");
break;
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

+1
View File
@@ -2307,6 +2307,7 @@
"InfectiousKillButtonText": "Infect",
"MonarchKillButtonText": "Knight",
"FarseerKillButtonText": "Reveal",
"SentryPetButtonText": "Monitor",
"DisabledBySettings": "Disabled by Settings",
"Disabled": "Disabled",
"FailToTrack": "Failed To Track",
+1
View File
@@ -2296,6 +2296,7 @@
"InfectiousKillButtonText": "Infectar",
"MonarchKillButtonText": "Nomear",
"FarseerKillButtonText": "Revelar",
"SentryPetButtonText": "Monitor",
"DisabledBySettings": "Desabilitado pelas Configurações",
"Disabled": "Desabilitado",
"FailToTrack": "Falha ao Localizar",
+1
View File
@@ -2307,6 +2307,7 @@
"InfectiousKillButtonText": "Заразить",
"MonarchKillButtonText": "Посвятить",
"FarseerKillButtonText": "Раскрыть",
"SentryPetButtonText": "контролировать",
"DisabledBySettings": "Выключено настройками",
"Disabled": "Выключено",
"FailToTrack": "Не удалось отследить",