Files
Delta-v/Content.Shared/_DV/Storage/Components/MouthStorageComponent.cs
T
deltanedasanddeltanedas ec94579ebc the great namespace refactor (#2574)
* refactor DeltaV/deltav resources to _DV

* change DeltaV namespaces to _DV

* add space before all DeltaV comments

* update xamls

* fix and move arena parallax to _DV

* more fix

* refactor even more stuff

* fix the grid fills

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-01-01 07:50:34 +00:00

33 lines
927 B
C#

using Content.Shared._DV.Storage.EntitySystems;
using Content.Shared.FixedPoint;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._DV.Storage.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedMouthStorageSystem))]
public sealed partial class MouthStorageComponent : Component
{
public const string MouthContainerId = "mouth";
[DataField, AutoNetworkedField]
public EntProtoId? OpenStorageAction;
[DataField, AutoNetworkedField]
public EntityUid? Action;
[DataField]
public EntProtoId MouthProto = "ActionOpenMouthStorage";
[ViewVariables]
public Container Mouth = default!;
[DataField]
public EntityUid? MouthId;
// Mimimum inflicted damage on hit to spit out items
[DataField]
public FixedPoint2 SpitDamageThreshold = FixedPoint2.New(2);
}