- fix: Fix sechud. (#328)

This commit is contained in:
Aviu00
2024-06-05 07:21:05 +00:00
committed by GitHub
parent 37e783174a
commit 17b92f27a9
4 changed files with 26 additions and 20 deletions

View File

@@ -66,7 +66,7 @@ public sealed class SecurityHudSystem : EntitySystem
SetWanted(args.User, args.Target, ent.Value, component); SetWanted(args.User, args.Target, ent.Value, component);
}, },
Disabled = false, Disabled = false,
Priority = 0, Priority = 3,
Text = Loc.GetString("security-hud-verb"), Text = Loc.GetString("security-hud-verb"),
}; };

View File

@@ -156,7 +156,7 @@
- WhitelistChameleon - WhitelistChameleon
- type: entity - type: entity
parent: ClothingEyesBase parent: [ClothingEyesBase, SecHud]
id: ClothingEyesGlassesSecurity id: ClothingEyesGlassesSecurity
name: security glasses name: security glasses
description: Upgraded sunglasses that provide flash immunity and a security HUD. description: Upgraded sunglasses that provide flash immunity and a security HUD.

View File

@@ -34,7 +34,7 @@
- HudMedical - HudMedical
- type: entity - type: entity
parent: ClothingEyesBase parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudSecurity id: ClothingEyesHudSecurity
name: security hud name: security hud
description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status and security records. description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status and security records.
@@ -44,20 +44,6 @@
- type: Clothing - type: Clothing
sprite: Clothing/Eyes/Hud/sec.rsi sprite: Clothing/Eyes/Hud/sec.rsi
- type: ShowSecurityIcons - type: ShowSecurityIcons
- type: AccessReader
access: [["Security"]]
- type: SecurityHud
criminalrecords:
- SecurityIconDischarged
- SecurityIconParoled
- SecurityIconSuspected
- SecurityIconWanted
- SecurityIconIncarcerated
- CriminalRecordIconRemove
- type: UserInterface
interfaces:
- key: enum.SecurityHudUiKey.Key
type: SecurityHudBUI
- type: Tag - type: Tag
tags: tags:
- HudSecurity - HudSecurity
@@ -152,7 +138,7 @@
- type: ShowThirstIcons - type: ShowThirstIcons
- type: entity - type: entity
parent: ClothingEyesBase parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudMedSec id: ClothingEyesHudMedSec
name: medsec hud name: medsec hud
description: An eye display that looks like a mixture of medical and security huds. description: An eye display that looks like a mixture of medical and security huds.
@@ -173,7 +159,7 @@
- Biological - Biological
- type: entity - type: entity
parent: ClothingEyesBase parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudMultiversal id: ClothingEyesHudMultiversal
name: multiversal hud name: multiversal hud
description: Filler description: Filler
@@ -193,7 +179,7 @@
- type: ShowSyndicateIcons - type: ShowSyndicateIcons
- type: entity - type: entity
parent: ClothingEyesBase parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudOmni id: ClothingEyesHudOmni
name: omni hud name: omni hud
description: Filler description: Filler

View File

@@ -0,0 +1,20 @@
- type: entity
id: SecHud
name: sechud
abstract: true
noSpawn: true
components:
- type: AccessReader
access: [["Security"]]
- type: SecurityHud
criminalrecords:
- SecurityIconDischarged
- SecurityIconParoled
- SecurityIconSuspected
- SecurityIconWanted
- SecurityIconIncarcerated
- CriminalRecordIconRemove
- type: UserInterface
interfaces:
- key: enum.SecurityHudUiKey.Key
type: SecurityHudBUI