Ears matter (and other antenna stuff.) (#10790)

This commit is contained in:
Wowzewow (Wezzy)
2021-01-03 16:36:37 +01:00
committed by GitHub
parent 2c9c34b245
commit f4f95e6c2a
21 changed files with 243 additions and 154 deletions
+3 -3
View File
@@ -741,9 +741,9 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
if (slot_wear_id)
M.update_inv_wear_id()
if (slot_l_ear)
M.update_inv_ears()
M.update_inv_l_ear()
if (slot_r_ear)
M.update_inv_ears()
M.update_inv_r_ear()
if (slot_glasses)
M.update_inv_glasses()
if (slot_gloves)
@@ -845,4 +845,4 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
return
/obj/item/proc/extinguish_fire()
return
return
@@ -43,7 +43,8 @@
set_light(0)
if (ismob(src.loc)) //for reasons, this makes headlights work.
var/mob/M = src.loc
M.update_inv_ears()
M.update_inv_l_ear()
M.update_inv_r_ear()
M.update_inv_head()
/obj/item/device/flashlight/attack_self(mob/user)
+2 -2
View File
@@ -308,11 +308,11 @@
update_icons_required = TRUE
if(H.l_ear && washears)
if(H.l_ear.clean_blood())
H.update_inv_ears(0)
H.update_inv_l_ear(0)
update_icons_required = TRUE
if(H.r_ear && washears)
if(H.r_ear.clean_blood())
H.update_inv_ears(0)
H.update_inv_r_ear(0)
update_icons_required = TRUE
if(H.belt)
if(H.belt.clean_blood())