diff --git a/Resources/Locale/en-US/deltav/headset/headset-component.ftl b/Resources/Locale/en-US/deltav/headset/headset-component.ftl new file mode 100644 index 00000000000..d3c3f2e7356 --- /dev/null +++ b/Resources/Locale/en-US/deltav/headset/headset-component.ftl @@ -0,0 +1 @@ +chat-radio-prison = Prison diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml index 38445f69766..89376ed4ccf 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml @@ -23,7 +23,8 @@ - id: ClothingEyesHudSecurity - id: BoxPDAPrisoner # Delta-V - id: ClothingShoesBootsWinterWarden #Delta V: Add departmental winter boots - + - id: BoxEncryptionKeyPrisoner #Delta-V + - type: entity id: LockerWardenFilled suffix: Filled @@ -48,6 +49,7 @@ - id: ClothingEyesHudSecurity - id: BoxPDAPrisoner # Delta-V - id: ClothingShoesBootsWinterWarden #Delta V: Add departmental winter boots + - id: BoxEncryptionKeyPrisoner #Delta-V - type: entity id: LockerSecurityFilled diff --git a/Resources/Prototypes/DeltaV/Catalog/Fills/Boxes/general.yml b/Resources/Prototypes/DeltaV/Catalog/Fills/Boxes/general.yml new file mode 100644 index 00000000000..804a4727ee3 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Catalog/Fills/Boxes/general.yml @@ -0,0 +1,18 @@ +- type: entity + name: Prisoner encryption key box + parent: BoxCardboard + id: BoxEncryptionKeyPrisoner + description: A box of spare encryption keys. + components: + - type: StorageFill + contents: + - id: EncryptionKeyPrison + amount: 4 + - type: Sprite + layers: + - state: box + - state: encryptokey + - type: Storage + whitelist: + components: + - EncryptionKey diff --git a/Resources/Prototypes/DeltaV/Entities/Clothing/Ears/headsets.yml b/Resources/Prototypes/DeltaV/Entities/Clothing/Ears/headsets.yml index f3f264d8ec8..c65dd62312f 100644 --- a/Resources/Prototypes/DeltaV/Entities/Clothing/Ears/headsets.yml +++ b/Resources/Prototypes/DeltaV/Entities/Clothing/Ears/headsets.yml @@ -41,4 +41,37 @@ - type: Sprite sprite: DeltaV/Clothing/Ears/Headsets/syndicate_listening.rsi - type: Clothing - sprite: DeltaV/Clothing/Ears/Headsets/syndicate_listening.rsi \ No newline at end of file + sprite: DeltaV/Clothing/Ears/Headsets/syndicate_listening.rsi + +- type: entity + parent: ClothingHeadset + id: ClothingHeadsetPrison + name: prison headset + description: Headset used by anybody who needs direct contact with prisoners + components: + - type: ContainerFill + containers: + key_slots: + - EncryptionKeyPrison + - EncryptionKeyCommon + - type: Sprite + sprite: DeltaV/Clothing/Ears/Headsets/prisoner.rsi + - type: Clothing + sprite: DeltaV/Clothing/Ears/Headsets/prisoner.rsi + +- type: entity + parent: ClothingHeadset + id: ClothingHeadsetPrisonGuard + name: guard headset + description: Headset used by prison guards. + components: + - type: ContainerFill + containers: + key_slots: + - EncryptionKeyPrison + - EncryptionKeyCommon + - EncryptionKeySecurity + - type: Sprite + sprite: Clothing/Ears/Headsets/security.rsi + - type: Clothing + sprite: Clothing/Ears/Headsets/security.rsi diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Devices/encryption_keys.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Devices/encryption_keys.yml new file mode 100644 index 00000000000..c41c235c136 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Devices/encryption_keys.yml @@ -0,0 +1,15 @@ +- type: entity + parent: EncryptionKey + id: EncryptionKeyPrison + name: Prison encryption key + description: An encryption key used by anybody who needs to speak with the prisoners + components: + - type: EncryptionKey + channels: + - Prison + defaultChannel: Prison + - type: Sprite + sprite: DeltaV/Objects/Devices/encryption_keys.rsi + layers: + - state: crypt_orange + - state: prisoner_label diff --git a/Resources/Prototypes/DeltaV/radio_channels.yml b/Resources/Prototypes/DeltaV/radio_channels.yml new file mode 100644 index 00000000000..639eea09b3a --- /dev/null +++ b/Resources/Prototypes/DeltaV/radio_channels.yml @@ -0,0 +1,6 @@ +- type: radioChannel + id: Prison + name: chat-radio-prison + keycode: 'p' + frequency: 1601 + color: "#FFA500" \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Devices/encryption_keys.yml b/Resources/Prototypes/Entities/Objects/Devices/encryption_keys.yml index 95dfcd65f2a..d270c93e50a 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/encryption_keys.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/encryption_keys.yml @@ -72,6 +72,7 @@ - Security - Service - Supply + - Prison #DeltaV defaultChannel: Command - type: Sprite layers: @@ -178,6 +179,7 @@ - type: EncryptionKey channels: - Security + - Prison #deltaV defaultChannel: Security - type: Sprite layers: diff --git a/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Security/prisonguard.yml b/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Security/prisonguard.yml index 1c9fe29876f..55d86d343dc 100644 --- a/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Security/prisonguard.yml +++ b/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Security/prisonguard.yml @@ -34,7 +34,7 @@ eyes: ClothingEyesGlassesSecurity head: ClothingHeadPrisonGuard id: PrisonGuardPDA - ears: ClothingHeadsetSecurity + ears: ClothingHeadsetPrisonGuard #DeltaV belt: ClothingBeltSecurityFilled innerClothingSkirt: ClothingUniformJumpsuitPrisonGuard satchel: ClothingBackpackSatchelSecurityFilled diff --git a/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/prisoner.yml b/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/prisoner.yml index 87deefde14f..9df4832a584 100644 --- a/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/prisoner.yml +++ b/Resources/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/prisoner.yml @@ -20,5 +20,5 @@ jumpsuit: ClothingUniformJumpsuitPrisoner shoes: ClothingShoesColorBlack id: PrisonerPDA - ears: ClothingHeadsetGrey + ears: ClothingHeadsetPrison #deltaV innerClothingSkirt: ClothingUniformJumpsuitPrisoner diff --git a/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/equipped-EARS.png b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/equipped-EARS.png new file mode 100644 index 00000000000..3e01bcb8bac Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/equipped-EARS.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/icon.png b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/icon.png new file mode 100644 index 00000000000..354b1eee71d Binary files /dev/null and b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/icon.png differ diff --git a/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/meta.json b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/meta.json new file mode 100644 index 00000000000..33e08c9522f --- /dev/null +++ b/Resources/Textures/DeltaV/Clothing/Ears/Headsets/prisoner.rsi/meta.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Resprited by DangerRevolution from tgstation at commit https://github.com/tgstation/tgstation/commit/f8f4aeda930fcd0805ca4cc76d9bc9412a5b3428", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "equipped-EARS", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/crypt_orange.png b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/crypt_orange.png new file mode 100644 index 00000000000..e0ddcfe7b7e Binary files /dev/null and b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/crypt_orange.png differ diff --git a/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/meta.json b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/meta.json new file mode 100644 index 00000000000..440000d647b --- /dev/null +++ b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/meta.json @@ -0,0 +1,13 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Created by DangerRevolution for Space Station 14.", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + {"name": "prisoner_label"}, + {"name": "crypt_orange"} + ] +} \ No newline at end of file diff --git a/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/prisoner_label.png b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/prisoner_label.png new file mode 100644 index 00000000000..d7acc057c8d Binary files /dev/null and b/Resources/Textures/DeltaV/Objects/Devices/encryption_keys.rsi/prisoner_label.png differ