mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Final Commits
This commit is contained in:
1 parent
fcb0d754ad
commit
6986355441
7 files changed
+9
-1
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 |
@@ -2307,6 +2307,7 @@
|
||||
"InfectiousKillButtonText": "Infect",
|
||||
"MonarchKillButtonText": "Knight",
|
||||
"FarseerKillButtonText": "Reveal",
|
||||
"SentryPetButtonText": "Monitor",
|
||||
"DisabledBySettings": "Disabled by Settings",
|
||||
"Disabled": "Disabled",
|
||||
"FailToTrack": "Failed To Track",
|
||||
|
||||
@@ -2296,6 +2296,7 @@
|
||||
"InfectiousKillButtonText": "Infectar",
|
||||
"MonarchKillButtonText": "Nomear",
|
||||
"FarseerKillButtonText": "Revelar",
|
||||
"SentryPetButtonText": "Monitor",
|
||||
"DisabledBySettings": "Desabilitado pelas Configurações",
|
||||
"Disabled": "Desabilitado",
|
||||
"FailToTrack": "Falha ao Localizar",
|
||||
|
||||
@@ -2307,6 +2307,7 @@
|
||||
"InfectiousKillButtonText": "Заразить",
|
||||
"MonarchKillButtonText": "Посвятить",
|
||||
"FarseerKillButtonText": "Раскрыть",
|
||||
"SentryPetButtonText": "контролировать",
|
||||
"DisabledBySettings": "Выключено настройками",
|
||||
"Disabled": "Выключено",
|
||||
"FailToTrack": "Не удалось отследить",
|
||||
|
||||
Reference in new issue
Block a user