]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
cleanup PDA yaml (#22470)
authorlzk <124214523+lzk228@users.noreply.github.com>
Fri, 15 Dec 2023 20:46:56 +0000 (21:46 +0100)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 20:46:56 +0000 (15:46 -0500)
* Update pda.yml

* Update pda.yml

* :trollface:

Resources/Prototypes/Entities/Objects/Devices/pda.yml

index c2a977642e11ecf75bae9065ea52b7820cf08d9d..76096f0396f77533b5919ca5defe1b37d5ac928b 100644 (file)
     - DoorBumpOpener
   - type: Input
     context: "human"
+    
+- type: entity
+  parent: BasePDA
+  id: BaseMedicalPDA
+  components:
+  - type: HealthAnalyzer
+    scanDelay: 1
+    scanningEndSound:
+      path: "/Audio/Items/Medical/healthscanner.ogg"
 
 - type: entity
   parent: BasePDA
     state: pda-interntech
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: MedicalInternPDA
   name: medical intern PDA
   description: Why isn't it white? Has a built-in health analyzer.
     accentVColor: "#447987"
   - type: Icon
     state: pda-internmed
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
   - type: GuideHelp
     guides:
     - Medical Doctor
   - type: Pda
     id: MimeIDCard
     state: pda-mime
-    idSlot:
+    idSlot: #  rewrite without sound because mime
       name: ID Card
       whitelist:
         components:
     state: pda-engineer
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: CMOPDA
   name: chief medical officer PDA
   description: Extraordinarily shiny and sterile. Has a built-in health analyzer.
     accentVColor: "#447987"
   - type: Icon
     state: pda-cmo
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: MedicalPDA
   name: medical PDA
   description: Shiny and sterile. Has a built-in health analyzer.
     accentVColor: "#447987"
   - type: Icon
     state: pda-medical
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
   - type: GuideHelp
     guides:
     - Medical Doctor
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: ParamedicPDA
   name: paramedic PDA
   description: Shiny and sterile. Has a built-in rapid health analyzer.
     accentVColor: "#2a4b5b"
   - type: Icon
     state: pda-paramedic
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
-
+    
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: ChemistryPDA
   name: chemistry PDA
   description: It has a few discolored blotches here and there.
     accentVColor: "#B34200"
   - type: Icon
     state: pda-chemistry
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
 
 - type: entity
   parent: BasePDA
   components:
   - type: Pda
     id: ERTChaplainIDCard
-    state: pda-ert
 
 - type: entity
   parent: ERTLeaderPDA
   id: ERTEngineerPDA
-  name: ERT PDA
   suffix: Engineer
   components:
   - type: Pda
     id: ERTEngineerIDCard
-    state: pda-ert
 
 - type: entity
   parent: ERTLeaderPDA
   id: ERTJanitorPDA
-  name: ERT PDA
   suffix: Janitor
   components:
   - type: Pda
     id: ERTJanitorIDCard
-    state: pda-ert
 
 - type: entity
   parent: ERTLeaderPDA
   id: ERTMedicPDA
-  name: ERT PDA
   suffix: Medic
   components:
   - type: Pda
     id: ERTMedicIDCard
-    state: pda-ert
 
 - type: entity
   parent: ERTLeaderPDA
   id: ERTSecurityPDA
-  name: ERT PDA
   suffix: Security
   components:
   - type: Pda
     id: ERTSecurityIDCard
-    state: pda-ert
 
 - type: entity
   parent: ERTLeaderPDA
   components:
   - type: Pda
     id: CBURNIDcard
-    state: pda-ert
   - type: PdaBorderColor
     borderColor: "#A32D26"
     accentHColor: "#447987"
     state: pda-detective
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: BrigmedicPDA
   name: brigmedic PDA
   description: I wonder whose pulse is on the screen? I hope he doesnt stop... PDA has a built-in health analyzer.
     accentVColor: "#d7d7d0"
   - type: Icon
     state: pda-brigmedic
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
 
 - type: entity
   parent: ClownPDA
     state: pda-seniorresearcher
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: SeniorPhysicianPDA
   name: senior physician PDA
   description: Smells faintly like iron and chemicals. Has a built-in health analyzer.
     accentVColor: "#B34200"
   - type: Icon
     state: pda-seniorphysician
-  - type: HealthAnalyzer
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"
 
 - type: entity
   parent: BasePDA
     state: pda-pirate
 
 - type: entity
-  parent: BasePDA
+  parent: BaseMedicalPDA
   id: SyndiAgentPDA
   name: syndicate agent PDA
   description: For those days when healing normal syndicates aren't enough, try healing nuclear operatives instead!
       whitelist:
         components:
           - Cartridge
-  - type: HealthAnalyzer 
-    scanDelay: 1
-    scanningEndSound:
-      path: "/Audio/Items/Medical/healthscanner.ogg"