Adds TGUI say and TGUI input. (#17471)

* i alone am the honoured one

* THROUGHOUT HEAVEN AND EARTH I ALONE AM THE HONOURED ONE

* hollow point

* nanana

* ssss

* tgsay final touches

* stuff

* tgui inputs

* help

* carpal tunnel syndrome

* ffff

* again and again and again and again

* hehehehe

* dsada

* readd sanitize

* whoops

* dsad

* nah fuck that

* sd

* fix

* ow

* remove prefs for testmerging

* oops

* oops 2

* fix that

* f

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-10-11 23:26:59 +02:00
committed by GitHub
co-authored by Matt Atlas
parent 518c843e00
commit 54dc8a0860
185 changed files with 2203 additions and 632 deletions
+1 -1
View File
@@ -143,7 +143,7 @@
if(action == "toggle_smelting")
var/ore_name = params["toggle_smelting"]
var/choice = input("What setting do you wish to use for processing [ore_name]?") as null|anything in list("Smelting", "Compressing", "Alloying", "Nothing")
var/choice = tgui_input_list(usr, "What setting do you wish to use for processing [ore_name]?", "Processing", list("Smelting", "Compressing", "Alloying", "Nothing"))
if(!choice)
return TRUE
+1 -1
View File
@@ -91,7 +91,7 @@
return
if(href_list["change_stack"])
var/choice = input("What would you like to set the stack amount to?") as null|anything in list(1,5,10,20,50)
var/choice = tgui_input_list(usr, "What would you like to set the stack amount to?", "Stacking", list(1,5,10,20,50))
if(!choice)
return TRUE
machine.stack_amt = choice
+3 -3
View File
@@ -904,7 +904,7 @@ var/list/total_extraction_beacons = list()
return
else
var/A = input(user, "Select a beacon to connect to", "Warp Extraction Pack") in possible_beacons
var/A = tgui_input_list(user, "Select a beacon to connect to.", "Warp Extraction Pack", possible_beacons, beacon)
if(!A)
return
beacon = A
@@ -1192,7 +1192,7 @@ var/list/total_extraction_beacons = list()
busy_sculpting = TRUE
var/choice = input(user, "What would you like to sculpt?", "Sculpting Options") as null|anything in list("Sculpture", "Ladder")
var/choice = tgui_input_list(user, "What would you like to sculpt?", "Sculpting Options", list("Sculpture", "Ladder"))
if(!choice)
busy_sculpting = FALSE
return
@@ -1238,7 +1238,7 @@ var/list/total_extraction_beacons = list()
var/list/choices = list()
for(var/mob/living/M in view(7,user))
choices += M
T = input(user, "Who do you wish to sculpt?", "Sculpt Options") as null|anything in choices
T = tgui_input_list(user, "Who do you wish to sculpt?", "Sculpt Options", choices)
if(!T)
to_chat(user, SPAN_NOTICE("You decide against sculpting for now."))
return FALSE