mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* add BlockHands * and mechs * move to another place * small fix * TrySpawnUnremoveableVirtualItemInHand * upd * fix docs * VehicleHandBlockerComponent
18 lines
533 B
C#
18 lines
533 B
C#
using Content.Shared.Vehicle.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Vehicle.Components;
|
|
|
|
/// <summary>
|
|
/// Occupies the operator's hands while they are operating a vehicle.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(VehicleSystem))]
|
|
public sealed partial class VehicleHandBlockerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The number of hands to occupy.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public int BlockedHands = 1;
|
|
}
|