Adds an examine hint to explorer gas masks (#69646)

* Gives examine text to unfolded gas masks that folded ones fit in bags.
This commit is contained in:
MrMelbert
2022-09-05 23:22:19 -04:00
committed by GitHub
parent a096e1dd4f
commit 39fec22107
2 changed files with 13 additions and 3 deletions
+12 -2
View File
@@ -63,8 +63,18 @@
adjustmask(user)
/obj/item/clothing/mask/gas/explorer/adjustmask(user)
..()
w_class = mask_adjusted ? WEIGHT_CLASS_NORMAL : WEIGHT_CLASS_SMALL
. = ..()
// adjusted = out of the way = smaller = can fit in boxes
w_class = mask_adjusted ? WEIGHT_CLASS_SMALL : WEIGHT_CLASS_NORMAL
/obj/item/clothing/mask/gas/explorer/examine(mob/user)
. = ..()
if(mask_adjusted || w_class == WEIGHT_CLASS_SMALL)
return
. += span_notice("You could fit this into a box if you adjusted it.")
/obj/item/clothing/mask/gas/explorer/folded
w_class = WEIGHT_CLASS_SMALL
/obj/item/clothing/mask/gas/explorer/folded/Initialize(mapload)
. = ..()