mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-03 21:09:37 +00:00
* Reverts metabolism on stomachs, keep them as important to eating (#54632) * [ready] Reverts metabolism on stomachs, keep them as important to eating * Merge branch 'master' into upstream-merge-54632 * Update food_reagents.dm * Update alcohol_reagents.dm Co-authored-by: NightRed <nightred@gmail.com> Co-authored-by: Azarak <azarak10@gmail.com>
13 lines
812 B
Plaintext
13 lines
812 B
Plaintext
/datum/unit_test/reagent_mob_procs/Run()
|
|
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human)
|
|
var/obj/item/reagent_containers/food/snacks/hotdog/food = allocate(/obj/item/reagent_containers/food/snacks/hotdog)
|
|
|
|
TEST_ASSERT_EQUAL(human.has_reagent(/datum/reagent/consumable/ketchup), FALSE, "Human somehow has ketchup before eating")
|
|
TEST_ASSERT_EQUAL(human.has_reagent(/datum/reagent/medicine/epinephrine), FALSE, "Human somehow has epinephrine before injecting")
|
|
|
|
food.attack(human, human)
|
|
human.reagents.add_reagent(/datum/reagent/medicine/epinephrine, 5)
|
|
|
|
TEST_ASSERT(human.has_reagent(/datum/reagent/consumable/ketchup), "Human doesn't have ketchup after eating")
|
|
TEST_ASSERT(human.has_reagent(/datum/reagent/medicine/epinephrine), "Human doesn't have epinephrine after injecting")
|