]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Paramedic role, redone (#15439)
authorMaxtone <124747282+MagnusCrowe@users.noreply.github.com>
Mon, 1 May 2023 07:13:56 +0000 (02:13 -0500)
committerGitHub <noreply@github.com>
Mon, 1 May 2023 07:13:56 +0000 (17:13 +1000)
Co-authored-by: MagnusCrowe <whiterider1988@yahoo.com>
21 files changed:
Resources/Locale/en-US/job/job-description.ftl
Resources/Locale/en-US/job/job-names.ftl
Resources/Locale/en-US/prototypes/access/accesses.ftl
Resources/Prototypes/Access/medical.yml
Resources/Prototypes/Catalog/Fills/Items/belt.yml
Resources/Prototypes/Catalog/Fills/Lockers/medical.yml
Resources/Prototypes/Entities/Markers/Spawners/jobs.yml
Resources/Prototypes/Entities/Objects/Devices/pda.yml
Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml
Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml
Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml [new file with mode: 0644]
Resources/Prototypes/Roles/Jobs/departments.yml
Resources/Prototypes/Roles/play_time_trackers.yml
Resources/Textures/Interface/Misc/job_icons.rsi/Paramedic.png [new file with mode: 0644]
Resources/Textures/Interface/Misc/job_icons.rsi/meta.json
Resources/Textures/Objects/Devices/pda.rsi/meta.json
Resources/Textures/Objects/Devices/pda.rsi/pda-paramedic.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/closet.rsi/meta.json
Resources/Textures/Structures/Storage/closet.rsi/paramed.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/closet.rsi/paramed_door.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/closet.rsi/paramed_open.png [new file with mode: 0644]

index f2db8e49311be617012ba22bfd8def84615a01e8..d0a68b5aadbd0cec6d55d41bb292ba0d4c2221b0 100644 (file)
@@ -14,6 +14,7 @@ job-description-chef = Keep the station fed with a variety of food items, butche
 job-description-chemist = Produce medicinal drugs for the doctors to use, research ethically dubious rare chemicals, and produce weapons of war when enemies of the station arrive.
 job-description-clown = Entertain the crew through elaborate slapstick routines or terrible jokes.
 job-description-cmo = Manage the resources and personnel of the medical department to keep the crew alive and disease-free.
+job-description-paramedic = Rescue critically injured patients all over the station, sometimes outside too. Stablize them, give them a ride to medbay, and get back out there!
 job-description-detective = Investigate crime scenes using forensic tools, ensure that the guilty party is found, and have a couple smokes.
 job-description-doctor = Diagnose and heal crewmembers through medicinal chemicals, vaccinations, and disease cures, along with cloning the dead.
 job-description-engineer = Keep the station's main engine & solars active, optimize the power network, and make emergency repairs using your hardsuit.
index 7c09d82bb36d9bb4367dcc5ab4477c615f00a3c9..104c0c5448508fd881af64eb0aed0a046087a359 100644 (file)
@@ -10,6 +10,7 @@ job-name-rd = Research Director
 job-name-psychologist = Psychologist
 job-name-intern = Medical Intern
 job-name-doctor = Medical Doctor
+job-name-paramedic = Paramedic
 job-name-cmo = Chief Medical Officer
 job-name-chemist = Chemist
 job-name-technical-assistant = Technical Assistant
@@ -73,6 +74,7 @@ JobMedicalDoctor = Medical doctor
 JobMedicalIntern = Medical intern
 JobMime = Mime
 JobMusician = Musician
+JobParamedic = Paramedic
 JobPassenger = Passenger
 JobPsychologist = Psychologist
 JobQuartermaster = Quartermaster
index 6eaf374da70ad2484a6dfa58637a4c990c8be341..29b6b4d64ad86c98fbc76d27447328a89df0847f 100644 (file)
@@ -18,6 +18,7 @@ id-card-access-level-research = Research
 id-card-access-level-chief-medical-officer = Chief Medical Officer
 id-card-access-level-medical = Medical
 id-card-access-level-chemistry = Chemistry
+id-card-access-level-paramedic = Paramedic
 
 id-card-access-level-quartermaster = Quartermaster
 id-card-access-level-cargo = Cargo
index 5b9623c155d64bb35379c998082749653212f06d..eeba43b5dd84846e82df2a31628d14a5cf73835e 100644 (file)
@@ -9,6 +9,10 @@
 - type: accessLevel
   id: Chemistry
   name: id-card-access-level-chemistry
+  
+- type: accessLevel
+  id: Paramedic
+  name: id-card-access-level-paramedic
 
 - type: accessGroup
   id: Medical
index 9b4703f90607392ab4e54f609ef4b1324a467a16..c68f9fe8ab93e1de96af2a5c62cb3917a9a12b6b 100644 (file)
         amount: 2
       - id: Gauze
       - id: EmergencyMedipen #You never know what people are going to latejoin into
+      
+- type: entity
+  id: ClothingBeltParamedicFilled
+  parent: ClothingBeltMedical
+  suffix: Filled
+  components:
+  - type: StorageFill
+    contents:
+      - id: Brutepack
+        amount: 1
+      - id: Ointment
+        amount: 1
+      - id: Bloodpack
+        amount: 1
+      - id: Gauze
+      - id: EmergencyMedipen #You never know what people are going to latejoin into
+        amount: 6
 
 - type: entity
   id: ClothingBeltPlantFilled
index 10fd6c09caf2340340bae2ecb21082b2418993b6..0f721a0bda9399eac4482b1d85d08b1ba4b53c67 100644 (file)
       - id: BoxPillCanister
       - id: BoxBottle
         amount: 2
+        
+- type: entity
+  id: LockerParamedicFilled
+  suffix: Filled
+  parent: LockerParamedic
+  components:
+  - type: StorageFill
+    contents:
+      - id: ClothingHeadHelmetVoidParamed
+      - id: ClothingOuterHardsuitVoidParamed
+      - id: ClothingOuterCoatParamedicWB
+      - id: ClothingHeadHatParamedicsoft
+      - id: ClothingUniformJumpsuitParamedic
+      - id: ClothingUniformJumpskirtParamedic
+      - id: ClothingEyesHudMedical
+      
\ No newline at end of file
index 06f9bb37dbf75373bef96eb41c9c47066e64855e..c22129a29c05e97005bc6dea7cb8a577b2da19ea 100644 (file)
     layers:
       - state: green
       - state: doctor
+      
+- type: entity
+  id: SpawnPointParamedic
+  parent: SpawnPointJobBase
+  name: paramedic
+  components:
+  - type: SpawnPoint
+    job_id: Paramedic
+  - type: Sprite
+    layers:
+      - state: green
+      - state: paramedic
 
 - type: entity
   id: SpawnPointChemist
index af011f5c67649f094fcb2cb85aee540e175d4662..3bb9672910129208ff908a74de404e21fdd939ac 100644 (file)
     scanDelay: 1.2
     scanningEndSound:
       path: "/Audio/Items/Medical/healthscanner.ogg"
-
+      
+- type: entity
+  parent: BasePDA
+  id: ParamedicPDA
+  name: paramedic PDA
+  description: Shiny and sterile. Has a built-in rapid health analyzer.
+  components:
+  - type: PDA
+    id: ParamedicIDCard
+    state: pda-paramedic
+  - type: PDABorderColor
+    borderColor: "#d7d7d0"
+    accentVColor: "#2a4b5b"
+  - type: Icon
+    state: pda-paramedic
+  - type: HealthAnalyzer
+    scanDelay: 0.5
+    scanningEndSound:
+      path: "/Audio/Items/Medical/healthscanner.ogg"
+      
 - type: entity
   parent: BasePDA
   id: ChemistryPDA
index 41235c8aba5818a7b8c7e2dc4f4e2f8dfa8cc8d3..2b65784393f6aee6b7906e4704afb46ded918c50 100644 (file)
     - state: idmedicaldoctor
   - type: PresetIdCard
     job: MedicalDoctor
+- type: entity
+  parent: IDCardStandard
+  id: ParamedicIDCard
+  name: paramedic ID card
+  components:
+  - type: Sprite
+    layers:
+    - state: default
+    - state: idparamedic
+  - type: PresetIdCard
+    job: Paramedic
 
 - type: entity
   parent: IDCardStandard
index 1276d5e189998824d1c21bf163b2d5464114777d..a7e14579753b6fa934288695081a86db11ffc222 100644 (file)
   - type: AccessReader
     access: [ [ "Medical" ] ]
 
+# Paramedic
+- type: entity
+  id: LockerParamedic
+  parent: LockerBase
+  name: paramedic's locker
+  components:
+  - type: Appearance
+    visuals:
+    - type: StorageVisualizer
+      state: paramed
+      state_open: paramed_open
+      state_closed: paramed_door
+  - type: AccessReader
+    access: [ [ "Medical" ] ]
+
+
 # Chemical
 - type: entity
   id: LockerChemistry
diff --git a/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml b/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml
new file mode 100644 (file)
index 0000000..327b605
--- /dev/null
@@ -0,0 +1,33 @@
+- type: job
+  id: Paramedic
+  name: job-name-paramedic
+  description: job-description-paramedic
+  playTimeTracker: JobParamedic
+  requirements:
+    - !type:DepartmentTimeRequirement
+      department: Medical
+      time: 9000
+    - !type:OverallPlaytimeRequirement
+      time: 54000
+  startingGear: ParamedicGear
+  icon: "Paramedic"
+  supervisors: job-supervisors-cmo
+  access:
+  - Medical
+  - Maintenance
+  - External
+  extendedAccess:
+  - Chemistry
+
+- type: startingGear
+  id: ParamedicGear
+  equipment:
+    jumpsuit: ClothingUniformJumpsuitParamedic
+    back: ClothingBackpackMedicalFilled
+    shoes: ClothingShoesColorWhite
+    id: ParamedicPDA
+    ears: ClothingHeadsetMedical
+    belt: ClothingBeltParamedicFilled
+  innerclothingskirt: ClothingUniformJumpskirtParamedic
+  satchel: ClothingBackpackSatchelMedicalFilled
+  duffelbag: ClothingBackpackDuffelMedicalFilled
index d6fcb7ed40c418753d2f92a387b431f671198bbf..891f6c5195e5ece8198a234b0e2dccc66570f995 100644 (file)
@@ -67,6 +67,7 @@
   - MedicalDoctor
   - MedicalIntern
   - Psychologist
+  - Paramedic
 
 - type: department
   id: Security
index 909d57b500c4de3b55648b891487af3d8ce09568..87be771f89745863c66356fe1fb323677ccd0990 100644 (file)
@@ -90,6 +90,9 @@
 
 - type: playTimeTracker
   id: JobPassenger
+  
+- type: playTimeTracker
+  id: JobParamedic
 
 - type: playTimeTracker
   id: JobPsychologist
diff --git a/Resources/Textures/Interface/Misc/job_icons.rsi/Paramedic.png b/Resources/Textures/Interface/Misc/job_icons.rsi/Paramedic.png
new file mode 100644 (file)
index 0000000..34fe62e
Binary files /dev/null and b/Resources/Textures/Interface/Misc/job_icons.rsi/Paramedic.png differ
index fec30daa2813099b25fd017deb9c7928b5fb6eb5..0ee395cb3770c335a4e7f4f6ff79186888a91f64 100644 (file)
         {
             "name": "MedicalDoctor"
         },
+        {
+            "name": "Paramedic"
+        },
         {
             "name": "Chef"
         },
index 050843326e9e0c36519128404f6b08a8ce985208..f3f9974068114f9ab390a64b922b89a35d1a97d5 100644 (file)
@@ -97,6 +97,9 @@
     {
       "name": "pda-medical"
     },
+    {
+      "name": "pda-paramedic"
+    },
     {
       "name": "pda-mime"
     },
diff --git a/Resources/Textures/Objects/Devices/pda.rsi/pda-paramedic.png b/Resources/Textures/Objects/Devices/pda.rsi/pda-paramedic.png
new file mode 100644 (file)
index 0000000..eed26c6
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pda.rsi/pda-paramedic.png differ
index 536cfe27ebcd5973f3481307ef6cd53896bede65..5bd21273404413d213c3eba57a819eb45e94e3b4 100644 (file)
     {
       "name": "orange_door"
     },
+    {
+      "name": "paramed"
+    },
+    {
+      "name": "paramed_door"
+    },
+    {
+      "name": "paramed_open"
+    },
     {
       "name": "pink_door"
     },
diff --git a/Resources/Textures/Structures/Storage/closet.rsi/paramed.png b/Resources/Textures/Structures/Storage/closet.rsi/paramed.png
new file mode 100644 (file)
index 0000000..245fa9c
Binary files /dev/null and b/Resources/Textures/Structures/Storage/closet.rsi/paramed.png differ
diff --git a/Resources/Textures/Structures/Storage/closet.rsi/paramed_door.png b/Resources/Textures/Structures/Storage/closet.rsi/paramed_door.png
new file mode 100644 (file)
index 0000000..5588ffc
Binary files /dev/null and b/Resources/Textures/Structures/Storage/closet.rsi/paramed_door.png differ
diff --git a/Resources/Textures/Structures/Storage/closet.rsi/paramed_open.png b/Resources/Textures/Structures/Storage/closet.rsi/paramed_open.png
new file mode 100644 (file)
index 0000000..d365ba2
Binary files /dev/null and b/Resources/Textures/Structures/Storage/closet.rsi/paramed_open.png differ