mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-03 01:27:26 +00:00
* Porting & implementation
* Fix two stupid errors
* Human not humans
* fix audio path
* Fix test fails & update cooldown
* Work on reviews & test fail
* Rework nymph organ system.
* Make the nymph organs nospawn.
* IsDeadIC
(cherry picked from commit 407d4aed58)
31 lines
879 B
C#
31 lines
879 B
C#
using Content.Shared.Mobs;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Species.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class GibActionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The action to use.
|
|
/// </summary>
|
|
[DataField("actionPrototype", required: true)]
|
|
public EntProtoId ActionPrototype;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? ActionEntity;
|
|
|
|
/// <summary>
|
|
/// What mob states the action will appear in
|
|
/// </summary>
|
|
[DataField("allowedStates"), ViewVariables(VVAccess.ReadWrite)]
|
|
public List<MobState> AllowedStates = new();
|
|
|
|
/// <summary>
|
|
/// The text that appears when attempting to split.
|
|
/// </summary>
|
|
[DataField("popupText")]
|
|
public string PopupText = "diona-gib-action-use";
|
|
}
|