From 823589c38ccd9ff8c235f2aad3c8fb4bf9ef54ed Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Sun, 10 Mar 2024 11:18:11 -0700 Subject: [PATCH] Mice pull cheese wedges under doors (#24432) * Mice pull cheese under doors * Reorder the mouse-cheese logic, looks better this way around. * Update code/modules/food_and_drinks/food/foods/ingredients.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/modules/food_and_drinks/food/foods/ingredients.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --- code/modules/food_and_drinks/food/foods/ingredients.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/food_and_drinks/food/foods/ingredients.dm b/code/modules/food_and_drinks/food/foods/ingredients.dm index cefb49fd02e..d6331119b2c 100644 --- a/code/modules/food_and_drinks/food/foods/ingredients.dm +++ b/code/modules/food_and_drinks/food/foods/ingredients.dm @@ -53,6 +53,11 @@ filling_color = "#FFF700" tastes = list("cheese" = 1) +/obj/item/food/snacks/cheesewedge/checkpass(passflag) + if((passflag & PASSDOOR) && ismouse(pulledby)) + return TRUE + return ..() + /obj/item/food/snacks/cheesewedge/presliced list_reagents = list("nutriment" = 3, "vitamin" = 1, "cheese" = 4)