mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-21 11:46:44 +01:00
16 lines
551 B
Plaintext
16 lines
551 B
Plaintext
/obj/item/clothing/head/mob_holder/micro/verb/interact_with()
|
|
set name = "Interact With"
|
|
set desc = "Perform an interaction with someone."
|
|
set category = "IC"
|
|
set src in view(usr.client)
|
|
|
|
var/datum/component/interaction_menu_granter/menu = usr.GetComponent(/datum/component/interaction_menu_granter)
|
|
if(!menu)
|
|
to_chat(usr, span_warning("You must have done something really bad to not have an interaction component."))
|
|
return
|
|
|
|
if(!src)
|
|
to_chat(usr, span_warning("Your interaction target is gone!"))
|
|
return
|
|
menu.open_menu(usr, held_mob)
|