Skip to content

Commit

Permalink
robots dont understand spirituality
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 committed Aug 28, 2024
1 parent 2456c0b commit 73bb090
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/proc/status_effect_to_viewers(target, mod_path, message, range = world.view, exclude_mobs)
for(var/mob/living/M in viewers(target, range) - exclude_mobs)
for(var/mob/living/carbon/human/M in viewers(target, range) - exclude_mobs)
if(M.is_blind() || M.stat != CONSCIOUS)
continue

Expand Down
7 changes: 7 additions & 0 deletions code/modules/surgery/new_surgery/sanctify.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@
if(ghost)
ghost.exorcise()

// Robots don't understand
var/list/exclude = list()
for(var/mob/living/carbon/human/H in viewers(world.view, target))
if(isipc(H))
exclude += H

status_effect_to_viewers(
target,
/datum/status_effect/skill_mod/sanctify_corpse,
span_statsgood("You feel at peace."),
exclude = exclude,
)


Expand Down

0 comments on commit 73bb090

Please sign in to comment.