mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
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 /🆑
This commit is contained in:
@@ -253,6 +253,7 @@
|
||||
#include "quirks.dm"
|
||||
#include "range_return.dm"
|
||||
#include "rcd.dm"
|
||||
#include "reachable_soup.dm"
|
||||
#include "reagent_container_defaults.dm"
|
||||
#include "reagent_id_typos.dm"
|
||||
#include "reagent_mob_expose.dm"
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/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.")
|
||||
Reference in New Issue
Block a user