fish-station/Content.Server/_Sunrise/DamageOverlay/DamageOverlayComponent.cs
ThereDrD d07cbcda6e
Красивые циферки урона (#993)
* damage overlay refactor: new visuals and ignored damage types feature

* remove unused popup types

* add horizontal direction movement

* fix default popup type

* fix fix

* fix fix fix

* add damage overlay to structures

* comments + better implementation

* add ui dropdown option

* better values

* fix missing disabled sessions check

* asdasdadasd new commit on my pr

* ЧЕ БЛЯДЬ СЛОЖНО ДА

* ы

---------

Co-authored-by: Vigers Ray <vigersray@gmail.com>
2025-01-05 14:51:20 +03:00

20 lines
541 B
C#

using Content.Shared.Popups;
namespace Content.Server._Sunrise.DamageOverlay;
[RegisterComponent, Access(typeof(DamageOverlaySystem))]
public sealed partial class DamageOverlayComponent : Component
{
[DataField]
public PopupType DamagePopupType = PopupType.MediumCautionFloating;
[DataField]
public PopupType HealPopupType = PopupType.LargeGreen;
[DataField]
public float Radius = 0.5f;
/// SUNRISE-TODO: Более адекватная реализация
[DataField]
public bool IsStructure;
}