mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* 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
(cherry picked from commit ae321151ca)
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 ();
|
|
}
|