]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Admin Observers get a hat slot and a pda (#20183)
authorVasilis <vasilis@pikachu.systems>
Sat, 27 Jan 2024 14:44:46 +0000 (15:44 +0100)
committerGitHub <noreply@github.com>
Sat, 27 Jan 2024 14:44:46 +0000 (10:44 -0400)
Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml
Resources/Prototypes/Entities/Objects/Devices/pda.yml
Resources/Prototypes/InventoryTemplates/aghost_inventory_template.yml [new file with mode: 0644]
Resources/Prototypes/Roles/Jobs/Fun/misc_startinggear.yml

index 3cd6dac00d496dc81b8cd46d86839b1d6983fcaa..a17d49127d8b443429eb50731f758ca489f303a4 100644 (file)
     contents:
       - id: BoxSurvival
       - id: RubberStampMime
+
+- type: entity
+  noSpawn: true
+  parent: ClothingBackpackSatchelHolding
+  id: ClothingBackpackSatchelHoldingAdmin
+  components:
+  - type: StorageFill
+    contents:
+    - id: AdminPDA
+    - id: GasAnalyzer
+    - id: trayScanner
+  - type: Unremoveable
index 3d6b173f3d528d6585014cd774242ca0cea6ef18..d74f91109d08771ec923fd02e871e509b06210c6 100644 (file)
   - type: Stripping
   - type: SolutionScanner
   - type: IgnoreUIRange
+  - type: Inventory
+    templateId: aghost
+  - type: InventorySlots
+  - type: Loadout
+    prototypes: [ MobAghostGear ]
 
 - type: entity
   id: ActionAGhostShowSolar
index 133ae8eb2c2a17a8f706c1616e29eb94695f06a3..72942cbb916a30dd0c0719f9caa2c67b673de926 100644 (file)
   - type: Icon
     state: pda-centcom
 
+- type: entity
+  parent: CentcomPDA
+  id: AdminPDA
+  name: Admin PDA
+  description: If you are not an admin please return this PDA to the nearest admin.
+  components:
+  - type: Pda
+    id: PassengerIDCard
+  - type: HealthAnalyzer
+    scanDelay: 0
+  - type: CartridgeLoader
+    uiKey: enum.PdaUiKey.Key
+    preinstalled:
+      - CrewManifestCartridge
+      - NotekeeperCartridge
+      - NewsReadCartridge
+      - LogProbeCartridge
+
 - type: entity
   parent: CentcomPDA
   id: CentcomPDAFake
diff --git a/Resources/Prototypes/InventoryTemplates/aghost_inventory_template.yml b/Resources/Prototypes/InventoryTemplates/aghost_inventory_template.yml
new file mode 100644 (file)
index 0000000..b34378c
--- /dev/null
@@ -0,0 +1,19 @@
+- type: inventoryTemplate
+  id: aghost
+  slots:
+    - name: back
+      slotTexture: back
+      slotFlags: BACK
+      slotGroup: SecondHotbar
+      stripTime: 6
+      uiWindowPos: 2,1
+      strippingWindowPos: 2,4
+      displayName: ID
+
+    # For drip reasons.
+    - name: head
+      slotTexture: head
+      slotFlags: HEAD
+      uiWindowPos: 0,1
+      strippingWindowPos: 0,0
+      displayName: Head
index 21b9673e9003203249cd052b004fedcc2e0dede8..ec4c6581de31b50754f731ea54dde73cfa122ab1 100644 (file)
   satchel: ClothingBackpackSatchelBrigmedicFilled
   duffelbag: ClothingBackpackDuffelBrigmedicFilled
 
+# Aghost
+- type: startingGear
+  id: MobAghostGear
+  equipment:
+    back: ClothingBackpackSatchelHoldingAdmin
+
 #Head Rev Gear
 - type: startingGear
   id: HeadRevGear