let FlashArea be called from shared (#30343)
* let FlashArea be called from shared * untroll --------- Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
using Content.Shared.Flash.Components;
|
||||
using Content.Shared.StatusEffect;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Flash
|
||||
namespace Content.Shared.Flash;
|
||||
|
||||
public abstract class SharedFlashSystem : EntitySystem
|
||||
{
|
||||
public abstract class SharedFlashSystem : EntitySystem
|
||||
public ProtoId<StatusEffectPrototype> FlashedKey = "Flashed";
|
||||
|
||||
public virtual void FlashArea(Entity<FlashComponent?> source, EntityUid? user, float range, float duration, float slowTo = 0.8f, bool displayPopup = false, float probability = 1f, SoundSpecifier? sound = null)
|
||||
{
|
||||
[ValidatePrototypeId<StatusEffectPrototype>]
|
||||
public const string FlashedKey = "Flashed";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user