From ec70eb5ec5f685e50d88b657f627fcb1caad4972 Mon Sep 17 00:00:00 2001 From: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:11:40 -0600 Subject: [PATCH] Adds Bandana toggle info to examines (#76512) Didn't realize bandanas could be used in-hand AND alt-clicked for two different results --- code/modules/clothing/masks/bandana.dm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/masks/bandana.dm b/code/modules/clothing/masks/bandana.dm index 86ea1e71fb6..b7884744d90 100644 --- a/code/modules/clothing/masks/bandana.dm +++ b/code/modules/clothing/masks/bandana.dm @@ -21,6 +21,17 @@ greyscale_config_inhand_right = /datum/greyscale_config/bandana_inhands_right greyscale_colors = "#2e2e2e" +/obj/item/clothing/mask/bandana/examine(mob/user) + . = ..() + if(mask_adjusted) + . += "Use in-hand to untie it to wear as a mask!" + return + if(slot_flags & ITEM_SLOT_NECK) + . += "Alt-click to untie it to wear as a mask!" + else + . += "Use in-hand to tie it up to wear as a hat!" + . += "Alt-click to tie it up to wear on your neck!" + /obj/item/clothing/mask/bandana/attack_self(mob/user) if(slot_flags & ITEM_SLOT_NECK) to_chat(user, span_warning("You must undo [src] in order to push it into a hat!")) @@ -51,8 +62,7 @@ else if(!user.is_holding(src)) to_chat(user, span_warning("You must be holding [src] in order to tie it!")) return - - + if(slot_flags & ITEM_SLOT_MASK) undyeable = TRUE slot_flags = ITEM_SLOT_NECK