]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Entity] Centcom PDA (#15415)
authorPuro <103608145+PuroSlavKing@users.noreply.github.com>
Sat, 15 Apr 2023 22:43:15 +0000 (01:43 +0300)
committerGitHub <noreply@github.com>
Sat, 15 Apr 2023 22:43:15 +0000 (16:43 -0600)
* [PDA] Centcom PDA

* Centcom pen update

* sheesh

* Pen based on CyberPen

Resources/Prototypes/Entities/Objects/Devices/pda.yml
Resources/Prototypes/Entities/Objects/Misc/paper.yml
Resources/Textures/Objects/Devices/pda.rsi/meta.json
Resources/Textures/Objects/Devices/pda.rsi/pda-centcom.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json
Resources/Textures/Objects/Misc/bureaucracy.rsi/pen_centcom.png [new file with mode: 0644]

index b419855ec22df8951e0627b902ddde428abbff26..860c37355c35c7a68ed1deadf36aab8acc10c442 100644 (file)
     state: pda-security
 
 - type: entity
-  parent: PassengerPDA
+  parent: BasePDA
   id: CentcomPDA
   name: CentCom PDA
-  description: Colored the numbing grey of bureaucracy.
+  description: Light green sign of walking bureaucracy.
   components:
   - type: PDA
     id: CentcomIDCardSyndie
-    state: pda
+    state: pda-centcom
+    penSlot:
+      startingItem: PenCentcom
+      whitelist:
+        tags:
+        - Write
+  - type: PDABorderColor
+    borderColor: "#32CD32"
+  - type: Icon
+    state: pda-centcom
 
 - type: entity
   parent: BasePDA
index d35fb1eafbdb70e6ce7f5b278962db13f313421c..4dfaac71efe69e1a7399bf02385fc5c1a6a05815 100644 (file)
     sprite: Objects/Misc/bureaucracy.rsi
     state: pen_cap
 
+- type: entity
+  name: Centcom pen
+  parent: CyberPen
+  id: PenCentcom
+  description: In an attempt to keep up with the "power" of the cybersun bureaucracy, NT made a replica of cyber pen, in their corporate style.
+  components:
+  - type: Sprite
+    sprite: Objects/Misc/bureaucracy.rsi
+    state: pen_centcom
+    netsync: false
+  - type: Item
+    sprite: Objects/Misc/bureaucracy.rsi
+    heldPrefix: pen_centcom
+
 - type: entity
   name: hop's fountain pen
   parent: Pen
index 01b16f56fc19282e1e47ce44c78ad2e682ab091e..7fa756f9a6007c914e0931a8d45983693c74081a 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, pda-cluwne made by brainfood1183 (github) ss14, pda-brigmed made by PuroSlavKing (Github)",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, pda-cluwne made by brainfood1183 (github) ss14, pda-brigmed and pda-centcom made by PuroSlavKing (Github)",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "pda-syndi"
     },
+    {
+      "name": "pda-centcom",
+      "delays": [
+        [
+          1.2,
+          1.2,
+          1.2,
+          1.2
+        ]
+      ]
+    },
     {
       "name": "pda-virology"
     },
diff --git a/Resources/Textures/Objects/Devices/pda.rsi/pda-centcom.png b/Resources/Textures/Objects/Devices/pda.rsi/pda-centcom.png
new file mode 100644 (file)
index 0000000..d4b81c5
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pda.rsi/pda-centcom.png differ
index d50251f6e32beb48cee78e8899549b19bf78aade..98f3c82813693948547d7145b306820c18eaf34b 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432. stamp-syndicate is a modified version of stamp-warden. paper_stamp-syndicate by Veritius. paper_receipt by eoineoineoin",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432. stamp-syndicate is a modified version of stamp-warden. paper_stamp-syndicate by Veritius. paper_receipt by eoineoineoin. pen_centcom is a resprited version of pen_cap by PuroSlavKing (Github)",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "pen_cap"
     },
+    {
+      "name": "pen_centcom"
+    },
     {
       "name": "pen_hop"
     },
diff --git a/Resources/Textures/Objects/Misc/bureaucracy.rsi/pen_centcom.png b/Resources/Textures/Objects/Misc/bureaucracy.rsi/pen_centcom.png
new file mode 100644 (file)
index 0000000..75b7a74
Binary files /dev/null and b/Resources/Textures/Objects/Misc/bureaucracy.rsi/pen_centcom.png differ