Skip to content

Commit

Permalink
Nurse PDA, Skirt of Life, Alt Nurse Hat (Sector-Umbra#233)
Browse files Browse the repository at this point in the history
* Skirt of Life, Alt Nurse Hat

* NursePDA (Icon Broken)

* Forgot the YAML

* Fix first YAMLLinter

* Clean Up Sprites & Meta

* Remove Unneeded Markdown

* For some reason this fixes the texture issue

* Revert "Fix first YAMLLinter"

This reverts commit c1566d3.

* Make Requested Changes

---------

Co-authored-by: Coolsurf6 <[email protected]>
  • Loading branch information
PursuitInAshes and Coolsurf6 authored Dec 28, 2024
1 parent 14a1685 commit 0f96441
Show file tree
Hide file tree
Showing 16 changed files with 124 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/_Umbra/preferences/job-names.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Titles
umbra-job-title-nurse = Nurse
3 changes: 3 additions & 0 deletions Resources/Prototypes/Loadouts/loadout_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,7 @@
- GreenSurgeryCap
- PurpleSurgeryCap
- NurseHat
- NurseHatAlt # Umbra

- type: loadoutGroup
id: MedicalDoctorJumpsuit
Expand All @@ -1228,6 +1229,7 @@
- ViroJumpskirt # CD
- GeneJumpsuit # CD
- GeneJumpskirt # CD
- SkirtOfLife # Umbra

- type: loadoutGroup
id: MedicalDoctorOuterClothing
Expand Down Expand Up @@ -1267,6 +1269,7 @@
- MedicalDoctorPDA
# CD: Separate Senior roles
# - SeniorPhysicianPDA
- NursePDA # Umbra Job Title

- type: loadoutGroup
id: MedicalGloves
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/_Umbra/Entities/Clothing/Head/hats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Alt Nurse Hat
- type: entity
parent: ClothingHeadNurseHat
id: ClothingHeadNurseHatAlt
name: nurse hat
components:
- type: Sprite
sprite: _Umbra/Clothing/Head/Hats/nursehatalt.rsi
- type: Clothing
sprite: _Umbra/Clothing/Head/Hats/nursehatalt.rsi
29 changes: 29 additions & 0 deletions Resources/Prototypes/_Umbra/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- type: entity
parent: BaseMedicalPDA
id: NursePDA
name: nurse PDA
description: A medical nurse's PDA.
components:
- type: Sprite
sprite: _Umbra/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: Icon
sprite: _Umbra/Objects/Devices/pda.rsi
state: pda-nurse
- type: Pda
id: MedicalIDCard
state: pda-nurse
- type: PdaBorderColor
borderColor: "#d7d7d0"
accentVColor: "#b52a46"
- type: RenameId
value: umbra-job-title-nurse
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Hat
- type: loadout
id: NurseHatAlt
equipment:
head: ClothingHeadNurseHatAlt

- type: startingGear
id: NurseHatAlt
equipment:
head: ClothingHeadNurseHatAlt

# Jumpsuits
- type: loadout
id: SkirtOfLife
equipment:
jumpsuit: ClothingUniformJumpskirtOfLife

- type: startingGear
id: SkirtOfLife
equipment:
jumpsuit: ClothingUniformJumpskirtOfLife
9 changes: 9 additions & 0 deletions Resources/Prototypes/_Umbra/Loadouts/Jobs/Medical/titles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: loadout
id: NursePDA
equipment:
id: NursePDA

- type: startingGear
id: NursePDA
equipment:
id: NursePDA
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TGstation github https://github.com/tgstation/tgstation/commit/988f795be2dee02a8252d3e584fbb94d43d4a965. Edited by foob1",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-HELMET",
"directions": 4
},
{
"name": "equipped-HELMET-hamster",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions Resources/Textures/_Umbra/Objects/Devices/pda.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, pda-nurse made by foob1 for Sector Umbra",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "pda-nurse"
},
{
"name": "id_overlay"
},
{
"name": "light_overlay"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f96441

Please sign in to comment.