Skip to content

Commit

Permalink
cook bacon in the burn chamber
Browse files Browse the repository at this point in the history
  • Loading branch information
TobleroneSwordfish committed Jan 14, 2025
1 parent dfea677 commit 4fc219b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/modules/chemistry/tools/food_and_drink.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,20 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food)
var/did_stomach_react = 0 //! Has this already reacted when being digested
var/digest_count = 0 //! How digested is this while in stomach
var/dissolve_threshold = 20 //! How digested something needs to be before it dissolves
var/heats_into = null //! Type path of the thing this becomes when heated
var/heat_threshold = T0C + 500 //! Temperature required for this to cook from ambient air heat
rc_flags = 0

temperature_expose(datum/gas_mixture/air, temperature, volume)
. = ..()
if (src.heats_into && temperature > src.heat_threshold)
src.on_temperature_cook()
new src.heats_into(src.loc)
qdel(src)

proc/on_temperature_cook()
return

///Slowly dissolve in stomach, releasing reagents
proc/process_stomach(mob/living/owner, var/process_rate = 5)
src.digest_count += process_rate
Expand Down
14 changes: 14 additions & 0 deletions code/modules/food_and_drink/ingredients.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/ingredient)
blood--
..()

on_temperature_cook()
src.visible_message("[src] begins to brown in the heat!")
playsound(src.loc, 'sound/impact_sounds/burn_sizzle.ogg', 50, TRUE, pitch = 0.8)


/obj/item/reagent_containers/food/snacks/ingredient/meat/humanmeat
name = "human meat"
desc = "A slab of meat from a human."
heats_into = /obj/item/reagent_containers/food/snacks/steak_h
var/subjectname = "Human"
var/subjectjob = "Human Being"

Expand All @@ -56,6 +62,7 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/ingredient)
/obj/item/reagent_containers/food/snacks/ingredient/meat/monkeymeat
name = "monkeymeat"
desc = "A slab of meat from a monkey."
heats_into = /obj/item/reagent_containers/food/snacks/steak_m

/obj/item/reagent_containers/food/snacks/ingredient/meat/lesserSlug
name = "lesser slug"
Expand Down Expand Up @@ -153,6 +160,7 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/ingredient)
initial_volume = 20
food_color = "#228822"
initial_reagents = list("synthflesh"=2)
heats_into = /obj/item/reagent_containers/food/snacks/steak_s

/obj/item/reagent_containers/food/snacks/ingredient/meat/mysterymeat
name = "mystery meat"
Expand All @@ -179,6 +187,7 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/ingredient)
icon_state = "meat-changeling"
initial_volume = 30
initial_reagents = list("neurotoxin" = 20, "bloodc" = 10)
heats_into = /obj/item/reagent_containers/food/snacks/steak_ling

/obj/item/reagent_containers/food/snacks/ingredient/meat/mysterymeat/grody
name = "meaty bit"
Expand Down Expand Up @@ -215,6 +224,11 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/ingredient)
icon_state = "bacon-raw"
blood = 2
real_name = "bacon"
heats_into = /obj/item/reagent_containers/food/snacks/ingredient/meat/bacon

on_temperature_cook()
src.visible_message("The bacon sizzles enticingly!")
playsound(src.loc, 'sound/impact_sounds/burn_sizzle.ogg', 50, TRUE, pitch = 0.8)

/obj/item/reagent_containers/food/snacks/ingredient/meat/mysterymeat/nugget
name = "chicken nugget"
Expand Down
1 change: 1 addition & 0 deletions strings/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
(u)LeahTheTech
(+)Pie slices can now be eaten without a spoon.
(+)Traitor Pest Control Specialists can now buy an old hunting rifle for 7TC.
(*)Bacon and steaks can now be cooked in the engine burn chamber. Probably not very well.
(u)TDHooligan
(p)21974
(e)🆕⚖📦|C-Feature, C-Balance, A-Game-Objects
Expand Down

0 comments on commit 4fc219b

Please sign in to comment.