Fix borg hands showing up in stripping menu (#32606)

* Fix borg hands showing up in stripping menu

Borgs can't drop their items anyways, and the amount of hands borgs have causes the UI to just bug out.

* Add more checks
This commit is contained in:
Pieter-Jan Briers
2024-10-03 02:11:56 +02:00
committed by GitHub
parent 440742f8f7
commit 2d644095e3
4 changed files with 17 additions and 1 deletions

View File

@@ -80,6 +80,12 @@ public sealed partial class HandsComponent : Component
[DataField]
public DisplacementData? HandDisplacement;
/// <summary>
/// If false, hands cannot be stripped, and they do not show up in the stripping menu.
/// </summary>
[DataField]
public bool CanBeStripped = true;
}
[Serializable, NetSerializable]