Donut boxes no longer eat items and disappear. Until a more permanent fix is in place, they also cannot be refilled with donuts.

Changelog updated.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@49 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
musketstgstation@gmail.com
2010-09-02 21:56:06 +00:00
parent d73f38d41a
commit 5fac6d778d
2 changed files with 18 additions and 1 deletions
+3 -1
View File
@@ -24,13 +24,15 @@ YOUR MUMS BOX
src.icon_state = text("donutbox[]", src.amount)
return
/*
/obj/item/kitchen/donut_box/attackby(obj/item/weapon/W as obj, mob/user as mob)
if (istype(W, /obj/item/weapon/reagent_containers/food/snacks/donut))
if (istype(W, /obj/item/weapon/reagent_containers/food/snacks/donut) && (amount < 6))
user.drop_item()
W.loc = src
usr << "You place a donut back into the box."
src.update()
return
*/
/obj/item/kitchen/donut_box/MouseDrop(mob/user as mob)
if ((user == usr && (!( usr.restrained() ) && (!( usr.stat ) && (usr.contents.Find(src) || in_range(src, usr))))))