Add missing strings (#374)

* Update en_US.json

* Update RPC.cs

* Update en_US.json

* Update IntroPatch.cs

* Update IntroPatch.cs

* Update README.md

* Update CopyCat.cs

* Update RPC.cs

* Update CustomRolesHelper.cs
This commit is contained in:
PEPPERcula authored and GitHub committed 2025-10-09 08:14:03 +02:00
1 parent 1310196993
commit da0f49652a
6 files changed
+45 -36

No files matched your search

+1 -1
View File
@@ -1088,7 +1088,7 @@ internal static class CustomRolesHelper
CustomRoles.Aide when pc.IsMadmate() || pc.Is(CustomRoles.Saboteur) => false,
CustomRoles.Sleuth when pc.GetCustomRole() is CustomRoles.NecroGuesser or CustomRoles.Imitator or CustomRoles.Forensic => false,
CustomRoles.Introvert when pc.GetCustomRole() is CustomRoles.Leery or CustomRoles.Samurai or CustomRoles.Arsonist or CustomRoles.Revolutionist or CustomRoles.Farseer or CustomRoles.Scavenger or CustomRoles.Analyst => false,
CustomRoles.Circumvent when pc.GetCustomRole() is CustomRoles.Swooper or CustomRoles.RiftMaker=> false,
CustomRoles.Circumvent when pc.GetCustomRole() is CustomRoles.Swooper or CustomRoles.RiftMaker => false,
CustomRoles.Oblivious when pc.Is(CustomRoles.Altruist) => false,
CustomRoles.AntiTP when pc.GetCustomRole() is CustomRoles.Transmitter or CustomRoles.Miner or CustomRoles.Escapee or CustomRoles.Tunneler or CustomRoles.Ninja => false,
CustomRoles.Swift when pc.Is(CustomRoles.Stealth) => false,
-4
View File
@@ -1148,9 +1148,6 @@ internal static class RPCHandlerPatch
VengefulRomantic.ReceiveRPC(reader);
break;
}
//case CustomRPC.SetCursedSoulCurseLimit:
// CursedSoul.ReceiveRPC(reader);
// break;
case CustomRPC.SetEvilDiviner:
{
byte id = reader.ReadByte();
@@ -1676,4 +1673,3 @@ internal static class PlayerPhysicsRPCHandlerPatch
}
}
+24 -8
View File
@@ -536,7 +536,7 @@ internal static class BeginCrewmatePatch
{
__instance.TeamTitle.text = GetString("TeamImpostor");
__instance.TeamTitle.color = __instance.BackgroundBar.material.color = new Color32(140, 255, 255, byte.MaxValue);
PlayerControl.LocalPlayer.Data.Role.IntroSound = GetIntroSound(RoleTypes.Shapeshifter);
PlayerControl.LocalPlayer.Data.Role.IntroSound = GetIntroSound(RoleTypes.Impostor);
__instance.ImpostorText.gameObject.SetActive(true);
__instance.ImpostorText.text = GetString("SubText.Crewmate");
break;
@@ -614,11 +614,11 @@ internal static class BeginCrewmatePatch
{
PlayerControl.LocalPlayer.Data.Role.IntroSound = role switch
{
CustomRoles.Bomber or
CustomRoles.Battery or
CustomRoles.Bomber or
CustomRoles.Nuker or
CustomRoles.Sapper or
CustomRoles.Terrorist or
CustomRoles.Battery
CustomRoles.Terrorist
=> ShipStatus.Instance.CommonTasks.FirstOrDefault(task => task.TaskType == TaskTypes.FixWiring)?.MinigamePrefab.OpenSound,
CustomRoles.Dictator or
@@ -663,8 +663,10 @@ internal static class BeginCrewmatePatch
CustomRoles.Ventguard
=> ShipStatus.Instance.VentEnterSound,
CustomRoles.NiceEraser or
CustomRoles.MeetingManager or
CustomRoles.NiceEraser or
CustomRoles.ParityCop or
CustomRoles.President or
CustomRoles.TimeManager
=> MeetingHud.Instance.VoteLockinSound,
@@ -684,6 +686,7 @@ internal static class BeginCrewmatePatch
=> FastDestroyableSingleton<HnSImpostorScreamSfx>.Instance.HnSOtherYeehawSfx,
CustomRoles.Hater or
CustomRoles.Lawyer or
CustomRoles.Opportunist or
CustomRoles.Revolutionist
=> GetIntroSound(RoleTypes.Crewmate),
@@ -698,14 +701,17 @@ internal static class BeginCrewmatePatch
CustomRoles.Mediumshiper or
CustomRoles.Observer or
CustomRoles.Spiritcaller or
CustomRoles.Spiritualist
CustomRoles.Spiritualist or
CustomRoles.Whisperer
=> GetIntroSound(RoleTypes.GuardianAngel),
CustomRoles.Engineer or
CustomRoles.EngineerEHR or
CustomRoles.Clerk or
CustomRoles.Dealer or
CustomRoles.Detour or
CustomRoles.Investor or
CustomRole.Merchant or
CustomRoles.Sentinel or
CustomRoles.Sentry
=> GetIntroSound(RoleTypes.Engineer),
@@ -720,8 +726,10 @@ internal static class BeginCrewmatePatch
CustomRoles.Tracker
or CustomRoles.TrackerEHR
or CustomRoles.Bloodhound
or CustomRoles.Captain
or CustomRoles.EvilTracker
or CustomRoles.Scout
or CustomRoles.Lookout
=> GetIntroSound(RoleTypes.Tracker),
CustomRoles.Viper
@@ -739,21 +747,29 @@ internal static class BeginCrewmatePatch
or CustomRoles.DetectiveEHR
or CustomRoles.Analyst
or CustomRoles.Divinator
or CustomRoles.Enigma
or CustomRoles.Farseer
or CustomRoles.Forensic
or CustomRoles.Insight
or CustomRoles.Inquisitor
or CustomRoles.Inquirer
or CustomRoles.Leery
or CustomRoles.Mortician
or CustomRoles.Oracle
=> GetIntroSound(RoleTypes.Detective),
CustomRoles.Noisemaker
or CustomRoles.NoisemakerEHR
or CustomRoles.SuperStar
or CustomRoles.Stalker
or CustomRoles.Markseeker
or CustomRoles.Soothsayer
or CustomRoles.Specter
or CustomRoles.SuperStar
or CustomRoles.Sunnyboy
=> GetIntroSound(RoleTypes.Noisemaker),
CustomRoles.Phantom
or CustomRoles.PhantomEHR
or CustomRoles.Ambusher
or CustomRoles.Stalker
or CustomRoles.ImperiusCurse
or CustomRoles.SoulHunter
+3 -2
View File
@@ -66,7 +66,7 @@ You can also report bugs and suggest features in the #bug-reports and #suggestio
### Visit this website to find role descriptions: [Role description finder](https://gurge44.pythonanywhere.com/)
#### Over 400+ roles and add-ons, 13 custom game modes, and a Custom Team Assigner application, making EHR the most extensive mod for Among Us. And it's all free, and only the host needs to have the mod installed for the entire lobby to play!
#### Over 400+ roles and add-ons, 14 custom game modes, and a Custom Team Assigner application, making EHR the most extensive mod for Among Us. And it's all free, and only the host needs to have the mod installed for the entire lobby to play!
## List of Roles <span style="font-size: 12px;">(excluding (Custom) Hide And Seek roles and Vanilla roles)</span>
@@ -261,7 +261,7 @@ Source language: English
- You can also press TAB to autocomplete commands.
- Some hints and tips are displayed during the loading screen and ejection animations, which can help you discover new
features.
- EHR has 13 unique custom game modes, which can be played with any number of players, some even alone.
- EHR has 14 unique custom game modes, which can be played with any number of players, some even alone.
- You can make lobbies with more than 15 players on modded servers, just type /cs players 100 - for example - to set the
player limit to 100.
- I, the main developer of EHR, care about user feedback and suggestions, and I try to implement them as much as
@@ -676,3 +676,4 @@ By using the Endless Host Roles mod, you agree to the terms outlined in this Pri
+6 -5
View File
@@ -839,7 +839,7 @@
"AmnesiacInfoLong": "(Neutrals):\\nAs the Amnesiac, use your kill or report button (depends on the Host's settings) on a player/body to copy their role.\\nSettings may alter the role you get in a few specific scenarios.",
"DoomsayerInfoLong": "(Neutrals):\\nThe Doomsayer can guess the role of a certain player during the meeting. If the Doomsayer guesses a certain number of roles (the number depends on the host settings), then he wins.\\n\\nThe guessing command is: /bt [player id] [role]\\nYou can see the player's id before the player's name, or use the /id command to view the id of all players.",
"LastImpostorInfoLong": "(Add-ons):\\nLast Impostor gets reduced kill cooldown.",
"LoversInfoLong": "(Add-ons),\\nLovers win together and may die together if one is exiled or killed. They can see the ♥ mark next to each other's name. If one of the lovers wins at the end, the other wins too.",
"LoversInfoLong": "(Add-ons):\\nLovers win together and may die together if one is exiled or killed. They can see the ♥ mark next to each other's name. If one of the lovers wins at the end, the other wins too.",
"MadmateInfoLong": "(Add-ons):\\nMadmates assist the Impostors in winning the game. They are only available to Crewmates but can identify Impostors depending on the host's settings. Certain roles like Sheriff, Snitch, and Mayor can become Madmates. The abilities of some roles change when they become Madmates. For example, the Grenadier's flash bomb works on Crewmates and Neutrals instead of Impostors. The Judge can judge anyone.",
"WatcherInfoLong": "(Add-ons):\\nDuring the meeting, Watcher can see everyone's votes.",
"MagnetInfoLong": "(Add-ons):\\nWhen you kill, your victims lunge to you, instead of you lunging to them",
@@ -1256,7 +1256,7 @@
"MenuTitle.Guessers": "★ Guesser Mode ★",
"MenuTitle.CTA": "★ Custom Team Assignment ★",
"MenuTitle.AFKDetection": "★ AFK Detection ★",
"ReadyCheckMessage": "The host/an Admin is checking how many players are ready to start the game.\\nPlease type <b>/ready</b> to let the host know you're not AFK.",
"ReadyCheckMessage": "The Host/an Admin is checking how many players are ready to start the game.\\nPlease type <b>/ready</b> to let the Host/Admins know you're not AFK.",
"ReadyCheckTitle": "<#ffff00>★ Ready Check ★</color>",
"EveryoneReadyTitle": "<#00ff00>Everyone is ready!</color>",
"PlayersNotReadyTitle": "<#ffff00><#ffab1b>{0}</color> players are not ready!</color> They are:",
@@ -2700,7 +2700,7 @@
"LoadingHint.25": "Meeting not ending when everyone voted?\nPress F6 to end the meeting while also counting the votes!",
"LoadingHint.26": "Do you have a friend who thinks they understand everything, and you want to prove them wrong?\nTurn on the Chemist role and see their reaction!",
"LoadingHint.27": "The Dev's favorite roles are:\nEcho, Penguin, Rift Maker, Bubble, Evolver, Rogue, Vengeance....\nand basically all crewmate roles :D",
"LoadingHint.28": "Did you know?\nEHR has 13 different game modes! Try them out!\nSwitch game modes using the buttons under the huge title in the top left of the settings menu!",
"LoadingHint.28": "Did you know?\nEHR has 14 different game modes! Try them out!\nSwitch game modes using the buttons under the huge title in the top left of the settings menu!",
"LoadingHint.29": "Did you know?\nEHR has a unique game mode for expert gamers called Stop And Go!\nGive it a try after this game!",
"LoadingHint.30": "Getting Crewmate over and over again? Didn't get to kill for the last half an hour?\nUnleash your bloodthirst in our Free For All game mode!",
"LoadingHint.31": "Did you know?\nEHR has a custom Hide And Seek game mode with 12 special roles dedicated for this playstyle!",
@@ -4300,10 +4300,10 @@
"MastermindInfo": "Make others kill for you",
"MastermindInfoLong": "(Impostors):\\nAs the Mastermind, you can use your kill button on a player once to manipulate them. They'll be told after a delay that they were manipulated and they must kill someone within a limited time to survive. If the time limit expires or a meeting gets called before killing someone, they die.\\nDouble click on someone to kill them normally.",
"MastermindCD": "Manipulate Cooldown",
"MastermindTimeLimit": "Time Limit to Kill Someone / Complete a Task",
"MastermindTimeLimit": "Time Limit to Kill Someone/Complete a Task",
"MastermindDelay": "Manipulation Notify Delay",
"ManipulateNotify": "\\n<color=#ff1919>You were manipulated by the Mastermind!</color>\\n<color=#ffff00>You must kill someone within <color=#ffa500>{0}s</color> or you die!</color>",
"ManipulatedKilled": "The player you manipulated has killed / completed a task",
"ManipulatedKilled": "The player you manipulated has killed/completed a task",
"MastermindTargetSurvived": "<color=#00ff00>You survive</color>",
"Gambler": "Gambler",
"GamblerInfo": "Each Kill gets you an Effect",
@@ -9993,6 +9993,7 @@
"AGMR.RandomGroup.GMChance.Quiz": "Chance of selecting Quiz",
"AGMR.RandomGroup.GMChance.TheMindGame": "Chance of selecting The Mind Game",
"AGMR.RandomGroup.GMChance.BedWars": "Chance of selecting Bed Wars",
"AGMR.RandomGroup.GMChance.Deathrace": "Chance of selecting Deathrace",
"AutoGMRotationStatusText": "<u>AUTOMATIC GAME MODE ROTATION IS ENABLED!</u>",
"AutoGMRotationStatusText.NextGM": "Next",
"AutoGMRotationStatusText.GMPoll": "Player Vote (/gmpoll)",
+11 -16
View File
@@ -104,22 +104,22 @@ public class CopyCat : RoleBase
CustomRoles.Swooper or CustomRoles.Wraith => CustomRoles.Chameleon,
CustomRoles.Stealth or CustomRoles.Nonplus => CustomRoles.Grenadier,
CustomRoles.TimeThief => CustomRoles.TimeManager,
CustomRoles.EvilDiviner or CustomRoles.Ritualist => CustomRoles.Farseer,
CustomRoles.EvilDiviner or CustomRoles.Ritualist or CustomRoles.PotionMaster => CustomRoles.Farseer,
CustomRoles.AntiAdminer => CustomRoles.Monitor,
CustomRoles.CursedWolf or CustomRoles.Jinx => CustomRoles.Veteran,
CustomRoles.CursedWolf or CustomRoles.Jinx or CustomRoles.Goddess => CustomRoles.Veteran,
CustomRoles.EvilTracker => CustomRoles.TrackerEHR,
CustomRoles.Mercenary => CustomRoles.Addict,
CustomRoles.Miner => CustomRoles.Mole,
CustomRoles.Escapee => CustomRoles.Tunneler,
CustomRoles.Escapee or CustomRoles.Enderman => CustomRoles.Tunneler,
CustomRoles.Twister => CustomRoles.TimeMaster,
CustomRoles.Disperser => CustomRoles.Transporter,
CustomRoles.Eraser => CustomRoles.Cleanser,
CustomRoles.Eraser => CustomRoles.NiceEraser,
CustomRoles.Visionary => CustomRoles.Oracle,
CustomRoles.Workaholic => CustomRoles.Snitch,
CustomRoles.Workaholic or CustomRoles.Pawn => CustomRoles.Snitch,
CustomRoles.Sunnyboy => CustomRoles.Doctor,
CustomRoles.Vindicator or CustomRoles.Pickpocket => CustomRoles.Mayor,
CustomRoles.Councillor => CustomRoles.Judge,
CustomRoles.EvilGuesser or CustomRoles.Doomsayer => CustomRoles.NiceGuesser,
CustomRoles.Councillor or CustomRoles.Magistrate => CustomRoles.Judge,
CustomRoles.EvilGuesser or CustomRoles.Doomsayer or CustomRoles.Augur => CustomRoles.NiceGuesser,
CustomRoles.Vengeance => CustomRoles.Adrenaline,
CustomRoles.Occultist => CustomRoles.Altruist,
CustomRoles.Dealer => CustomRoles.Merchant,
@@ -135,26 +135,20 @@ public class CopyCat : RoleBase
CustomRoles.Kidnapper => CustomRoles.Autocrat,
CustomRoles.Capitalism => CustomRoles.Helper,
CustomRoles.Technician or CustomRoles.Saboteur => CustomRoles.Mechanic,
CustomRoles.Magician => CustomRoles.Wizard,
CustomRoles.Magician or CustomRoles.Curser => CustomRoles.Wizard,
CustomRoles.Penguin => CustomRoles.Goose,
CustomRoles.PotionMaster => CustomRoles.Farseer,
CustomRoles.Anonymous => CustomRoles.Paranoia,
CustomRoles.ImperiusCurse or CustomRoles.Swapster => CustomRoles.Transporter,
CustomRoles.NoteKiller => CustomRoles.Decryptor,
CustomRoles.Gaslighter => new [] {CustomRoles.Medic, CustomRoles.Monarch}.RandomElement(),
CustomRoles.Timelord => CustomRoles.Deputy,
CustomRoles.Goddess => CustomRoles.Veteran,
CustomRoles.Pawn => CustomRoles.Snitch,
CustomRoles.Amnesiac => CustomRoles.Tracefinder,
CustomRoles.SerialKiller => CustomRoles.Sheriff,
CustomRoles.Maverick => CustomRoles.SwordsMan,
CustomRoles.Hookshot or CustomRoles.Ninja => new[] {CustomRoles.Tether, CustomRoles.Transmitter}.RandomElement(),
CustomRoles.Enderman => CustomRoles.Tunneler,
CustomRoles.Hypocrite or CustomRoles.Phantasm => CustomRoles.Speedrunner,
CustomRoles.Magistrate => CustomRoles.Judge,
CustomRoles.Curser => CustomRoles.Wizard,
CustomRoles.Augur => CustomRoles.NiceGuesser,
CustomRoles.Bandit => CustomRoles.Cleanser,
CustomRoles.Weatherman => CustomRoles.Tornado,
_ => role
};
@@ -194,4 +188,5 @@ public class CopyCat : RoleBase
SetKillCooldown(pc.PlayerId);
return false;
}
}
}