mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 09:34:21 +01:00
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:
@@ -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))))))
|
||||
|
||||
Reference in New Issue
Block a user