TGUIfies some VV actions, replaces the actions dropdown with a searchable one (#95480)

This commit is contained in:
SmArtKar
2026-03-29 21:47:29 -04:00
committed by GitHub
parent 1ee927a447
commit 11fbb59049
20 changed files with 274 additions and 227 deletions
+2 -2
View File
@@ -128,7 +128,7 @@
/obj/narsie/vv_get_dropdown()
. = ..()
VV_DROPDOWN_OPTION("", "---------")
VV_DROPDOWN_OPTION("", "--- /narsie ---")
VV_DROPDOWN_OPTION(VV_HK_BEGIN_NARSIE_ROUNDEND, "Begin Nar'Sie Roundender")
/obj/narsie/vv_do_topic(list/href_list)
@@ -137,7 +137,7 @@
if(!.)
return
if(isnull(usr) || !href_list[VV_HK_BEGIN_NARSIE_ROUNDEND] || !check_rights(R_FUN, show_msg = TRUE))
if(!href_list[VV_HK_BEGIN_NARSIE_ROUNDEND] || !check_rights(R_FUN, show_msg = TRUE))
return
if(tgui_alert(usr, ADMIN_WARNING_MESSAGE, "Begin Nar'Sie Roundender", list("I'm Sure", "Abort")) != "I'm Sure")