fix pill and patch activate in-hand (#28767)

This commit is contained in:
warriorstar-orion
2025-03-22 07:19:23 +00:00
committed by GitHub
parent 2429fa5674
commit 1c8dc2b5aa
3 changed files with 15 additions and 0 deletions
@@ -204,6 +204,9 @@
pill = player.spawn_obj_in_hand(/obj/item/reagent_containers/pill/salicylic)
player.click_on(beaker)
TEST_ASSERT_LAST_CHATLOG(player, "You dissolve [pill] in [beaker].")
pill = player.spawn_obj_in_hand(/obj/item/reagent_containers/pill/salicylic)
player.use_item_in_hand()
TEST_ASSERT_LAST_CHATLOG(player, "You swallow [pill].")
// Patches
var/obj/item/reagent_containers/patch/patch = player.spawn_obj_in_hand(/obj/item/reagent_containers/patch/silver_sulf)