mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
fix spray container interactions with tables (#28789)
This commit is contained in:
@@ -356,3 +356,10 @@
|
||||
player.click_on(target)
|
||||
TEST_ASSERT_ANY_CHATLOG(player, "[player.puppet] drips something into [target.puppet]'s eyes")
|
||||
TEST_ASSERT_NOT_CHATLOG(player, "You cannot directly remove reagents from [target.puppet]")
|
||||
|
||||
/datum/game_test/attack_chain_spray/Run()
|
||||
var/datum/test_puppeteer/player = new(src)
|
||||
var/obj/item/reagent_containers/spray/spray = player.spawn_obj_in_hand(/obj/item/reagent_containers/spray)
|
||||
var/obj/structure/table = player.spawn_obj_nearby(/obj/structure/table)
|
||||
player.click_on(table)
|
||||
TEST_ASSERT(spray in get_turf(table), "spray bottle not placed on table")
|
||||
|
||||
Reference in New Issue
Block a user