Skip to content

Commit

Permalink
Adds the Pharmacist Job
Browse files Browse the repository at this point in the history
muahahaha it works muahahaha
  • Loading branch information
Bribrooo committed Aug 3, 2024
1 parent 3223c55 commit 5719771
Show file tree
Hide file tree
Showing 48 changed files with 1,771 additions and 3 deletions.
1 change: 1 addition & 0 deletions Content.Shared/Access/Components/IdCardConsoleComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<ProtoId<Acc
"Mime", // DeltaV - Add Mime access
"Musician", // DeltaV - Add Musician access
"Paramedic", // DeltaV - Add Paramedic access
"Pharmacist", // DeltaV - Add Pharmacist access
"Psychologist", // DeltaV - Add Psychologist access
"Quartermaster",
"Reporter", // DeltaV - Add Reporter access
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
- Medical
- Chemistry
- Paramedic # DeltaV - Add Paramedic access
- Pharmacist # DeltaV - Add Pharmacist access
- Psychologist # DeltaV - Add Psychologist access
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- Orders # DeltaV - Orders, see Resources/Prototypes/DeltaV/Access/cargo.yml
- Mantis # DeltaV - Psionic Mantis, see Resources/Prototypes/DeltaV/Access/epistemics.yml
- Paramedic # DeltaV - Add Paramedic access
- Pharmacist # DeltaV - Add Pharmacist access
- Psychologist # DeltaV - Add Psychologist access
- Boxer # DeltaV - Add Boxer access
- Clown # DeltaV - Add Clown access
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/DeltaV/Access/medical.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- type: accessLevel
id: Psychologist
name: id-card-access-level-psychologist

- type: accessLevel
id: Pharmacist
name: id-card-access-level-pharmacist
24 changes: 24 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/pharmacist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- type: entity
parent: LockerPharmacist
id: LockerPharmacistFilled
suffix: Filled
components:
- type: StorageFill
contents:
- id: ClothingUniformJumpsuitPharmaShirt
- id: ClothingOuterCoatLabPharma
- id: PharmacistIDCard
- id: RubberStampPharmacist
- id: BoxSyringe
- id: BoxBeaker
- id: BoxBeaker
prob: 0.3
- id: BoxPillCanister
- id: BoxBottle
- id: BoxVial
- id: ChemBag
- id: ClothingHandsGlovesLatex
- id: ClothingHeadsetMedical
- id: ClothingMaskSterile
- id: HandLabeler
prob: 0.5
13 changes: 13 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
- type: entity
id: SpawnPointPharmacist
parent: SpawnPointJobBase
name: Pharmacist
components:
- type: SpawnPoint
job_id: Pharmacist
- type: Sprite
layers:
- state: green
- sprite: DeltaV/Markers/jobs.rsi
state: pharmacist

- type: entity
id: SpawnPointMedicalBorg
parent: SpawnPointJobBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,11 @@
components:
- type: AccessReader
access: [["Clerk"]]

- type: entity
parent: DoorElectronics
id: DoorElectronicsPharmacist
suffix: Pharmacist, Locked
components:
- type: AccessReader
access: [["Pharmacist"]]
38 changes: 38 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,44 @@
scanningEndSound:
path: "/Audio/Items/Medical/healthscanner.ogg"

- type: entity
parent: BasePDA
id: PharmacistPDA
name: pharmacist PDA
description: Blue, Orange, and odd stains... Has a built-in health analyzer.
components:
- type: Sprite
sprite: DeltaV/Objects/Devices/pda.rsi
layers:
- map: [ "enum.PdaVisualLayers.Base" ]
- state: "light_overlay"
map: [ "enum.PdaVisualLayers.Flashlight" ]
shader: "unshaded"
visible: false
- state: "id_overlay"
map: [ "enum.PdaVisualLayers.IdLight" ]
shader: "unshaded"
visible: false
- type: CartridgeLoader
diskSpace: 5
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- type: Pda
id: PharmacistIDCard
state: pda-pharmacist
- type: PdaBorderColor
borderColor: "#EA6400"
accentVColor: "#5D99BE"
- type: Icon
sprite: DeltaV/Objects/Devices/pda.rsi
state: pda-pharmacist
- type: HealthAnalyzer
scanDelay: 1
scanningEndSound:
path: "/Audio/Items/Medical/healthscanner.ogg"

- type: entity
parent: BasePDA
id: ChiefJusticePDA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
- type: NavMapBeacon
defaultText: station-beacon-psych

- type: entity
parent: DefaultStationBeaconMedical
id: DefaultStationBeaconPharmacist
suffix: Pharmacist
components:
- type: NavMapBeacon
defaultText: station-beacon-pharmacist

#Epistemics
- type: entity
parent: DefaultStationBeaconScience
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,17 @@
state: nyanomailcarrier
- type: PresetIdCard
job: Courier

- type: entity
parent: IDCardStandard
id: PharmacistIDCard
name: pharmacist ID card
components:
- type: PresetIdCard
job: Pharmacist
- type: Sprite
layers:
- state: default
- sprite: DeltaV/Objects/Misc/id_cards.rsi
state: idpharmacist

27 changes: 27 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,30 @@
id: PaperFugitiveReport
name: fugitive report
description: An arrest warrant for a space fugitive sent from GALPOL.

