mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
Angry Eye Fix (#10916)
Vampire blood eyes now properly disappear when they lose frenzy.
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
var/list/genetic_markings // Markings (body_markings) to apply to the icon
|
||||
var/list/temporary_markings // Same as above, but not preserved when cloning
|
||||
var/list/cached_markings // The two above lists cached for perf. reasons.
|
||||
var/list/additional_images
|
||||
|
||||
var/atom/movable/applied_pressure //Pressure applied to wounds. It'll make them bleed less, generally.
|
||||
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
if(vampire && (vampire.status & VAMP_FRENZIED))
|
||||
var/image/return_image = image(H.species.eyes_icons, H, "[H.species.eyes]_frenzy", EFFECTS_ABOVE_LIGHTING_LAYER)
|
||||
return_image.appearance_flags = KEEP_APART
|
||||
LAZYADD(additional_images, return_image)
|
||||
return list(return_image)
|
||||
|
||||
/obj/item/organ/external/proc/apply_markings(restrict_to_robotic = FALSE)
|
||||
@@ -223,6 +224,11 @@
|
||||
/obj/item/organ/external/proc/get_additional_images(var/mob/living/carbon/human/H)
|
||||
return
|
||||
|
||||
/obj/item/organ/external/proc/cut_additional_images(var/mob/living/carbon/human/H)
|
||||
if(LAZYLEN(additional_images))
|
||||
H.cut_overlay(additional_images, TRUE)
|
||||
LAZYCLEARLIST(additional_images)
|
||||
|
||||
// new damage icon system
|
||||
// adjusted to set damage_state to brute/burn code only (without r_name0 as before)
|
||||
/obj/item/organ/external/update_icon()
|
||||
|
||||
Reference in New Issue
Block a user