diff --git a/Modules/CustomRolesHelper.cs b/Modules/CustomRolesHelper.cs index f580dbdc9..14b29bc1c 100644 --- a/Modules/CustomRolesHelper.cs +++ b/Modules/CustomRolesHelper.cs @@ -1191,7 +1191,7 @@ internal static class CustomRolesHelper CustomRoles.Loyal when (!pc.IsImpostor() && !pc.IsCrewmate()) || pc.Is(CustomRoles.Madmate) => false, CustomRoles.Loyal when pc.IsImpostor() && !Options.ImpCanBeLoyal.GetBool() => false, CustomRoles.Seer when pc.GetCustomRole() is CustomRoles.Mortician or CustomRoles.TimeMaster => false, - CustomRoles.Onbound when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Ankylosaurus or CustomRoles.Car => false, + CustomRoles.Onbound when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Ankylosaurus or CustomRoles.Car or CustomRoles.Unbound => false, CustomRoles.Rascal when pc.Is(CustomRoles.SuperStar) || pc.Is(CustomRoles.Madmate) => false, CustomRoles.Madmate when pc.Is(CustomRoles.SuperStar) => false, CustomRoles.Gravestone when pc.GetCustomRole() is CustomRoles.SuperStar or CustomRoles.Innocent => false, @@ -2033,3 +2033,4 @@ public enum CountTypes } + diff --git a/Modules/OptionHolder.cs b/Modules/OptionHolder.cs index 3537a9fd2..80a60a371 100644 --- a/Modules/OptionHolder.cs +++ b/Modules/OptionHolder.cs @@ -383,6 +383,12 @@ public static class Options public static OptionItem FungleChance; public static OptionItem MinPlayersForAirship; public static OptionItem MinPlayersForFungle; + public static OptionItem SpeedForSkeld; + public static OptionItem SpeedForMira; + public static OptionItem SpeedForPolus; + public static OptionItem SpeedForDlesk; + public static OptionItem SpeedForAirship; + public static OptionItem SpeedForFungle; public static OptionItem GodfatherCancelVote; @@ -1938,6 +1944,24 @@ public static class Options .SetParent(FungleChance) .SetValueFormat(OptionFormat.Players); + SpeedForSkeld = new FloatOptionItem(20782, "SpeedForSkeld", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + + SpeedForMira = new FloatOptionItem(20783, "SpeedForMira", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + + SpeedForPolus = new FloatOptionItem(20784, "SpeedForPolus", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + + SpeedForDlesk = new FloatOptionItem(20785, "SpeedForDlesk", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + + SpeedForAirship = new FloatOptionItem(20786, "SpeedForAirship", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + + SpeedForFungle = new FloatOptionItem(20787, "SpeedForFungle", new(0.05f, 3f, 0.05f), 1.25f, TabGroup.GameSettings) + .SetValueFormat(OptionFormat.Multiplier); + LoadingPercentage = 69;