From 0cbe95a49d3654a146926a743d7a415d8f2dcfbc Mon Sep 17 00:00:00 2001 From: Stellar Date: Mon, 29 Jun 2026 05:06:46 -0400 Subject: [PATCH] refillable peppermills --- .../job_types/roguetown/burghers/innkeep.dm | 3 ++- modular/Neu_Food/code/cookware/peppermill.dm | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/code/modules/jobs/job_types/roguetown/burghers/innkeep.dm b/code/modules/jobs/job_types/roguetown/burghers/innkeep.dm index 30d83ed9f9a..b1a3c58a608 100644 --- a/code/modules/jobs/job_types/roguetown/burghers/innkeep.dm +++ b/code/modules/jobs/job_types/roguetown/burghers/innkeep.dm @@ -76,7 +76,8 @@ /obj/item/bottle_kit, /obj/item/storage/keyring/innkeep_rooms, /obj/item/reagent_containers/glass/bucket/pot/kettle/tankard/silver, - /obj/item/mini_flagpole/innkeeper + /obj/item/mini_flagpole/innkeeper, + /obj/item/reagent_containers/peppermill/innkeeper ) if(H.mind) SStreasury.grant_savings(ECONOMIC_UPPER_CLASS, H) diff --git a/modular/Neu_Food/code/cookware/peppermill.dm b/modular/Neu_Food/code/cookware/peppermill.dm index 573b9c27a80..7083b52c7d3 100644 --- a/modular/Neu_Food/code/cookware/peppermill.dm +++ b/modular/Neu_Food/code/cookware/peppermill.dm @@ -11,3 +11,21 @@ /obj/item/reagent_containers/peppermill/get_mechanics_examine(mob/user) . = ..() . += span_info("Left-clicking a variety of cooked meats, such as frysteaks and fillets of fish, will season them into higher-classed meals.") + +/obj/item/reagent_containers/peppermill/attackby(obj/item/P, mob/living/user, params) + if(istype(P, /obj/item/reagent_containers/food/snacks/pepper)) + if(do_after(src, 30)) + src.reagents.add_reagent(/datum/reagent/consumable/blackpepper, 3) + user.visible_message("[user] fills the [src] with [P].") + qdel(P) + return + else + to_chat(user, "I need to stand still to fill the peppermill!") + else + return ..() + +/obj/item/reagent_containers/peppermill/innkeeper + name = "overburderned pepper mill" + desc = "Let the lord have his snack; twist the head until it cracks. Specially commissioned by the crown from the local university specifically for any inkeeper. It can hold double the amount of a regular peppermill!" + volume = 60 + list_reagents = list(/datum/reagent/consumable/blackpepper = 30)