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
+3 -3
View File
@@ -44,12 +44,12 @@
I.loc = src
/obj/structure/filingcabinet/attackby__legacy__attackchain(obj/item/O, mob/user, params)
/obj/structure/filingcabinet/item_interaction(mob/living/user, obj/item/O, list/modifiers)
if(insert(O, user))
return
return ITEM_INTERACT_COMPLETE
if(user.a_intent != INTENT_HARM)
to_chat(user, "<span class='warning'>You can't put [O.name] in [src]!</span>")
return
return ITEM_INTERACT_COMPLETE
return ..()
/obj/structure/filingcabinet/wrench_act(mob/living/user, obj/item/I)