Attack chain migration: structures. (#30365)

* Attack chain migration: structures.

* whoops

* wth
This commit is contained in:
warriorstar-orion
2025-09-14 19:21:36 +00:00
committed by GitHub
parent cd7b4e7292
commit 3208049a8a
87 changed files with 1396 additions and 404 deletions
+2 -2
View File
@@ -22,7 +22,7 @@
pinned_target = null
density = TRUE
/obj/structure/target_stake/attackby__legacy__attackchain(obj/item/W, mob/user, params)
/obj/structure/target_stake/item_interaction(mob/living/user, obj/item/W, list/modifiers)
// Putting objects on the stake. Most importantly, targets
if(istype(W, /obj/item/target) && !pinned_target)
density = FALSE
@@ -32,7 +32,7 @@
W.layer = 3.1
pinned_target = W
to_chat(user, "You slide the target into the stake.")
return
return ITEM_INTERACT_COMPLETE
return ..()
/obj/structure/target_stake/attack_hand(mob/user)