]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
add custom PDA for nukie medic (#22016)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Thu, 30 Nov 2023 21:39:08 +0000 (08:39 +1100)
committerGitHub <noreply@github.com>
Thu, 30 Nov 2023 21:39:08 +0000 (16:39 -0500)
Resources/Prototypes/Entities/Objects/Devices/pda.yml
Resources/Prototypes/Roles/Jobs/Fun/misc_startinggear.yml
Resources/Textures/Objects/Devices/pda.rsi/meta.json
Resources/Textures/Objects/Devices/pda.rsi/pda-syndi-agent.png [new file with mode: 0644]

index b39ea2a0c42148f0105a3b6ab9a8219ea98f566b..2cf629b816bcd7511b99708673b18ff3430a0e97 100644 (file)
     state: pda-pirate
   - type: Icon
     state: pda-pirate
+
+- type: entity
+  parent: BasePDA
+  id: SyndiAgentPDA
+  name: syndicate agent PDA
+  description: For those days when healing normal syndicates aren't enough, try healing nuclear operatives instead!
+  components:
+  - type: Pda
+    id: SyndicateIDCard
+    state: pda-syndi-agent
+  - type: PdaBorderColor
+    borderColor: "#891417"
+  - type: Icon
+    state: pda-syndi-agent
+  - type: CartridgeLoader
+    uiKey: enum.PdaUiKey.Key
+    preinstalled:
+      - NotekeeperCartridge
+    cartridgeSlot:
+      priority: -1
+      name: Cartridge
+      ejectSound: /Audio/Machines/id_swipe.ogg
+      insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
+      whitelist:
+        components:
+          - Cartridge
+  - type: HealthAnalyzer 
+    scanDelay: 1
+    scanningEndSound:
+      path: "/Audio/Items/Medical/healthscanner.ogg"
index ecb449fc4db27a8bc43a1a7ce96686d88e21e4af..a787d456543ecc2fb17bd75a005d15f0330d5f15 100644 (file)
     gloves: ClothingHandsGlovesCombat
     outerClothing: ClothingOuterHardsuitMedic
     shoes: ClothingShoesBootsMagSyndie
-    id: SyndiPDA
+    id: SyndiAgentPDA
     pocket1: DoubleEmergencyOxygenTankFilled
     pocket2: BaseUplinkRadio40TC
     belt: ClothingBeltMilitaryWebbingMedFilled
index a72e53286815634a9fe7a4914c9fe9ba75481a64..f77f8c0e7119334b72e7bba50b4692eaea9e69ab 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-brigmedic and pda-centcom made by PuroSlavKing (Github) | pda-brigemdic resprited by Hülle#2562 (Discord), pda-pirate made by brainfood1183 (Github)",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, pda-cluwne made by brainfood1183 (github) ss14 | pda-brigmedic and pda-centcom made by PuroSlavKing (Github) | pda-brigemdic resprited by Hülle#2562 (Discord), pda-pirate made by brainfood1183 (Github), pda-syndi-agent drawn by Ubaser",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "pda-syndi"
     },
+    {
+      "name": "pda-syndi-agent"
+    },
     {
       "name": "pda-centcom",
       "delays": [
diff --git a/Resources/Textures/Objects/Devices/pda.rsi/pda-syndi-agent.png b/Resources/Textures/Objects/Devices/pda.rsi/pda-syndi-agent.png
new file mode 100644 (file)
index 0000000..84fb47c
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pda.rsi/pda-syndi-agent.png differ