mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 00:27:59 +00: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>
18 lines
719 B
C#
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;
|
|
}
|