Screentips for sm shard (#83119)

## About The Pull Request
Adds screen tips for anchoring sm shard
## Why It's Good For The Game
I worry each time I go to click this thing
## Changelog
🆑
fix: Supermatter shards now have screentips with a wrench in hand
/🆑
This commit is contained in:
Jeremiah
2024-05-08 19:24:58 -06:00
committed by GitHub
parent 98514ed698
commit ba6019dfe2
@@ -21,6 +21,21 @@
layer = ABOVE_MOB_LAYER
moveable = TRUE
/obj/machinery/power/supermatter_crystal/shard/Initialize(mapload)
. = ..()
register_context()
/obj/machinery/power/supermatter_crystal/shard/add_context(atom/source, list/context, obj/item/held_item, mob/user)
. = ..()
if(held_item?.tool_behaviour == TOOL_WRENCH)
context[SCREENTIP_CONTEXT_LMB] = anchored ? "Unanchor" : "Anchor"
return CONTEXTUAL_SCREENTIP_SET
/// Shard SM with it's processing disabled.
/obj/machinery/power/supermatter_crystal/shard/hugbox
name = "anchored supermatter shard"