Skip to content

Commit

Permalink
[MIRROR] Gives plasmamen proper masks depending on their job. [MDB IG…
Browse files Browse the repository at this point in the history
…NORE] (Skyrat-SS13#20458)

* Gives plasmamen proper masks depending on their job. (#74468)

## About The Pull Request
Adds gasmasks plasma filter subtypes for sechailer, explorer and atmos.
Atmosians won't have any updates, it's just to fix ERP Constructor
Plasmaman loadout spawning with mask that won't allow you to breath.

And so med plasmamen will have medical masks. There will be sechailers
for sec (except for the detective). And the miners will have explorer
masks.
Oriented on job_boxes and what jobs spawn with which boxes.
## Why It's Good For The Game
Some love for living plasma mold. And i just think that it should be
this way.
## Changelog
:cl:
add: Plasmamen will now spawn with proper masks depending on the job.
/:cl:

* Gives plasmamen proper masks depending on their job.

---------

Co-authored-by: Helg2 <[email protected]>
  • Loading branch information
SkyratBot and Helg2 authored Apr 10, 2023
1 parent a1ede90 commit 4724eb4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
3 changes: 3 additions & 0 deletions code/modules/clothing/masks/gasmask.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ GLOBAL_LIST_INIT(clown_mask_options, list(
fire = 20
acid = 10

/obj/item/clothing/mask/gas/atmos/plasmaman
starting_filter_type = /obj/item/gas_filter/plasmaman

/obj/item/clothing/mask/gas/atmos/captain
name = "captain's gas mask"
desc = "Nanotrasen cut corners and repainted a spare atmospheric gas mask, but don't tell anyone."
Expand Down
3 changes: 3 additions & 0 deletions code/modules/clothing/masks/hailer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ GLOBAL_LIST_INIT(hailer_phrases, list(
var/broken_hailer = FALSE
var/safety = TRUE

/obj/item/clothing/mask/gas/sechailer/plasmaman
starting_filter_type = /obj/item/gas_filter/plasmaman

/obj/item/clothing/mask/gas/sechailer/swat
name = "\improper SWAT mask"
desc = "A close-fitting tactical mask with an especially aggressive Compli-o-nator 3000."
Expand Down
13 changes: 11 additions & 2 deletions code/modules/clothing/outfits/plasmaman.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
uniform = /obj/item/clothing/under/plasmaman/security
gloves = /obj/item/clothing/gloves/color/plasmaman/black
head = /obj/item/clothing/head/helmet/space/plasmaman/security
mask = /obj/item/clothing/mask/gas/sechailer/plasmaman

/datum/outfit/plasmaman/detective
name = "Detective Plasmaman"
Expand All @@ -28,6 +29,7 @@
uniform = /obj/item/clothing/under/plasmaman/security/warden
gloves = /obj/item/clothing/gloves/color/plasmaman/black
head = /obj/item/clothing/head/helmet/space/plasmaman/security/warden
mask = /obj/item/clothing/mask/gas/sechailer/plasmaman

/datum/outfit/plasmaman/prisoner
name = "Prisoner Plasmaman"
Expand All @@ -42,27 +44,31 @@
uniform = /obj/item/clothing/under/plasmaman/medical
gloves = /obj/item/clothing/gloves/color/plasmaman/white
head = /obj/item/clothing/head/helmet/space/plasmaman/medical
mask = /obj/item/clothing/mask/breath/medical

/datum/outfit/plasmaman/paramedic
name = "Paramedic Plasmaman"

uniform = /obj/item/clothing/under/plasmaman/paramedic
gloves = /obj/item/clothing/gloves/color/plasmaman/plasmanitrile
head = /obj/item/clothing/head/helmet/space/plasmaman/paramedic
mask = /obj/item/clothing/mask/breath/medical

/datum/outfit/plasmaman/viro
name = "Virology Plasmaman"

uniform = /obj/item/clothing/under/plasmaman/viro
gloves = /obj/item/clothing/gloves/color/plasmaman/white
head = /obj/item/clothing/head/helmet/space/plasmaman/viro
mask = /obj/item/clothing/mask/breath/medical

/datum/outfit/plasmaman/chemist
name = "Chemist Plasmaman"

uniform = /obj/item/clothing/under/plasmaman/chemist
gloves = /obj/item/clothing/gloves/color/plasmaman/white
head = /obj/item/clothing/head/helmet/space/plasmaman/chemist
mask = /obj/item/clothing/mask/breath/medical

/datum/outfit/plasmaman/science
name = "Science Plasmaman"
Expand Down Expand Up @@ -112,6 +118,7 @@
uniform = /obj/item/clothing/under/plasmaman/mining
gloves = /obj/item/clothing/gloves/color/plasmaman/explorer
head = /obj/item/clothing/head/helmet/space/plasmaman/mining
mask = /obj/item/clothing/mask/gas/explorer/plasmaman

/datum/outfit/plasmaman/chaplain
name = "Chaplain Plasmaman"
Expand Down Expand Up @@ -198,6 +205,7 @@
uniform = /obj/item/clothing/under/plasmaman/security/head_of_security
gloves = /obj/item/clothing/gloves/color/plasmaman/black
head = /obj/item/clothing/head/helmet/space/plasmaman/security/head_of_security
mask = /obj/item/clothing/mask/gas/sechailer/plasmaman

/datum/outfit/plasmaman/chief_engineer
name = "Chief Engineer Plasmaman"
Expand All @@ -212,6 +220,7 @@
uniform = /obj/item/clothing/under/plasmaman/chief_medical_officer
gloves = /obj/item/clothing/gloves/color/plasmaman/white
head = /obj/item/clothing/head/helmet/space/plasmaman/chief_medical_officer
mask = /obj/item/clothing/mask/breath/medical

/datum/outfit/plasmaman/research_director
name = "Research Director Plasmaman"
Expand All @@ -226,7 +235,7 @@
uniform = /obj/item/clothing/under/plasmaman/centcom_commander
gloves = /obj/item/clothing/gloves/color/plasmaman/centcom_commander
head = /obj/item/clothing/head/helmet/space/plasmaman/centcom_commander
mask = /obj/item/clothing/mask/gas/sechailer
mask = /obj/item/clothing/mask/gas/sechailer/plasmaman

/datum/outfit/plasmaman/centcom_official
name = "CentCom Official Plasmaman"
Expand Down Expand Up @@ -262,7 +271,7 @@
uniform = /obj/item/clothing/under/plasmaman/engineering
gloves = /obj/item/clothing/gloves/color/plasmaman/engineer
head = /obj/item/clothing/head/helmet/space/plasmaman/engineering
mask = /obj/item/clothing/mask/gas/atmos
mask = /obj/item/clothing/mask/gas/atmos/plasmaman

/datum/outfit/plasmaman/party_comedian
name = "ERP Comedian Plasmaman"
Expand Down
3 changes: 3 additions & 0 deletions code/modules/mining/equipment/explorer_gear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
acid = 40
wound = 5

/obj/item/clothing/mask/gas/explorer/plasmaman
starting_filter_type = /obj/item/gas_filter/plasmaman

/obj/item/clothing/mask/gas/explorer/attack_self(mob/user)
adjustmask(user)

Expand Down

0 comments on commit 4724eb4

Please sign in to comment.