Files
Delta-v/Content.Shared/_DV/Augments/AugmentToolPanelComponent.cs
T
pathetic meowmeowandLyndomen a40f0be6fd Set up surgical augments infrastructure & add tool panel augments (#3059)
* Set up _Shitmed groundwork for organ slot manipulation

* Groundwork for surgical augments

* Add tool panel augments

* sprite gaming

* code review gaming

* i think the textures got swapped

* localization gaming

* surgery localization gaming

* crafting gaming

* fix tests

* fix tests actually

* now we deal with ouroboros

* she feed on my back til i

* relocation

* nuke felinid

* augment fixes

* event-based battery search

* descriptionned

---------

Co-authored-by: Lyndomen <49795619+Lyndomen@users.noreply.github.com>
2025-03-16 21:18:53 +00:00

39 lines
1.0 KiB
C#

using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Prototypes;
namespace Content.Shared._DV.Augments;
/// <summary>
/// Marker component to indicate that an entity will allow access to its storage via a radial menu once implanted
/// <summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class AugmentToolPanelComponent : Component
{
[DataField]
public float PowerDrawOnSwitch = 10f;
}
/// <summary>
/// Marker component to indicate that an entity is the active tool of an augment tool panel
/// <summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class AugmentToolPanelActiveItemComponent : Component;
[Serializable, NetSerializable]
public sealed class AugmentToolPanelSystemMessage : BoundUserInterfaceMessage
{
public NetEntity? DesiredTool;
public AugmentToolPanelSystemMessage(NetEntity? desiredTool)
{
DesiredTool = desiredTool;
}
}
[Serializable, NetSerializable]
public enum AugmentToolPanelUiKey : byte
{
Key
}