Ported filing cabinet and photo copier.

This commit is contained in:
SkyMarshal
2012-01-10 21:49:58 -07:00
parent 3494003d68
commit ba24236380
4 changed files with 181 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/obj/filingcabinet
name = "Filing Cabinet"
desc = "A large cabinet with drawers."
icon = 'computer.dmi'
icon_state = "messyfiles"
density = 1
anchored = 1
/obj/filingcabinet/attackby(obj/item/weapon/paper/P,mob/M)
if(istype(P))
M << "You put the [P] in the [src]."
M.drop_item()
P.loc = src
else
M << "You can't put a [P] in the [src]!"
/obj/filingcabinet/attack_hand(mob/user)
if(src.contents.len <= 0)
user << "The [src] is empty."
return
var/obj/item/weapon/paper/P = input(user,"Choose a sheet to take out.","[src]", "Cancel") as null|obj in src.contents
if(in_range(src,user))
P.loc = user.loc