mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] allows surgery caps to toggle hair visibility [MDB IGNORE] (#22552)
* allows surgery caps to toggle hair visibility (#76906) ## About The Pull Request Allows doctors to choose between looking like a baldie and letting their hair peek out.  **By default** the original behaviour of hiding all hair remains. Using the cap in your hands you can "loosen" the strings which toggles the visibility of the hair.  (Outdated image, now uses a balloon alert instead of a to_chat) It's also on a short do_after so you can't just spam flip it back and forth, plus you have to actually take it off to fiddle with it. ## Why It's Good For The Game We can already wear uniforms "casually" by alt clicking them, this is just something similar but for caps. Creates opportunities for CMO's to yell at their doctors for not keeping their uniforms up to scratch. Also fashion idk. ## Changelog 🆑 add: You can now toggle the visibility for hair on your noggin when wearing surgery caps. /🆑 --------- Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com> * allows surgery caps to toggle hair visibility --------- Co-authored-by: coldud13 <coldud13@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com> Co-authored-by: Bloop <vinylspiders@gmail.com>
This commit is contained in:
co-authored by
MrMelbert
coldud13
Bloop
parent
ab3f0dc5af
commit
670ef76d05
@@ -447,6 +447,21 @@
|
||||
desc = "A blue medical surgery cap to prevent the surgeon's hair from entering the insides of the patient!"
|
||||
flags_inv = HIDEHAIR //Cover your head doctor!
|
||||
|
||||
/obj/item/clothing/head/utility/surgerycap/attack_self(mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
balloon_alert(user, "[flags_inv & HIDEHAIR ? "loosening" : "tightening"] strings...")
|
||||
if(!do_after(user, 3 SECONDS, src))
|
||||
return
|
||||
flags_inv ^= HIDEHAIR
|
||||
balloon_alert(user, "[flags_inv & HIDEHAIR ? "tightened" : "loosened "] strings")
|
||||
return TRUE
|
||||
|
||||
/obj/item/clothing/head/utility/surgerycap/examine(mob/user)
|
||||
. = ..()
|
||||
. += span_notice("Use in hand to [flags_inv & HIDEHAIR ? "loosen" : "tighten"] the strings.")
|
||||
|
||||
/obj/item/clothing/head/utility/surgerycap/purple
|
||||
name = "burgundy surgery cap"
|
||||
icon_state = "surgicalcapwine"
|
||||
|
||||
Reference in New Issue
Block a user