[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 16:26:00 +01:00
committed by GitHub
co-authored by MrMelbert
parent 6fc0f80ea2
commit 46959e3702
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -157,7 +157,7 @@
// Mining survival box
/obj/item/storage/box/survival/mining
mask_type = /obj/item/clothing/mask/gas/explorer
mask_type = /obj/item/clothing/mask/gas/explorer/folded
/obj/item/storage/box/survival/mining/PopulateContents()
..()
+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)
. = ..()