mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 19:31:12 +03:00
* Refactor * Update * Rename * Update prototypes * Fix OnCollide * Review * Update * Cleanup * Update * Update * Update * Cleanup * Missed
23 lines
751 B
C#
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";
|
|
}
|