diff --git a/modular_nova/modules/ashwalkers/code/effects/ash_rituals.dm b/modular_nova/modules/ashwalkers/code/effects/ash_rituals.dm index 5a71966fb0e..41186f01ef7 100644 --- a/modular_nova/modules/ashwalkers/code/effects/ash_rituals.dm +++ b/modular_nova/modules/ashwalkers/code/effects/ash_rituals.dm @@ -56,7 +56,11 @@ if(!atom_check) ritual_fail(checked_rune) return FALSE - + if(isliving(atom_check)) + var/mob/living/human_sacrifice = atom_check + if(human_sacrifice.stat < DEAD) + ritual_fail(checked_rune) + return FALSE if(is_type_in_list(atom_check, consumed_components)) qdel(atom_check) checked_rune.balloon_alert_to_viewers("[checked_component] component has been consumed...") diff --git a/modular_nova/modules/ashwalkers/code/effects/ash_rune.dm b/modular_nova/modules/ashwalkers/code/effects/ash_rune.dm index 6efb0b8edb2..e2a30a7af91 100644 --- a/modular_nova/modules/ashwalkers/code/effects/ash_rune.dm +++ b/modular_nova/modules/ashwalkers/code/effects/ash_rune.dm @@ -23,9 +23,10 @@ GLOBAL_LIST_EMPTY(ash_rituals) . += span_notice("
The current ritual is: [current_ritual.name]") . += span_notice(current_ritual.desc) . += span_warning("
The required components are as follows:") - for(var/the_components in current_ritual.required_components) - var/atom/component_name = current_ritual.required_components[the_components] - . += span_warning("[the_components] component is [initial(component_name.name)]") + for(var/direction in current_ritual.required_components) + var/atom/component_type = current_ritual.required_components[direction] + var/component_name = ispath(component_type, /mob/living/carbon/human) ? "a humanoid corpse" : component_type::name + . += span_warning("[direction] component is [component_name]") /obj/effect/ash_rune/Initialize(mapload) . = ..()