Skip to content

Commit

Permalink
followup
Browse files Browse the repository at this point in the history
  • Loading branch information
MosleyTheMalO committed Sep 7, 2024
1 parent bd1993e commit dd7eba9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modular_splurt/code/datums/elements/holder_micro.dm
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)
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -4481,6 +4481,7 @@
#include "modular_splurt\code\datums\components\storage\concrete\pockets.dm"
#include "modular_splurt\code\datums\elements\crawl_under.dm"
#include "modular_splurt\code\datums\elements\flavor_text.dm"
#include "modular_splurt\code\datums\elements\holder_micro.dm"
#include "modular_splurt\code\datums\elements\mob_holder.dm"
#include "modular_splurt\code\datums\elements\smalltalk.dm"
#include "modular_splurt\code\datums\elements\spooky.dm"
Expand Down

0 comments on commit dd7eba9

Please sign in to comment.