Criminal record hud icons (#25192)
* Security hud shows icon based on criminal record status * Criminal status now linked to name instead of identity * parole loc * Test fix * review changes * Check station records instead of storing names on criminal record consoles. * cleanup * more cleanup * review changes * change outdated comments * rename * review changes * remove event subscription * replaced event with trycomp * default value
This commit is contained in:
@@ -10,8 +10,12 @@ criminal-records-console-status = Status
|
||||
criminal-records-status-none = None
|
||||
criminal-records-status-wanted = Wanted
|
||||
criminal-records-status-detained = Detained
|
||||
criminal-records-status-suspected = Suspect
|
||||
criminal-records-status-discharged = Discharged
|
||||
criminal-records-status-paroled = Paroled
|
||||
|
||||
criminal-records-console-wanted-reason = [color=gray]Wanted Reason[/color]
|
||||
criminal-records-console-suspected-reason = [color=gray]Suspected Reason[/color]
|
||||
criminal-records-console-reason = Reason
|
||||
criminal-records-console-reason-placeholder = For example: {$placeholder}
|
||||
|
||||
@@ -28,9 +32,13 @@ criminal-records-permission-denied = Permission denied
|
||||
## Security channel notifications
|
||||
|
||||
criminal-records-console-wanted = {$name} is wanted by {$officer} for: {$reason}.
|
||||
criminal-records-console-suspected = {$officer} marked {$name} as suspicious because of: {$reason}
|
||||
criminal-records-console-not-suspected = {$name} is no longer a suspect.
|
||||
criminal-records-console-detained = {$name} has been detained by {$officer}.
|
||||
criminal-records-console-released = {$name} has been released by {$officer}.
|
||||
criminal-records-console-not-wanted = {$name} is no longer wanted.
|
||||
criminal-records-console-paroled = {$name} has been released on parole by {$officer}.
|
||||
criminal-records-console-not-parole = {$name} is no longer on parole.
|
||||
criminal-records-console-unknown-officer = <unknown officer>
|
||||
|
||||
## Filters
|
||||
|
||||
40
Resources/Prototypes/StatusEffects/security.yml
Normal file
40
Resources/Prototypes/StatusEffects/security.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
- type: statusIcon
|
||||
id: SecurityIcon
|
||||
abstract: true
|
||||
priority: 1
|
||||
locationPreference: Left
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
id: SecurityIconDischarged
|
||||
icon:
|
||||
sprite: Interface/Misc/security_icons.rsi
|
||||
state: hud_discharged
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
id: SecurityIconIncarcerated
|
||||
icon:
|
||||
sprite: Interface/Misc/security_icons.rsi
|
||||
state: hud_incarcerated
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
id: SecurityIconParoled
|
||||
icon:
|
||||
sprite: Interface/Misc/security_icons.rsi
|
||||
state: hud_paroled
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
id: SecurityIconSuspected
|
||||
icon:
|
||||
sprite: Interface/Misc/security_icons.rsi
|
||||
state: hud_suspected
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
id: SecurityIconWanted
|
||||
icon:
|
||||
sprite: Interface/Misc/security_icons.rsi
|
||||
state: hud_wanted
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 152 B |
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
Binary file not shown.
|
After Width: | Height: | Size: 157 B |
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
Binary file not shown.
|
After Width: | Height: | Size: 158 B |
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/tgstation/tgstation/blob/7f654b6e8e59021607a9e888dfeb79920401c372/icons/mob/huds/hud.dmi",
|
||||
"size": {
|
||||
"x": 8,
|
||||
"y": 8
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "hud_discharged"
|
||||
},
|
||||
{
|
||||
"name": "hud_incarcerated"
|
||||
},
|
||||
{
|
||||
"name": "hud_paroled"
|
||||
},
|
||||
{
|
||||
"name": "hud_suspected"
|
||||
},
|
||||
{
|
||||
"name": "hud_wanted"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user