- fix: Fix sechud. (#328)
This commit is contained in:
@@ -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"),
|
||||
};
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
20
Resources/Prototypes/_White/sechud.yml
Normal file
20
Resources/Prototypes/_White/sechud.yml
Normal 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
|
||||
Reference in New Issue
Block a user