mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Merge pull request #12104 from timothyteakettle/food-quality-2
sliced foods have the same quality as the item that was cut
This commit is contained in:
@@ -260,6 +260,7 @@ All foods are distributed among various categories. Use common sense.
|
||||
slice.desc = "[desc]"
|
||||
if(foodtype != initial(foodtype))
|
||||
slice.foodtype = foodtype //if something happens that overrode our food type, make sure the slice carries that over
|
||||
slice.adjust_food_quality(food_quality)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/proc/generate_trash(atom/location)
|
||||
if(trash)
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
slice.name = "raw [subjectname] cutlet"
|
||||
else if(subjectjob)
|
||||
slice.name = "raw [subjectjob] cutlet"
|
||||
slice.adjust_food_quality(food_quality)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/meat/slab/human/initialize_cooked_food(obj/item/reagent_containers/food/snacks/meat/S, cooking_efficiency)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user