Thief stuff (#480)

* - add: Thief stuff.

* - fix: Implants.

* - add: Jammer.
This commit is contained in:
Aviu00
2024-07-22 14:20:05 +00:00
committed by GitHub
parent c0772fa89a
commit f82eee75b0
17 changed files with 122 additions and 6 deletions

View File

@@ -50,6 +50,9 @@ public sealed class EmagSystem : EntitySystem
if (_tag.HasTag(target, comp.EmagImmuneTag))
return false;
if (comp.Whitelist?.IsValid(target, EntityManager) is false)
return false;
TryComp<LimitedChargesComponent>(uid, out var charges);
if (_charges.IsEmpty(uid, charges))
{