Files
wwdpublic/Content.Server/_Goobstation/Teleportation/Components/RandomTeleportOnUseComponent.cs
Spatison 2a10c02eb5 No spead merge (#475)
* Revert "[GoobPort] WIZ REAL (#465)"

This reverts commit 091a8ff433.

* fix local
2025-04-26 10:50:32 +03:00

17 lines
467 B
C#

using Robust.Shared.Prototypes;
namespace Content.Server.Teleportation;
/// <summary>
/// Entity that will randomly teleport the user when used in hand.
/// </summary>
[RegisterComponent]
public sealed partial class RandomTeleportOnUseComponent : Component
{
/// <summary>
/// Whether to consume this item on use; consumes only one if it's a stack
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool ConsumeOnUse = true;
}