mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Paper Scooping Minifix (#7088)
Co-authored-by: Selis <sirlionfur@hotmail.de> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -548,12 +548,16 @@
|
|||||||
|
|
||||||
if(istype(P, /obj/item/weapon/clipboard))
|
if(istype(P, /obj/item/weapon/clipboard))
|
||||||
var/obj/item/weapon/clipboard/CB = P
|
var/obj/item/weapon/clipboard/CB = P
|
||||||
|
if(src.loc == user)
|
||||||
|
user.drop_from_inventory(src)
|
||||||
src.loc = CB
|
src.loc = CB
|
||||||
CB.toppaper = src
|
CB.toppaper = src
|
||||||
CB.update_icon()
|
CB.update_icon()
|
||||||
to_chat(user, "<span class='notice'>You clip the [src] onto \the [CB].</span>")
|
to_chat(user, "<span class='notice'>You clip the [src] onto \the [CB].</span>")
|
||||||
|
|
||||||
if(istype(P, /obj/item/weapon/folder))
|
if(istype(P, /obj/item/weapon/folder))
|
||||||
|
if(src.loc == user)
|
||||||
|
user.drop_from_inventory(src)
|
||||||
src.loc = P
|
src.loc = P
|
||||||
P.update_icon()
|
P.update_icon()
|
||||||
to_chat(user, "<span class='notice'>You tuck the [src] into \the [P].</span>")
|
to_chat(user, "<span class='notice'>You tuck the [src] into \the [P].</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user