* Update ShowHealthBarsComponent.cs * mana split now can destroy mana trace * delete aura examine * Add aura confusion status effect and concealment reagent Introduces the Confused Aura status effect, which causes entities to leave randomized magical aura imprints. Adds the CP14HideMagicAuraStatusEffectComponent, new localization strings, alert, and reagent (Aura concealment solution) that applies the effect. Updates magic vision logic to support the new effect, and adds related icons and prototype definitions. * vampire market * easy vampire clothing craft * obscure magic trace
28 lines
775 B
C#
28 lines
775 B
C#
using Content.Shared.Damage.Prototypes;
|
|
using Content.Shared.StatusIcon;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Overlays;
|
|
|
|
/// <summary>
|
|
/// This component allows you to see health bars above damageable mobs.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState(true)]
|
|
public sealed partial class ShowHealthBarsComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Displays health bars of the damage containers.
|
|
/// </summary>
|
|
[DataField]
|
|
[AutoNetworkedField]
|
|
public List<ProtoId<DamageContainerPrototype>> DamageContainers = new()
|
|
{
|
|
"CP14Biological" //CP14 variant
|
|
};
|
|
|
|
[DataField]
|
|
public ProtoId<HealthIconPrototype>? HealthStatusIcon = "HealthIconFine";
|
|
}
|