mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Add status effect support to Traits, change PainNumbness to be a status effect (#41646)
* Initial commit * Review comments * Jobify * Prototype(effect)
This commit is contained in:
committed by
BarryNorfolk
parent
bede43b560
commit
42e7e8fe88
@@ -353,6 +353,7 @@ public sealed partial class StatusEffectsSystem
|
||||
/// <summary>
|
||||
/// Returns all status effects that have the specified component.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if any entity with the specified component is found.</returns>
|
||||
public bool TryEffectsWithComp<T>(EntityUid? target, [NotNullWhen(true)] out HashSet<Entity<T, StatusEffectComponent>>? effects) where T : IComponent
|
||||
{
|
||||
effects = null;
|
||||
|
||||
Reference in New Issue
Block a user