mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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:
@@ -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)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user