diff --git a/code/_onclick/hud/ability_screen_objects.dm b/code/_onclick/hud/ability_screen_objects.dm index ebf2e547cdc..4313652d940 100644 --- a/code/_onclick/hud/ability_screen_objects.dm +++ b/code/_onclick/hud/ability_screen_objects.dm @@ -187,10 +187,15 @@ overlays += ability_icon_state -/obj/screen/ability/Click() +/obj/screen/ability/Click(var/location, var/control, var/params) if(!usr) return + var/list/click_params = params2list(params) + if(click_params["shift"]) + examine(usr) + return + activate() /obj/screen/ability/MouseDrop(var/atom/A) @@ -320,6 +325,10 @@ if(my_mob.client) toggle_open(2) //forces the icons to refresh on screen +/obj/screen/ability/obj_based/psionic/examine(mob/user) + to_chat(user, SPAN_NOTICE("This ability is [connected_power.name].")) + to_chat(user, SPAN_NOTICE("[connected_power.desc]")) + /// Technomancer. /obj/screen/ability/obj_based/technomancer icon_state = "wiz_spell_base" diff --git a/code/modules/psionics/interface/ui_hub.dm b/code/modules/psionics/interface/ui_hub.dm index 936caaa796c..fbaba807d21 100644 --- a/code/modules/psionics/interface/ui_hub.dm +++ b/code/modules/psionics/interface/ui_hub.dm @@ -33,10 +33,7 @@ update_icon() /obj/screen/psi/hub/Click(var/location, var/control, var/params) - var/list/click_params = params2list(params) - if(click_params["shift"]) - ui_interact(owner) - return + ui_interact(owner) update_icon() /obj/screen/psi/hub/ui_interact(mob/user, datum/tgui/ui) diff --git a/html/changelogs/mattatlas-kyoushikimurasaki.yml b/html/changelogs/mattatlas-kyoushikimurasaki.yml index 66439242610..9a552149798 100644 --- a/html/changelogs/mattatlas-kyoushikimurasaki.yml +++ b/html/changelogs/mattatlas-kyoushikimurasaki.yml @@ -39,7 +39,8 @@ delete-after: True # Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. changes: - experiment: "Psionics have been reworked to use the Technomancer ability system. This means that you get physical ability objects in your hand to use (in hand, melee, or ranged)." - - rscadd: "Added a psionic point shop. Opened by shift-clicking your psionic hub icon. This is also usable by non-antags, but they can't buy anything: it's still useful to use it to know what your powers do and how to use them!" + - rscadd: "You can shift click psionic abilities at the top to obtain info about them." + - rscadd: "Added a psionic point shop. Opened by clicking your psionic hub icon. This is also usable by non-antags, but they can't buy anything: it's still useful to use it to know what your powers do and how to use them!" - rscadd: "Antagonists get points usable in the psionic point shop. This varies per antag: Loners get 8, borer hosts get 3 (increased by borers with Advance Psionics)." - tweak: "Reworked the Psi ranks. The canon ones are Psionically Sensitive (Skrell), Psionically Harmonious (exceptional Skrell born with better psionic control), Psionic Apex (unknown to everyone, really). There's also an admin-only non-canon Limitless level." - rscadd: "Every 30 minutes, psionics will be pinged in their chat about their emotional state, which can be one from a selection. A few minutes after, the responses will be tallied together and the winning emotion will be broadcasted. Higher psionic rank means higher vote value."