Skip to content

Commit

Permalink
yellowcake
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonycake committed Dec 1, 2024
1 parent d5519e6 commit 4fc594c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
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.

0 comments on commit 4fc594c

Please sign in to comment.