put filing cabinet in correct path in tg standards

This commit is contained in:
Tastyfish
2012-01-14 00:54:58 -05:00
parent 9e5925b1f9
commit 1dbc4997fb
+3 -3
View File
@@ -1,4 +1,4 @@
/obj/filingcabinet
/obj/structure/filingcabinet
name = "Filing Cabinet"
desc = "A large cabinet with drawers."
icon = 'computer.dmi'
@@ -6,7 +6,7 @@
density = 1
anchored = 1
/obj/filingcabinet/attackby(obj/item/weapon/paper/P,mob/M)
/obj/structure/filingcabinet/attackby(obj/item/weapon/paper/P,mob/M)
if(istype(P))
M << "You put the [P] in the [src]."
M.drop_item()
@@ -14,7 +14,7 @@
else
M << "You can't put a [P] in the [src]!"
/obj/filingcabinet/attack_hand(mob/user)
/obj/structure/filingcabinet/attack_hand(mob/user)
if(src.contents.len <= 0)
user << "The [src] is empty."
return