Files
Bubberstation/code/modules/vending/donk.dm
Ghom 7c703fc712 Food types are now passed down when cooking from recipes. (#89706)
## About The Pull Request
~~I have some beef with the cooking system.~~

Cooking recipes are coded in a way that disregard the possibility for
their components to have different foodtype flags than the ones you
would find normally find.
For example, if I wanted to make corned beef, but instead of a standard
steak, I used a killer tomato "steak", the result would still have the
meat food type, even if none of the components has it.

I've had to resort to a few hacky lines of code to manipulate the food
types from the edible component, but that can be easily fixed if #89687
is merged.

## Why It's Good For The Game
This also makes cooking recipes less strict about their food types and
can help us spot inconsistencies with recipes.

## Changelog

🆑
qol: Food types are now passed down when cooking from recipes. For
example, a plate of corned "beef" made from giant killer tomato slabs no
longer counts as meat but only vegetables now.
fix: Fixed a metric ton of inconsistencies with food types and recipes.
fix: Dank-pockets (the weed variant) can now be microwaved.
/🆑
2025-03-13 20:06:35 +01:00

43 lines
1.7 KiB
Plaintext

/obj/machinery/vending/donksnack
name = "\improper Donk Co Vendor"
desc = "A snack machine courtesy of Donk Co."
product_slogans = "Just microwave and eat!;The original home of the Donk Pocket!"
product_ads = "The original!;You wanna put a bangin' Donk on it!;The best!;The seasoned traitor's food of choice!;Now with 12% more omnizine!;Eat DONK or DIE!;The galaxy's most popular microwavable snack food!*;Try our NEW Ready-Donk Meals!"
icon_state = "snackdonk"
panel_type = "panel18"
light_mask = "donksoft-light-mask"
circuit = /obj/item/circuitboard/machine/vending/donksnackvendor
products = list(
/obj/item/food/donkpocket = 6,
/obj/item/food/donkpocket/berry = 6,
/obj/item/food/donkpocket/honk = 6,
/obj/item/food/donkpocket/pizza = 6,
/obj/item/food/donkpocket/spicy = 6,
/obj/item/food/donkpocket/teriyaki = 6,
/obj/item/food/tatortot = 12,
)
contraband = list(
/obj/item/food/waffles = 2,
/obj/item/food/donkpocket/dank = 2,
/obj/item/food/donkpocket/gondola = 1,
)
premium = list(
/obj/item/storage/box/donkpockets = 3,
/obj/item/storage/box/donkpockets/donkpocketberry = 3,
/obj/item/storage/box/donkpockets/donkpockethonk = 3,
/obj/item/storage/box/donkpockets/donkpocketpizza = 3,
/obj/item/storage/box/donkpockets/donkpocketspicy = 3,
/obj/item/storage/box/donkpockets/donkpocketteriyaki = 3,
/obj/item/storage/belt/military/snack = 2,
/obj/item/mod/module/microwave_beam = 1,
)
initial_language_holder = /datum/language_holder/syndicate
refill_canister = /obj/item/vending_refill/donksnackvendor
default_price = PAYCHECK_CREW * 1.4
extra_price = PAYCHECK_CREW * 5
payment_department = NO_FREEBIES
/obj/item/vending_refill/donksnackvendor
machine_name = "Donk Co Snack Vendor"
icon_state = "refill_donksnack"