* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
/obj/item/clothing/mask/breath
|
|
desc = "A close-fitting mask that can be connected to an air supply."
|
|
name = "breath mask"
|
|
icon_state = "breath"
|
|
item_state = "m_mask"
|
|
body_parts_covered = 0
|
|
flags = MASKINTERNALS
|
|
visor_flags = MASKINTERNALS
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
gas_transfer_coefficient = 0.10
|
|
permeability_coefficient = 0.50
|
|
actions_types = list(/datum/action/item_action/adjust)
|
|
flags_cover = MASKCOVERSMOUTH
|
|
visor_flags_cover = MASKCOVERSMOUTH
|
|
resistance_flags = 0
|
|
|
|
/obj/item/clothing/mask/breath/attack_self(mob/user)
|
|
adjustmask(user)
|
|
|
|
/obj/item/clothing/mask/breath/AltClick(mob/user)
|
|
..()
|
|
if(!user.canUseTopic(src, be_close=TRUE))
|
|
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
|
|
return
|
|
else
|
|
adjustmask(user)
|
|
|
|
/obj/item/clothing/mask/breath/examine(mob/user)
|
|
..()
|
|
to_chat(user, "<span class='notice'>Alt-click [src] to adjust it.</span>")
|
|
|
|
/obj/item/clothing/mask/breath/medical
|
|
desc = "A close-fitting sterile mask that can be connected to an air supply."
|
|
name = "medical mask"
|
|
icon_state = "medical"
|
|
item_state = "m_mask"
|
|
permeability_coefficient = 0.01
|
|
put_on_delay = 10
|