CatStation/Content.Shared/Item/ItemToggle/Components/ItemToggleExaminableStatusComponent.cs
Winkarst b0026453c4
Refactor: Split `StunbatonComponent` into generic components (#44870)
* Refactor

* Update

* Rename

* Update prototypes

* Fix OnCollide

* Review

* Update

* Cleanup

* Update

* Update

* Update

* Cleanup

* Missed
2026-08-14 18:19:10 +00:00

23 lines
751 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Item.ItemToggle.Components;
/// <summary>
/// With this component, <see cref="ItemToggleComponent"/> will show its status on examine.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(ItemToggleSystem))]
public sealed partial class ItemToggleExaminableStatusComponent : Component
{
/// <summary>
/// The text to show if the item is toggled on.
/// </summary>
[DataField, AutoNetworkedField]
public LocId OnText = "item-toggle-examined-on";
/// <summary>
/// The text to show if the item is toggled off.
/// </summary>
[DataField, AutoNetworkedField]
public LocId OffText = "item-toggle-examined-off";
}