* content * add cat * ambient * I FORGOT HEARTS! * fix ambient * some fixes * canCollide: false * connect to damageable * pi * remove fx * some fixes * *sad bruh* * hazed * Update base_shadow.yml
16 lines
472 B
C#
16 lines
472 B
C#
using Content.Shared.Damage;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Flash.Components;
|
|
|
|
// Also needed FlashableComponent on entity to work
|
|
[RegisterComponent, Access(typeof(DamagedByFlashingSystem))]
|
|
public sealed partial class DamagedByFlashingComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// damage from flashing
|
|
/// </summary>
|
|
[DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier FlashDamage = new ();
|
|
}
|