Compare commits
No commits in common. "927358ea12aafb4be39b2295a16d3fe3c838dd6d" and "c66c2ec6f2afac95049445f4d6cdf6e4328fb283" have entirely different histories.
927358ea12
...
c66c2ec6f2
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using HintServiceMeow.Core.Enum;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Timers;
|
|
||||||
using HintServiceMeow.Core.Enum;
|
|
||||||
using HintServiceMeow.Core.Models.Hints;
|
using HintServiceMeow.Core.Models.Hints;
|
||||||
using HintServiceMeow.Core.Utilities;
|
using HintServiceMeow.Core.Utilities;
|
||||||
using LabApi.Events.Arguments.PlayerEvents;
|
using LabApi.Events.Arguments.PlayerEvents;
|
||||||
@ -11,10 +7,8 @@ using LabApi.Features;
|
|||||||
using LabApi.Features.Console;
|
using LabApi.Features.Console;
|
||||||
using LabApi.Features.Wrappers;
|
using LabApi.Features.Wrappers;
|
||||||
using PlayerRoles;
|
using PlayerRoles;
|
||||||
using PlayerRoles.PlayableScps.Scp079;
|
|
||||||
using PlayerRoles.PlayableScps.Scp079.GUI;
|
|
||||||
using PlayerRoles.PlayableScps.Scp096;
|
using PlayerRoles.PlayableScps.Scp096;
|
||||||
using PlayerRoles.PlayableScps.Scp3114;
|
using Timer = System.Timers.Timer;
|
||||||
|
|
||||||
namespace SCPTeamHint
|
namespace SCPTeamHint
|
||||||
{
|
{
|
||||||
@ -53,36 +47,15 @@ namespace SCPTeamHint
|
|||||||
{
|
{
|
||||||
if (!player.IsSCP) continue;
|
if (!player.IsSCP) continue;
|
||||||
|
|
||||||
var text = $" <size=25><color=red>{player.RoleBase.RoleName}</color> | <color=#6761cd>{player.HumeShield}</color> | <color=#da0101>{player.Health}</color> | <color=grey>{player.Zone}</color></size> ";
|
var text = $"{player.RoleBase.RoleName} | {player.HumeShield} | {player.Health} | {player.Zone}";
|
||||||
|
|
||||||
switch (player.RoleBase)
|
if (player.RoleBase is Scp096Role scp)
|
||||||
{
|
{
|
||||||
case Scp096Role scp:
|
|
||||||
text += "\n";
|
text += "\n";
|
||||||
|
|
||||||
scp.SubroutineModule.TryGetSubroutine(out Scp096TargetsTracker tracker);
|
scp.SubroutineModule.TryGetSubroutine(out Scp096TargetsTracker tracker);
|
||||||
|
|
||||||
text += $"Targets: {tracker.Targets.Count}";
|
text += $"Targets: {tracker.Targets.Count}";
|
||||||
break;
|
|
||||||
case Scp3114Role scp3114:
|
|
||||||
{
|
|
||||||
text += "\n";
|
|
||||||
|
|
||||||
var stolenRole = scp3114.CurIdentity.StolenRole;
|
|
||||||
|
|
||||||
text += $" {stolenRole}";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case Scp079Role scp079:
|
|
||||||
text =
|
|
||||||
$" <size=25><color=red>{player.RoleBase.RoleName}</color> | <color=grey>{scp079.CurrentCamera.Room.Zone}</color></size> ";
|
|
||||||
text += "\n";
|
|
||||||
|
|
||||||
scp079.SubroutineModule.TryGetSubroutine(out Scp079AuxManager auxManager);
|
|
||||||
scp079.SubroutineModule.TryGetSubroutine(out Scp079TierManager tierManager);
|
|
||||||
|
|
||||||
text += $" <color=grey>AUX: {auxManager.CurrentAuxFloored} / {auxManager.MaxAux} Level: {tierManager.AccessTierLevel}</color>";
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hintTexts.Add(text);
|
hintTexts.Add(text);
|
||||||
@ -110,7 +83,7 @@ namespace SCPTeamHint
|
|||||||
|
|
||||||
var hint = new Hint
|
var hint = new Hint
|
||||||
{
|
{
|
||||||
Text = "Apfelsaft", Alignment = HintAlignment.Left, YCoordinate = 100, Hide = true
|
Text = "Apfelsaft", Alignment = HintAlignment.Left, YCoordinate = 300, Hide = true
|
||||||
};
|
};
|
||||||
|
|
||||||
var playerDisplay = PlayerDisplay.Get(ev.Player);
|
var playerDisplay = PlayerDisplay.Get(ev.Player);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user