mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
Ports MMIs/Robobrains to New Attack Chain, Makes dead robobrains repairable (#31027)
* Rejuvenating brains rejuvenates the brainmob * Fixes EMP damage too * alert the ghosts * oh this suddenly became an attack chain refactor, huh * More attack chain flags * Adds guard clause * Update code/modules/mob/living/brain/MMI.dm Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/living/brain/MMI.dm Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> * Span define update * missed one --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
@@ -122,6 +122,11 @@
|
||||
if(owner && vital)
|
||||
owner.setBrainLoss(120)
|
||||
|
||||
/obj/item/organ/internal/brain/rejuvenate()
|
||||
. = ..()
|
||||
if(brainmob)
|
||||
brainmob.rejuvenate()
|
||||
|
||||
/obj/item/organ/internal/brain/on_life()
|
||||
if(decoy_brain)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user