forked from Sandstorm-Station/Sandstorm-Station-13
-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd1993e
commit dd7eba9
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters