mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +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
|
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
|
||||||
|
|
||||||
/obj/item/clothing/gloves/regen/equipped(var/mob/user)
|
/obj/item/clothing/gloves/regen/equipped(var/mob/user)
|
||||||
if(ishuman(user))
|
if(ishuman(user))
|
||||||
var/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
if(H.gloves == src)
|
if(H.gloves == src)
|
||||||
wearer = WEAKREF(H)
|
wearer = WEAKREF(H)
|
||||||
if(H.can_feel_pain())
|
if(H.can_feel_pain())
|
||||||
to_chat(H, span_danger("You feel a stabbing sensation in your hands as you slide \the [src] on!"))
|
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)
|
H.custom_pain("You feel a sharp pain in your hands!",1)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/gloves/regen/dropped(var/mob/user)
|
/obj/item/clothing/gloves/regen/dropped(var/mob/user)
|
||||||
..()
|
..()
|
||||||
|
|||||||
@@ -58,7 +58,6 @@
|
|||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/item/clothing/accessory/dosimeter/proc/check_holder()
|
/obj/item/clothing/accessory/dosimeter/proc/check_holder()
|
||||||
|
|
||||||
var/mob/living/carbon/human/H = wearer?.resolve()
|
var/mob/living/carbon/human/H = wearer?.resolve()
|
||||||
if(H)
|
if(H)
|
||||||
if(current_film && (H.radiation >= 25) && (current_film.state == 0))
|
if(current_film && (H.radiation >= 25) && (current_film.state == 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user