- 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);
},
Disabled = false,
Priority = 0,
Priority = 3,
Text = Loc.GetString("security-hud-verb"),
};

View File

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

View File

@@ -34,7 +34,7 @@
- HudMedical
- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudSecurity
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.
@@ -44,20 +44,6 @@
- type: Clothing
sprite: Clothing/Eyes/Hud/sec.rsi
- 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
tags:
- HudSecurity
@@ -152,7 +138,7 @@
- type: ShowThirstIcons
- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudMedSec
name: medsec hud
description: An eye display that looks like a mixture of medical and security huds.
@@ -173,7 +159,7 @@
- Biological
- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudMultiversal
name: multiversal hud
description: Filler
@@ -193,7 +179,7 @@
- type: ShowSyndicateIcons
- type: entity
parent: ClothingEyesBase
parent: [ClothingEyesBase, SecHud]
id: ClothingEyesHudOmni
name: omni hud
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