Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yellow cake #4448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions code/game/objects/items/food/cake.dm
Original file line number Diff line number Diff line change
Expand Up @@ -665,3 +665,36 @@
)
tastes = list("cake" = 2, "cream" = 3, "pineapple" = 4)
foodtypes = GRAIN | DAIRY | SUGAR | FRUIT | PINEAPPLE

/obj/item/food/cake/yellow_cake
name = "yellow cake"
desc = "A chalky yellow cake.. has a weird aura about it."
icon_state = "yellow_cake"
food_reagents = list(
/datum/reagent/uranium = 18,
/datum/reagent/consumable/sugar = 12,
/datum/reagent/consumable/nutriment = 6,
/datum/reagent/consumable/nutriment/vitamin = 6,
/datum/reagent/toxin/polonium = 12,
)
tastes = list("uranium" = 2, "chalk" = 4)
foodtypes = GRAIN | DAIRY | SUGAR | GROSS
slice_type = /obj/item/food/cakeslice/yellow_cake

/obj/item/food/cake/yellow_cake/make_processable()
..()
radiation_pulse(src, 50)

/obj/item/food/cakeslice/yellow_cake
name = "yellow cake slice"
desc = "A chalky yellow cake.. has a weird aura about it."
icon_state = "yellow_cake_slice"
food_reagents = list(
/datum/reagent/uranium = 3,
/datum/reagent/consumable/sugar = 2,
/datum/reagent/consumable/nutriment = 1,
/datum/reagent/consumable/nutriment/vitamin = 1,
/datum/reagent/toxin/polonium = 2,
)
tastes = list("uranium" = 2, "chalk" = 4)
foodtypes = GRAIN | DAIRY | SUGAR | GROSS
10 changes: 10 additions & 0 deletions code/modules/food_and_drinks/recipes/tablecraft/recipes_cake.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,13 @@
)
result = /obj/item/food/cake/pineapple_cream_cake
category = CAT_CAKE

/datum/crafting_recipe/food/yellow_cake
name = "yellow cake"
reqs = list (
/datum/reagent/consumable/sugar = 5,
/datum/reagent/uranium = 20,
/obj/item/food/cake/plain = 1,
)
result = /obj/item/food/cake/yellow_cake
category = CAT_CAKE
Binary file modified icons/obj/food/piecake.dmi
Binary file not shown.
Loading