fixes it properly

This commit is contained in:
Timothy Teakettle
2020-06-21 17:39:36 +01:00
parent 7fa5107b4b
commit 983aac10a2
3 changed files with 4 additions and 6 deletions
+4 -4
View File
@@ -303,12 +303,12 @@ All foods are distributed among various categories. Use common sense.
var/obj/item/result
if(cooked_type)
result = new cooked_type(T)
//if the result is food, set its food quality to the original food item's quality
if(isfood(result))
var/obj/item/reagent_containers/food/food_output = result
food_output.adjust_food_quality(food_quality + M.quality_increase)
if(istype(M))
initialize_cooked_food(result, M.efficiency)
//if the result is food, set its food quality to the original food item's quality
if(isfood(result))
var/obj/item/reagent_containers/food/food_output = result
food_output.adjust_food_quality(food_quality + M.quality_increase)
else
initialize_cooked_food(result, 1)
SSblackbox.record_feedback("tally", "food_made", 1, result.type)
@@ -10,7 +10,6 @@
var/obj/item/reagent_containers/food/grilled_item
var/grill_time = 0
var/datum/looping_sound/grill/grill_loop
var/quality_increase = 10 //cooking food via a grill gives it slightly higher quality
/obj/machinery/grill/Initialize()
. = ..()
@@ -153,7 +153,6 @@
var/burn_icon = "bonfire_on_fire" //for a softer more burning embers icon, use "bonfire_warm"
var/grill = FALSE
var/fire_stack_strength = 5
var/quality_increase = 0 //bonfires are not the greatest cooking appliance
/obj/structure/bonfire/dense
density = TRUE