mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
[MIRROR] Adds unit test for spawned food edibility (#3704)
* Adds unit test for spawned food edibility (#57232) * Adds unit test for spawned food having reagents - Adds stack trace for biting food failing due to a lack of reagents - Adds checks for seed var being set under food/grown's initialize() in grown.dm - Fixes issue with gondola meat code duplicated for penguin meat slabs resulting in a runtime and being unable to slice penguin meat - Adds seeds for bombananas Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Adds unit test for spawned food edibility Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
cacogen
parent
962457da07
commit
098b4074e0
@@ -865,9 +865,9 @@
|
||||
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 4, /datum/reagent/consumable/cooking_oil = 3)
|
||||
tastes = list("beef" = 1, "cod fish" = 1)
|
||||
|
||||
/obj/item/food/meat/slab/gondola/MakeProcessable()
|
||||
/obj/item/food/meat/slab/penguin/MakeProcessable()
|
||||
. = ..()
|
||||
AddElement(/datum/element/processable, TOOL_KNIFE, /obj/item/food/meat/rawcutlet/gondola, 3, 30)
|
||||
AddElement(/datum/element/processable, TOOL_KNIFE, /obj/item/food/meat/rawcutlet/penguin, 3, 30)
|
||||
|
||||
/obj/item/food/meat/slab/penguin/MakeGrillable()
|
||||
AddComponent(/datum/component/grillable, /obj/item/food/meat/steak/penguin, rand(30 SECONDS, 90 SECONDS), TRUE, TRUE) //Add medium rare later maybe?
|
||||
|
||||
Reference in New Issue
Block a user