[MIRROR] Fixes yet another couple TK teleportation tricks. [MDB IGNORE] (#9752)

* Fixes yet another couple TK teleportation tricks. (#62925)

Fixes airlock notes and cloth sheets cut from gauzes being teleported to the user because of TK.

* Fixes yet another couple TK teleportation tricks.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-11-28 14:12:26 -05:00
committed by GitHub
co-authored by Ghom
parent fc221f2969
commit f507febe4d
2 changed files with 13 additions and 6 deletions
+8 -4
View File
@@ -183,10 +183,14 @@
if(get_amount() < 2)
to_chat(user, span_warning("You need at least two gauzes to do this!"))
return
new /obj/item/stack/sheet/cloth(user.drop_location())
user.visible_message(span_notice("[user] cuts [src] into pieces of cloth with [I]."), \
span_notice("You cut [src] into pieces of cloth with [I]."), \
span_hear("You hear cutting."))
new /obj/item/stack/sheet/cloth(I.drop_location())
if(user.CanReach(src))
user.visible_message(span_notice("[user] cuts [src] into pieces of cloth with [I]."), \
span_notice("You cut [src] into pieces of cloth with [I]."), \
span_hear("You hear cutting."))
else //telekinesis
visible_message(span_notice("[I] cuts [src] into pieces of cloth."), \
blind_message = span_hear("You hear cutting."))
use(2)
else
return ..()