mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Fixes accessories and a few others not showing properly (#10288)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
30d6333782
commit
413c06dd5b
@@ -20,14 +20,15 @@
|
||||
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
|
||||
|
||||
/obj/item/clothing/gloves/regen/equipped(var/mob/user)
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.gloves == src)
|
||||
wearer = WEAKREF(H)
|
||||
if(H.can_feel_pain())
|
||||
to_chat(H, span_danger("You feel a stabbing sensation in your hands as you slide \the [src] on!"))
|
||||
H.custom_pain("You feel a sharp pain in your hands!",1)
|
||||
..()
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.gloves == src)
|
||||
wearer = WEAKREF(H)
|
||||
if(H.can_feel_pain())
|
||||
to_chat(H, span_danger("You feel a stabbing sensation in your hands as you slide \the [src] on!"))
|
||||
H.custom_pain("You feel a sharp pain in your hands!",1)
|
||||
..()
|
||||
|
||||
|
||||
/obj/item/clothing/gloves/regen/dropped(var/mob/user)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user