mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user