Add pointlight to flashbangs (#15785)

This commit is contained in:
metalgearsloth
2023-04-26 13:51:48 +10:00
committed by GitHub
parent b7a8bb227f
commit 7360ed0a7f
6 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using Content.Server.Explosion.EntitySystems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Explosion.Components;
[RegisterComponent, Access(typeof(TriggerSystem))]
public sealed class SpawnOnTriggerComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string Proto = string.Empty;
}