Skip to content

Commit

Permalink
1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Vretu-Dev committed Oct 25, 2024
1 parent 6324e09 commit 8cec2ef
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 75 deletions.
6 changes: 0 additions & 6 deletions UsefulHints/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,5 @@ public class Config : IConfig
public string BroadcastForHuman { get; set; } = "<color=red>You are the last human alive!</color>";
public string BroadcastForScp { get; set; } = "<color=#70EE9C>{0}</color> is the last human alive, playing as {1} in <color=yellow>{2}</color>";
public bool IgnoreTutorialRole { get; set; } = true;

[Description("Jailbird Custom Settings:")]
public bool EnableCustomJailbirdSettings { get; set; } = false;
public EffectType JailbirdEffect { get; set; } = EffectType.Flashed;
public float JailbirdEffectDuration { get; set; } = 4f;
public byte JailbirdEffectIntensity { get; set; } = 1;
}
}
4 changes: 2 additions & 2 deletions UsefulHints/EventHandlers/Items/Hints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static void OnPickingUpMicroHid(PickingUpItemEventArgs ev)
}
}
}
public static void OnEquipMicroHid(ChangingItemEventArgs ev)
private static void OnEquipMicroHid(ChangingItemEventArgs ev)
{
if (UsefulHints.Instance.Config.ShowHintOnEquipItem)
{
Expand Down Expand Up @@ -286,7 +286,7 @@ private static void OnPickingUpJailbird(PickingUpItemEventArgs ev)
}
}
}
public static void OnEquipJailbird(ChangingItemEventArgs ev)
private static void OnEquipJailbird(ChangingItemEventArgs ev)
{
if (UsefulHints.Instance.Config.ShowHintOnEquipItem)
{
Expand Down
21 changes: 0 additions & 21 deletions UsefulHints/EventHandlers/Modules/JailbirdPatchHandler.cs

This file was deleted.

39 changes: 0 additions & 39 deletions UsefulHints/Patches/JailbirdPatch.cs

This file was deleted.

4 changes: 1 addition & 3 deletions UsefulHints/UsefulHints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class UsefulHints : Plugin<Config>
public override string Name => "Useful Hints";
public override string Author => "Vretu";
public override string Prefix { get; } = "UH";
public override Version Version => new Version(1, 7, 4);
public override Version Version => new Version(1, 7, 5);
public override Version RequiredExiledVersion { get; } = new Version(8, 9, 8);
public override PluginPriority Priority { get; } = PluginPriority.Low;
public static UsefulHints Instance { get; private set; }
Expand All @@ -20,7 +20,6 @@ public override void OnEnabled()
if(Config.EnableHints){ EventHandlers.Items.Hints.RegisterEvents(); }
if(Config.EnableWarnings){ EventHandlers.Items.WarningHints.RegisterEvents(); }
if(Config.EnableFfWarning){ EventHandlers.Modules.FFWarning.RegisterEvents(); }
if(Config.EnableCustomJailbirdSettings){ EventHandlers.Modules.JailbirdPatchHandler.RegisterEvents(); }
if(Config.EnableKillCounter){ EventHandlers.Modules.KillCounter.RegisterEvents(); }
if(Config.EnableLastHumanBroadcast){EventHandlers.Modules.LastHumanBroadcast.RegisterEvents(); }
if(Config.EnableRoundSummary){ EventHandlers.Modules.RoundSummary.RegisterEvents(); }
Expand All @@ -34,7 +33,6 @@ public override void OnDisabled()
if(Config.EnableHints){ EventHandlers.Items.Hints.UnregisterEvents(); }
if(Config.EnableWarnings){ EventHandlers.Items.WarningHints.UnregisterEvents(); }
if(Config.EnableFfWarning){ EventHandlers.Modules.FFWarning.UnregisterEvents(); }
if(Config.EnableCustomJailbirdSettings){ EventHandlers.Modules.JailbirdPatchHandler.UnregisterEvents(); }
if(Config.EnableKillCounter){ EventHandlers.Modules.KillCounter.UnregisterEvents(); }
if(Config.EnableLastHumanBroadcast){ EventHandlers.Modules.LastHumanBroadcast.UnregisterEvents(); }
if(Config.EnableRoundSummary){ EventHandlers.Modules.RoundSummary.UnregisterEvents(); }
Expand Down
6 changes: 2 additions & 4 deletions UsefulHints/UsefulHints.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,17 @@
<Compile Include="EventHandlers\Entities\SCP096.cs" />
<Compile Include="EventHandlers\Items\WarningHints.cs" />
<Compile Include="EventHandlers\Modules\FFWarning.cs" />
<Compile Include="EventHandlers\Modules\JailbirdPatchHandler.cs" />
<Compile Include="EventHandlers\Items\Hints.cs" />
<Compile Include="EventHandlers\Modules\KillCounter.cs" />
<Compile Include="EventHandlers\Modules\LastHumanBroadcast.cs" />
<Compile Include="EventHandlers\Modules\RoundSummary.cs" />
<Compile Include="EventHandlers\Modules\Teammates.cs" />
<Compile Include="Patches\JailbirdPatch.cs" />
<Compile Include="UsefulHints.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="EXILED-OFFICIAL">
<Version>8.12.2</Version>
<PackageReference Include="ExMod.Exiled">
<Version>8.13.1</Version>
</PackageReference>
<PackageReference Include="Lib.Harmony">
<Version>2.3.3</Version>
Expand Down

0 comments on commit 8cec2ef

Please sign in to comment.