mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 05:17:28 +00:00
* 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>
39 lines
1.0 KiB
C#
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
|
|
}
|