mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
migrates /obj/effect to the new attack chain (#28066)
* the great migration * pleasing the linter * whoops * smol fixes * review * hallucination attack proc --------- Co-authored-by: Toastical <toast@toaster.com> Co-authored-by: Toastical <toastical@toaster.com>
This commit is contained in:
co-authored by
Toastical
Toastical
parent
6ded7786fd
commit
202249a137
@@ -122,11 +122,12 @@
|
||||
if(!cant_teleport)
|
||||
walk_link(entered)
|
||||
|
||||
/obj/effect/cross_action/spacetime_dist/attackby__legacy__attackchain(obj/item/W, mob/user, params)
|
||||
if(user.drop_item(W))
|
||||
walk_link(W)
|
||||
/obj/effect/cross_action/spacetime_dist/item_interaction(mob/living/user, obj/item/used, list/modifiers)
|
||||
if(user.drop_item(used))
|
||||
walk_link(used)
|
||||
else
|
||||
walk_link(user)
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/effect/cross_action/spacetime_dist/attack_hand(mob/user, list/modifiers)
|
||||
|
||||
Reference in New Issue
Block a user