mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Buffs all glasses (#24372)
* fucking hate this shit * Update code/modules/clothing/clothing.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -238,16 +238,10 @@
|
||||
if(user.stat || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || !Adjacent(user) || !istype(user))
|
||||
return
|
||||
|
||||
var/action_fluff = "You adjust \the [src]"
|
||||
if(user.glasses == src)
|
||||
if(!user.canUnEquip(src))
|
||||
to_chat(user, "<span class='warning'>[src] is stuck to you!</span>")
|
||||
return
|
||||
if(attack_hand(user)) //Remove the glasses for this action. Prevents logic-defying instances where glasses phase through your mask as it ascends/descends to another plane of existence.
|
||||
action_fluff = "You remove \the [src] and adjust it"
|
||||
|
||||
over_mask = !over_mask
|
||||
to_chat(user, "<span class='notice'>[action_fluff] to be worn [over_mask ? "over" : "under"] a mask.</span>")
|
||||
if(user.glasses == src)
|
||||
user.update_inv_glasses()
|
||||
to_chat(user, "<span class='notice'>You adjust [src] to be worn [over_mask ? "over" : "under"] a mask.</span>")
|
||||
|
||||
//Gloves
|
||||
/obj/item/clothing/gloves
|
||||
|
||||
Reference in New Issue
Block a user