fixes bacon from cutlets in hand (#20974)

* bacon from cutlets in hand

raw cutlets can now be cut in hand to create bacon

* put bacon in hand when made
This commit is contained in:
Taran
2023-05-13 15:44:53 -06:00
committed by GitHub
parent 84e7528805
commit 86f4ee7a75
@@ -79,8 +79,13 @@
"<span class ='notice'>[user] cuts the raw cutlet with [W]!</span>", \
"<span class ='notice'>You cut the raw cutlet with [W]!</span>" \
)
new /obj/item/reagent_containers/food/snacks/raw_bacon(loc)
qdel(src)
var/obj/item/reagent_containers/food/snacks/raw_bacon/bacon = new(get_turf(src))
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
qdel(src)
H.put_in_hands(bacon)
else
qdel(src)
//////////////////////////
// Monster Meat //