Add String

This commit is contained in:
Gurge44 committed 2024-02-14 16:06:28 +01:00
1 parent ead930e678
commit 91c10334fa
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -161,7 +161,7 @@ class ExileControllerWrapUpPatch
if (map != null) Main.AllAlivePlayerControls.Do(map.RandomTeleport);
}
if (Options.SpawnAdditionalRefugeeOnImpsDead.GetBool() && !Main.AllAlivePlayerControls.Any(x => x.PlayerId != exiled.PlayerId && (x.Is(CustomRoleTypes.Impostor) || (x.Is(CustomRoleTypes.Neutral) && Options.SpawnAdditionalRefugeeWhenNKAlive.GetBool()))))
if (Options.SpawnAdditionalRefugeeOnImpsDead.GetBool() && !Main.AllAlivePlayerControls.Any(x => x.PlayerId != exiled.PlayerId && (x.Is(CustomRoleTypes.Impostor) || (x.GetCustomRole().IsNK() && Options.SpawnAdditionalRefugeeWhenNKAlive.GetBool()))))
{
PlayerControl[] ListToChooseFrom;
if (Options.UsePets.GetBool()) ListToChooseFrom = Main.AllAlivePlayerControls.Where(x => x.PlayerId != exiled.PlayerId && x.Is(CustomRoleTypes.Crewmate)).ToArray();
+1
View File
@@ -2798,6 +2798,7 @@
"OverrideScientistBasedRoles": "Also Override Scientist Based Roles to Engineer",
"WhackAMole": "Whack-A-Mole",
"SpawnAdditionalRefugeeOnImpsDead": "Random <#8cffff>Crewmate</color> Turns To <#ff1919>Refugee</color> When All <#ff1919>Impostors</color> Die",
"SpawnAdditionalRefugeeWhenNKAlive": "Spawn Even If a <#ffab1b>Neutral Killer</color> is Alive",
"NoPetActionMsg1": "You just ate a cookie",
"NoPetActionMsg2": "You look around",
"NoPetActionMsg3": "You start wondering whether you are sus or not",