mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* 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>
17 lines
719 B
C#
17 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;
|
|
}
|