[MIRROR] usr to user up to player effects (#9552)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-01 10:31:19 -07:00
committed by GitHub
parent a7e4ef7dad
commit 0180cc74c5
297 changed files with 1866 additions and 1893 deletions

View File

@@ -319,7 +319,7 @@
return
if(W.loc != user) // This should stop mounted modules ending up outside the module.
return
usr.drop_item()
user.drop_item()
if(W)
W.forceMove(loc)
else if(istype(W, /obj/item/packageWrap))
@@ -387,7 +387,7 @@
/obj/structure/closet/attack_self_tk(mob/user as mob)
add_fingerprint(user)
if(!toggle())
to_chat(usr, span_notice("It won't budge!"))
to_chat(user, span_notice("It won't budge!"))
/obj/structure/closet/verb/verb_toggleopen()
set src in oview(1)

View File

@@ -100,7 +100,7 @@
return
if(W.loc != user) // This should stop mounted modules ending up outside the module.
return
usr.drop_item()
user.drop_item()
if(W)
W.forceMove(src.loc)
else

View File

@@ -34,10 +34,10 @@
if (istype(user, /mob/living/silicon/ai)) //Added by Strumpetplaya - AI shouldn't be able to
return //activate emergency lockers. This fixes that. (Does this make sense, the AI can't call attack_hand, can it? --Mloc)
if(!amount)
to_chat(usr, "<spawn class='notice'>It's empty..")
to_chat(user, "<spawn class='notice'>It's empty..")
return
if(amount)
to_chat(usr, "<spawn class='notice'>You take out some items from \the [src].")
to_chat(user, "<spawn class='notice'>You take out some items from \the [src].")
for(var/path in spawnitems)
new path(src.loc)
amount--