mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Merge pull request #9583 from SamHPurp/breath-mask-alt
Usability: Alt click breath masks & Bugfix #8018
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
/obj/item/clothing/mask/breath/attack_self(var/mob/user)
|
||||
adjustmask(user)
|
||||
|
||||
/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
|
||||
desc = "A close-fitting sterile mask that can be connected to an air supply."
|
||||
name = "medical mask"
|
||||
@@ -41,3 +47,9 @@
|
||||
permeability_coefficient = 0.01
|
||||
species_restricted = list("Vox")
|
||||
actions_types = list()
|
||||
|
||||
/obj/item/clothing/mask/breath/vox/attack_self(var/mob/user)
|
||||
return
|
||||
|
||||
/obj/item/clothing/mask/breath/vox/AltClick(mob/user)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user