From c3d0f7e2dd5a411bea453b54e8c20c8cf564aedc Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 13 Mar 2017 21:35:22 -0400 Subject: [PATCH] Fixes 7 Recipes I Broke LOOK NOBODY'S PERFECT OKAY I added /food/ to the path of all the food recipes but these 7 have a completely silly means of actually creating the food items, and it results in that proc never being called because I didn't change THOSE to have /food/ in the path as well. It's not like dough is important, okay. And this mechanism of doing this is dumb. And huff. ~~pleasedonthurtme~~ --- code/modules/reagents/Chemistry-Recipes.dm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/modules/reagents/Chemistry-Recipes.dm b/code/modules/reagents/Chemistry-Recipes.dm index d63cacfb94..642affe30e 100644 --- a/code/modules/reagents/Chemistry-Recipes.dm +++ b/code/modules/reagents/Chemistry-Recipes.dm @@ -1035,7 +1035,7 @@ catalysts = list("enzyme" = 5) result_amount = 1 -/datum/chemical_reaction/tofu/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/tofu/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/tofu(location) @@ -1048,7 +1048,7 @@ required_reagents = list("soymilk" = 2, "coco" = 2, "sugar" = 2) result_amount = 1 -/datum/chemical_reaction/chocolate_bar/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/chocolate_bar/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/chocolatebar(location) @@ -1061,7 +1061,7 @@ required_reagents = list("milk" = 2, "coco" = 2, "sugar" = 2) result_amount = 1 -/datum/chemical_reaction/chocolate_bar2/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/chocolate_bar2/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/chocolatebar(location) @@ -1096,7 +1096,7 @@ catalysts = list("enzyme" = 5) result_amount = 1 -/datum/chemical_reaction/cheesewheel/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/cheesewheel/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/sliceable/cheesewheel(location) @@ -1109,7 +1109,7 @@ required_reagents = list("protein" = 3, "flour" = 5) result_amount = 3 -/datum/chemical_reaction/meatball/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/meatball/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/meatball(location) @@ -1122,7 +1122,7 @@ required_reagents = list("egg" = 3, "flour" = 10) result_amount = 1 -/datum/chemical_reaction/dough/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/dough/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/dough(location) @@ -1135,7 +1135,7 @@ required_reagents = list("blood" = 5, "clonexadone" = 1) result_amount = 1 -/datum/chemical_reaction/syntiflesh/on_reaction(var/datum/reagents/holder, var/created_volume) +/datum/chemical_reaction/food/syntiflesh/on_reaction(var/datum/reagents/holder, var/created_volume) var/location = get_turf(holder.my_atom) for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/meat/syntiflesh(location)