[MIRROR] Adds an examine hint to explorer gas masks [MDB IGNORE] (#16089)

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

* Gives examine text to unfolded gas masks that folded ones fit in bags.

* Adds an examine hint to explorer gas masks

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-09-06 17:26:00 +02:00
committed by GitHub
parent 6fc0f80ea2
commit 46959e3702
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)
. = ..()