- type: entity
name: pharmacy prescription
parent: Paper
id: PaperPrecsription
description: 'A piece of paper to justify the reagents you detain on your person. Issued by the pharmacist.'
components:
- type: Sprite
sprite: Objects/Misc/bureaucracy.rsi
layers:
- state: paper
color: "#ead9cc"
- state: paper_words
map: ["enum.PaperVisualLayers.Writing"]
color: "#ead9cc"
visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false
- type: PaperVisuals
headerImagePath: "/Textures/DeltaV/Interface/Paper/paper_heading_pharmacy.svg.200dpi.png"
headerMargin: 0.0, 0.0, 10.0, 16.0
backgroundImagePath: "/Textures/Interface/Paper/paper_background_default.svg.96dpi.png"
backgroundModulate: "#ead9cc"
backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0
contentMargin: 32.0, 16.0, 32.0, 0.0

14 changes: 14 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Misc/rubber_stamp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@
- type: Sprite
sprite: DeltaV/Objects/Misc/stamps.rsi
state: stamp-psychologist

- type: entity
name: pharmacist's rubber stamp
parent: RubberStampBase
id: RubberStampPharmacist
suffix: DO NOT MAP
components:
- type: Stamp
stampedName: stamp-component-stamped-name-pharmacist
stampedColor: "#5a96bb"
stampState: "paper_stamp-pharmacist"
- type: Sprite
sprite: DeltaV/Objects/Misc/stamps.rsi
state: stamp-pharmacist

- type: entity
name: notary stamp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,15 @@
containers:
board: [ DoorElectronicsPsychologist ]

- type: entity
parent: AirlockMedical
id: AirlockPharmacistLocked
suffix: Pharmacist, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsPharmacist ]

- type: entity
parent: AirlockFreezer
id: AirlockFreezerServiceLocked
Expand Down Expand Up @@ -360,6 +369,15 @@
containers:
board: [ DoorElectronicsPsychologist ]

- type: entity
parent: AirlockMedicalGlass
id: AirlockPharmacistGlassLocked
suffix: Pharmacist, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsPharmacist ]

# Maintenance Hatches
- type: entity
parent: AirlockMaintRnDLocked
Expand Down Expand Up @@ -462,6 +480,15 @@
containers:
board: [ DoorElectronicsPsychologist ]

- type: entity
parent: AirlockMaintMedLocked
id: AirlockMaintPharmacistLocked
suffix: Pharmacist, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsPharmacist ]

- type: entity
parent: AirlockMaintSecLocked
id: AirlockMaintSecurityLawyerLocked
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,12 @@
- type: ContainerFill
containers:
board: [ DoorElectronicsPsychologist ]

- type: entity
parent: WindoorSecure
id: WindoorSecurePharmacistLocked
suffix: Pharmacist, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsPharmacist ]
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@
stateDoorClosed: clerk_door
- type: AccessReader
access: [["Clerk"]]

- type: entity
id: LockerPharmacist
parent: LockerBaseSecure
name: pharmacist's locker
components:
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: med
stateDoorOpen: med_open
stateDoorClosed: pharmacy_door
- type: AccessReader
access: [["Pharmacist"]]
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@
sprite: DeltaV/Structures/Wallmounts/signs.rsi
state: direction_court


- type: entity
parent: BaseSignDirectional
id: SignDirectionalPharmacy
name: pharmaceutic lab sign
description: A direction sign, pointing out which way the pharmceutic lab is.
components:
- type: Sprite
sprite: DeltaV/Structures/Wallmounts/signs.rsi
state: direction_pharmacy
67 changes: 67 additions & 0 deletions Resources/Prototypes/DeltaV/Loadouts/Jobs/Medical/pharmacist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Jumpsuit
- type: loadout
id: PharmacistSuit
equipment: PharmacistSuit

- type: startingGear
id: PharmacistSuit
equipment:
jumpsuit: ClothingUniformJumpsuitPharmaShirt

# Back
- type: loadout
id: PharmacistBackpack
equipment: PharmacistBackpack

- type: startingGear
id: PharmacistBackpack
equipment:
back: ClothingBackpackChemistryFilled

- type: loadout
id: PharmacistSatchel
equipment: ChemistSatchel

- type: startingGear
id: PharmacistSatchel
equipment:
back: ClothingBackpackSatchelChemistryFilled

- type: loadout
id: PharmacistDuffel
equipment: ChemistDuffel

- type: startingGear
id: PharmacistDuffel
equipment:
back: ClothingBackpackDuffelChemistryFilled

# Outer clothing
- type: loadout
id: PharmacistLabCoat
equipment: PharmacistLabCoat

- type: startingGear
id: PharmacistLabCoat
equipment:
outerClothing: ClothingOuterCoatLabPharma

# Glasses
- type: loadout
id: PharmacistGlasses
equipment: PharmacistGlasses

- type: startingGear
id: PharmacistGlasses
equipment:
glasses: ClothingEyesGlassesChemical

# Shoes
- type: loadout
id: PharmacistShoes
equipment: PharmacistShoes

- type: startingGear
id: PharmacistShoes
equipment:
shoes: ClothingShoesEnclosedChem
Loading

0 comments on commit 5719771

Please sign in to comment.