mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Adds vegan cake batter for its chemical reaction (#94679)
## About The Pull Request - Fixes #94653 Vegan cake batter? Whaa..? ## Changelog 🆑 fix: vegan cake batter is correctly vegan and has no dairy. /🆑
This commit is contained in:
@@ -46,10 +46,26 @@
|
||||
tastes = list("sweetness" = 2, "cake" = 5)
|
||||
foodtypes = GRAIN | DAIRY | SUGAR
|
||||
slice_type = /obj/item/food/cakeslice/plain
|
||||
///ingredient holder for this cake
|
||||
VAR_PROTECTED/cake_holder = /obj/item/food/cake/empty
|
||||
|
||||
/obj/item/food/cake/plain/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/ingredients_holder, /obj/item/food/cake/empty, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 16)
|
||||
AddComponent(/datum/component/ingredients_holder, cake_holder, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 16)
|
||||
|
||||
/obj/item/food/cake/plain/vegan
|
||||
name = "vegan plain cake"
|
||||
desc = "A plain vegan cake, not a lie."
|
||||
tastes = list("cake" = 5)
|
||||
foodtypes = GRAIN
|
||||
cake_holder = /obj/item/food/cake/empty/vegan
|
||||
slice_type = /obj/item/food/cakeslice/plain/vegan
|
||||
|
||||
/obj/item/food/cakeslice/plain/vegan
|
||||
name = "plain vegan cake slice"
|
||||
desc = "Just a slice of vegan cake, it is enough for everyone."
|
||||
tastes = list("cake" = 5)
|
||||
foodtypes = GRAIN
|
||||
|
||||
/obj/item/food/cakeslice/plain
|
||||
name = "plain cake slice"
|
||||
@@ -75,6 +91,17 @@
|
||||
. = ..()
|
||||
AddComponent(/datum/component/ingredients_holder, null, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 16)
|
||||
|
||||
/obj/item/food/cake/empty/vegan
|
||||
name = "vegan cake"
|
||||
desc = "A custom vegan cake made by an really insane chef."
|
||||
foodtypes = GRAIN
|
||||
slice_type = /obj/item/food/cakeslice/empty/vegan
|
||||
|
||||
/obj/item/food/cakeslice/empty/vegan
|
||||
name = "vegan cake slice"
|
||||
desc = "A slice of custom vegan cake, made by an really insane chef."
|
||||
foodtypes = GRAIN
|
||||
|
||||
/obj/item/food/cake/carrot
|
||||
name = "carrot cake"
|
||||
desc = "A favorite desert of a certain wascally wabbit. Not a lie."
|
||||
|
||||
@@ -96,6 +96,14 @@
|
||||
/obj/item/food/cakebatter/make_processable()
|
||||
AddElement(/datum/element/processable, TOOL_ROLLINGPIN, /obj/item/food/piedough, 1, 3 SECONDS, table_required = TRUE, screentip_verb = "Flatten", sound_to_play = SFX_ROLLING_PIN_ROLLING)
|
||||
|
||||
/obj/item/food/cakebatter/vegan
|
||||
name = "vegan cake batter"
|
||||
desc = "Bake it to get a vegan cake?."
|
||||
foodtypes = GRAIN
|
||||
|
||||
/obj/item/food/cakebatter/vegan/make_bakeable()
|
||||
AddComponent(/datum/component/bakeable, /obj/item/food/cake/plain/vegan, rand(70 SECONDS, 90 SECONDS), TRUE, TRUE)
|
||||
|
||||
/obj/item/food/piedough
|
||||
name = "pie dough"
|
||||
desc = "Cook it to get a pie."
|
||||
|
||||
@@ -209,6 +209,7 @@
|
||||
|
||||
/datum/chemical_reaction/food/cakebatter/vegan
|
||||
required_reagents = list(/datum/reagent/consumable/soymilk = 15, /datum/reagent/consumable/flour = 15, /datum/reagent/consumable/sugar = 5)
|
||||
resulting_food_path = /obj/item/food/cakebatter/vegan
|
||||
|
||||
/datum/chemical_reaction/food/pancakebatter
|
||||
results = list(/datum/reagent/consumable/pancakebatter = 15)
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
/datum/crafting_recipe/food/reaction/cakebatter/vegan
|
||||
name = "Cake batter (vegan)"
|
||||
reaction = /datum/chemical_reaction/food/cakebatter/vegan
|
||||
result = /obj/item/food/cakebatter/vegan
|
||||
|
||||
/datum/crafting_recipe/food/reaction/pancakebatter
|
||||
result = /datum/reagent/consumable/pancakebatter
|
||||
|
||||
Reference in New Issue
Block a user