mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 20:13:45 +01:00
put filing cabinet in correct path in tg standards
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user