Migrate organs to the new attack chain. (#32156)

* Migrate organs to the new attack chain.

* Migrate additional organs and rod of asclepius.

* Update regenerative core.

* Call parent activate_self of regenerative core.
This commit is contained in:
Alan
2026-07-17 06:13:01 +00:00
committed by GitHub
parent 6807c223b3
commit 225a38b7de
9 changed files with 110 additions and 101 deletions
@@ -94,13 +94,15 @@
user.drop_item()
qdel(src)
/obj/item/organ/internal/regenerative_core/afterattack__legacy__attackchain(atom/target, mob/user, proximity_flag)
. = ..()
if(proximity_flag)
applyto(target, user)
/obj/item/organ/internal/regenerative_core/interact_with_atom(atom/target, mob/living/carbon/human/user, list/modifiers)
applyto(target, user)
return ITEM_INTERACT_COMPLETE
/obj/item/organ/internal/regenerative_core/attack_self__legacy__attackchain(mob/user)
/obj/item/organ/internal/regenerative_core/activate_self(mob/user)
if(!user)
return ..()
applyto(user, user)
return ITEM_INTERACT_COMPLETE
/obj/item/organ/internal/regenerative_core/insert(mob/living/carbon/M, special = 0)
..()