]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Encryption key boxes to the heads lockers. (#14110)
authorlapatison <100279397+lapatison@users.noreply.github.com>
Mon, 6 Mar 2023 02:32:08 +0000 (05:32 +0300)
committerGitHub <noreply@github.com>
Mon, 6 Mar 2023 02:32:08 +0000 (22:32 -0400)
Resources/Prototypes/Catalog/Fills/Boxes/general.yml
Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Resources/Textures/Objects/Storage/boxes.rsi/encryptokey.png [new file with mode: 0644]
Resources/Textures/Objects/Storage/boxes.rsi/meta.json

index 4727bf3b776b1f129085daa06664ac3f1cf1d127..a1c30d9d2e195ef248b2d89072da353624eaf0b3 100644 (file)
   - type: Tag
     tags:
       - DroneUsable
+
+- type: entity
+  name: passenger encryption key box
+  parent: BoxCardboard
+  id: BoxEncryptionKeyPassenger
+  description: A box of spare encryption keys.
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyCommon
+        amount: 6
+  - type: Sprite
+    layers:
+      - state: box
+      - state: encryptokey
+  - type: Storage
+    capacity: 30
+    whitelist:
+      components:
+      - EncryptionKey
+
+- type: entity
+  name: cargo encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyCargo
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyCargo
+        amount: 6
+
+- type: entity
+  name: engineering encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyEngineering
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyEngineering
+        amount: 6
+
+- type: entity
+  name: med-sci encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyMedicalScience
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyMedicalScience
+        amount: 6
+
+- type: entity
+  name: medical encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyMedical
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyMedical
+        amount: 6
+
+- type: entity
+  name: robotech encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyRobo
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyRobo
+        amount: 6
+
+- type: entity
+  name: science encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyScience
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyScience
+        amount: 6
+
+- type: entity
+  name: security encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeySecurity
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeySecurity
+        amount: 6
+
+- type: entity
+  name: service encryption key box
+  parent: BoxEncryptionKeyPassenger
+  id: BoxEncryptionKeyService
+  components:
+  - type: StorageFill
+    contents:
+      - id: EncryptionKeyService
+        amount: 6
index c34a986f9cf74a891090fa0b798cfa721c76e85b..8803a5b21ba69657cf96f9f6f7f7e60877ec8d5c 100644 (file)
@@ -24,6 +24,7 @@
       - id: DoorRemoteCargo
       - id: RubberStampQm
       - id: ClothingHeadsetAltCargo
+      - id: BoxEncryptionKeyCargo
 
 - type: entity
   id: LockerCaptainFilled
@@ -87,6 +88,8 @@
       - id: DoorRemoteService
       - id: ClothingNeckGoldmedal
       - id: RubberStampHop
+      - id: BoxEncryptionKeyPassenger
+      - id: BoxEncryptionKeyService
 
 - type: entity
   id: LockerChiefEngineerFilled
       - id: RubberStampCE
       - id: JetpackVoidFilled
       - id: ClothingHeadsetAltEngineering
+      - id: BoxEncryptionKeyEngineering
 
 - type: entity
   id: LockerChiefMedicalOfficerFilled
       - id: MedicalTechFabCircuitboard
       - id: MaterialBiomass
         amount: 3
+      - id: BoxEncryptionKeyMedical
 
 - type: entity
   id: LockerResearchDirectorFilled
       - id: DoorRemoteResearch
       - id: RubberStampRd
       - id: ClothingHeadsetAltScience
+      - id: BoxEncryptionKeyScience
+      - id: BoxEncryptionKeyRobo
 
 - type: entity
   id: LockerHeadOfSecurityFilled
       - id: RubberStampHos
       - id: SecurityTechFabCircuitboard
       - id: JetpackSecurityFilled
+      - id: BoxEncryptionKeySecurity
diff --git a/Resources/Textures/Objects/Storage/boxes.rsi/encryptokey.png b/Resources/Textures/Objects/Storage/boxes.rsi/encryptokey.png
new file mode 100644 (file)
index 0000000..f65b517
Binary files /dev/null and b/Resources/Textures/Objects/Storage/boxes.rsi/encryptokey.png differ
index 52f62af55e6d13282e7ca4a904a668c19793130b..9f2187d57d3f06330cbdd30610e2c68aaff30e63 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/cc65477c04f7403ca8a457bd5bae69a01abadbf0",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/cc65477c04f7403ca8a457bd5bae69a01abadbf0, encryptokey was taken from Baystation12 at https://github.com/infinitystation/Baystation12/blob/073f678cdce92edb8fcd55f9ffc9f0523bf31506/icons/obj/radio.dmi and modified by lapatison",
   "size": {
     "x": 32,
     "y": 32
         {
                        "name": "headset"
                },
+        {
+                       "name": "encryptokey"
+               },
                {
             "name": "inhand-left",
             "directions": 4