CatStation/Content.Shared/Item/MultiHandedItemComponent.cs
slarticodefast 7bcfc74cee
Add integration test for wielding and multi-handed items (#41028)
* one hand test

* the rest of the owl

* fix test

* client fix

* fix the fix

* const strings

* breaking changes
2026-05-17 21:58:59 +00:00

17 lines
430 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Item;
/// <summary>
/// This is used for items that need
/// multiple hands to be able to be picked up
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class MultiHandedItemComponent : Component
{
/// <summary>
/// Number of free hands required to hold the item.
/// </summary>
[DataField]
public int HandsNeeded = 2;
}