Skip to content

Commit

Permalink
asdasda
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePooba committed Dec 13, 2024
1 parent f6837bb commit 2417d6d
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,20 @@
target.notify_revival("Someone is trying to reboot your posibrain.", source = target)

/datum/surgery_step/finalize_positronic_restoration/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
if (target.stat < DEAD | HAS_TRAIT(target, TRAIT_DEFIB_BLACKLISTED))
if(HAS_TRAIT(target, TRAIT_DEFIB_BLACKLISTED))
target.emote("buzz")
target.visible_message(span_warning("...[target.p_they()] convulses, then goes offline."))
return TRUE

if (target.stat < DEAD)
target.visible_message(span_notice("...[target] is completely unaffected! Seems like they're already active!"))
return FALSE

target.cure_husk()
target.grab_ghost()
target.updatehealth()

if(target.revive() && HAS_TRAIT(target, TRAIT_DEFIB_BLACKLISTED))
if(target.revive())
target.emote("chime")
target.visible_message(span_notice("...[target] reactivates, their chassis coming online!"))
return FALSE //This is due to synths having some weirdness with their revive.
Expand Down

0 comments on commit 2417d6d

Please sign in to comment.