MultiHandedItemComponent.cs 387 B

1234567891011121314
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Item;
  3. /// <summary>
  4. /// This is used for items that need
  5. /// multiple hands to be able to be picked up
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent]
  8. public sealed partial class MultiHandedItemComponent : Component
  9. {
  10. [DataField("handsNeeded"), ViewVariables(VVAccess.ReadWrite)]
  11. public int HandsNeeded = 2;
  12. }