Files
Delta-v/Content.Shared/Overlays/ShowCrewIconsComponent.cs
T
SlamBamActionmanandslarticodefast 53fcd12147 Add Cyborg crew indicator (#37038)
* Initial commit

* Include uncertain crew and make it work for AI

* Add new definition to Silicon Rules 8

* Update based on review

* Remove Cluwne from job list

* ProtoIdify

* Update and also make monkey/corgi show IDs

* Remove unnecessary property

* Remove redundant code

* Carrrrd

* cleanup

* Nicer code

* Update to fix the spawn bug + agent ID

* Fix new icons

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2026-06-29 12:43:44 +02:00

18 lines
719 B
C#

using Content.Shared.StatusIcon;
using Robust.Shared.GameStates;
namespace Content.Shared.Overlays;
/// <summary>
/// This component allows you to see a crew border icon above mobs. The HUD will include a green border around jobs that are considered crew according to <see cref="JobIconPrototype.IsCrewJob"/>.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(raiseAfterAutoHandleState: true)]
public sealed partial class ShowCrewIconsComponent : Component
{
/// <summary>
/// If true, the HUD will include a yellow border around all icons, to indicate crew uncertainty.
/// </summary>
[DataField, AutoNetworkedField]
public bool UncertainCrewBorder = false;
}