Files
Bubberstation/code/modules/unit_tests/reachable_soup.dm
MrMelbert dd8af45715 Fix soup pots being unreachable (#93377)
## About The Pull Request

Caused by #93165 

I'm not sure but I think this was just missing a check for
`TRAIT_SKIP_BASIC_REACH_CHECK`, because soup pots are given that trait

## Changelog

🆑 Melbert
fix: You can interact with soup pots on stoves again
/🆑
2025-10-11 00:16:15 +02:00

14 lines
513 B
Plaintext

/datum/unit_test/reachable_soup
/datum/unit_test/reachable_soup/Run()
var/obj/machinery/oven/range/range = EASY_ALLOCATE()
var/obj/item/reagent_containers/cup/soup_pot/soup = EASY_ALLOCATE()
var/mob/living/carbon/human/dummy = EASY_ALLOCATE()
dummy.put_in_active_hand(soup)
click_wrapper(dummy, range)
TEST_ASSERT_EQUAL(soup.loc, range, "Soup pot should have been placed on the stove.")
click_wrapper(dummy, soup)
TEST_ASSERT_EQUAL(soup.loc, dummy, "Soup pot should have been picked up by the dummy.")