From 1ba345ca8c8f4729cfdd2423af7da8531eddc021 Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Fri, 27 Jun 2014 02:29:45 -0500 Subject: [PATCH] Teacup icon clipping fix. Might need to be done to coffee as well. Thanks Serveris6 for the report: http://prntscr.com/3wyah5 --- code/modules/reagents/reagent_containers/food/drinks.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/reagent_containers/food/drinks.dm b/code/modules/reagents/reagent_containers/food/drinks.dm index d09acc8e15e..4117defbbdf 100644 --- a/code/modules/reagents/reagent_containers/food/drinks.dm +++ b/code/modules/reagents/reagent_containers/food/drinks.dm @@ -219,7 +219,7 @@ ..() reagents.add_reagent("tea", 30) src.pixel_x = rand(-10.0, 10) - src.pixel_y = rand(-10.0, 10) + src.pixel_y = rand(0, 20) // the teacup is very low on the 32x32 grid so if it's -y then it clips into the tile below it. /obj/item/weapon/reagent_containers/food/drinks/ice name = "Ice Cup" @@ -310,4 +310,4 @@ name = "cup" desc = "A cup with the British flag emblazoned on it." icon_state = "britcup" - volume = 30 \ No newline at end of file + volume = 30