Pick up that paper

Photocopiers and Fax Machines will now attempt to place the removed
source material into the hand of the user... if they are human only.
This commit is contained in:
FalseIncarnate
2016-12-29 21:46:20 -05:00
parent eba3d10966
commit 27e7dabed7
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -110,6 +110,9 @@ var/list/alldepartments = list()
if(href_list["paper"])
if(copyitem)
copyitem.forceMove(get_turf(src))
if(ishuman(usr))
if(!usr.get_active_hand())
usr.put_in_hands(copyitem)
to_chat(usr, "<span class='notice'>You eject \the [copyitem] from \the [src].</span>")
copyitem = null
else
+3
View File
@@ -80,6 +80,9 @@
else if(href_list["remove"])
if(copyitem)
copyitem.forceMove(get_turf(src))
if(ishuman(usr))
if(!usr.get_active_hand())
usr.put_in_hands(copyitem)
to_chat(usr, "<span class='notice'>You take \the [copyitem] out of \the [src].</span>")
copyitem = null
updateUsrDialog()