mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-18 17:46:53 +01:00
* Adjust masks to fit monitor heads. * Remove duplicate var. Thanks, linters! * Tweak west-facing lucha masks.
64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
/obj/item/clothing/mask/breath
|
|
name = "breath mask"
|
|
desc = "A close-fitting mask that can be connected to an air supply."
|
|
icon_state = "breath"
|
|
icon_monitor = 'icons/mob/clothing/species/machine/monitor/mask.dmi'
|
|
flags = AIRTIGHT
|
|
flags_cover = MASKCOVERSMOUTH
|
|
can_toggle = TRUE
|
|
gas_transfer_coefficient = 0.10
|
|
permeability_coefficient = 0.50
|
|
actions_types = list(/datum/action/item_action/adjust)
|
|
resistance_flags = NONE
|
|
materials = list(MAT_METAL = 300, MAT_GLASS = 200)
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/clothing/species/vox/mask.dmi',
|
|
"Unathi" = 'icons/mob/clothing/species/unathi/mask.dmi',
|
|
"Tajaran" = 'icons/mob/clothing/species/tajaran/mask.dmi',
|
|
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/mask.dmi',
|
|
"Grey" = 'icons/mob/clothing/species/grey/mask.dmi',
|
|
"Drask" = 'icons/mob/clothing/species/drask/mask.dmi',
|
|
"Plasmaman" = 'icons/mob/clothing/species/plasmaman/mask.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/mask/breath/activate_self(mob/user)
|
|
if(..())
|
|
return ITEM_INTERACT_COMPLETE
|
|
|
|
adjustmask(user)
|
|
return ITEM_INTERACT_COMPLETE
|
|
|
|
/obj/item/clothing/mask/breath/AltClick(mob/user)
|
|
..()
|
|
if((!in_range(src, user)) || user.stat || user.restrained())
|
|
return
|
|
adjustmask(user)
|
|
|
|
/obj/item/clothing/mask/breath/medical
|
|
name = "medical mask"
|
|
desc = "A close-fitting sterile mask that can be connected to an air supply."
|
|
icon_state = "medical"
|
|
permeability_coefficient = 0.01
|
|
put_on_delay = 10
|
|
|
|
/obj/item/clothing/mask/breath/vox
|
|
name = "vox breath mask"
|
|
desc = "A weirdly-shaped breath mask."
|
|
icon_state = "voxmask"
|
|
icon_monitor = null
|
|
permeability_coefficient = 0.01
|
|
species_restricted = list("Vox")
|
|
actions_types = list()
|
|
|
|
/obj/item/clothing/mask/breath/vox/respirator
|
|
name = "vox respirator"
|
|
desc = "A weirdly-shaped breath mask, this one seems to designed for a vox beak."
|
|
icon_state = "voxmask2"
|
|
|
|
/obj/item/clothing/mask/breath/vox/activate_self(mob/user)
|
|
. = ..()
|
|
return ITEM_INTERACT_COMPLETE
|
|
|
|
/obj/item/clothing/mask/breath/vox/AltClick(mob/user)
|
|
return
|