Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -110,7 +110,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
|
||||
set name = "Camera Report"
|
||||
|
||||
if(!Master)
|
||||
tgui_alert(usr, "Master_controller not found.","Sec Camera Report")
|
||||
alert(usr,"Master_controller not found.","Sec Camera Report")
|
||||
return 0
|
||||
|
||||
var/list/obj/machinery/camera/CL = list()
|
||||
@@ -219,7 +219,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
|
||||
/client/proc/count_objects_on_z_level()
|
||||
set category = "Mapping"
|
||||
set name = "Count Objects On Level"
|
||||
var/level = tgui_input_text(src, "Which z-level?","Level?")
|
||||
var/level = input("Which z-level?","Level?") as text
|
||||
if(!level)
|
||||
return
|
||||
var/num_level = text2num(level)
|
||||
@@ -228,7 +228,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
|
||||
if(!isnum(num_level))
|
||||
return
|
||||
|
||||
var/type_text = tgui_input_text(src, "Which type path?","Path?")
|
||||
var/type_text = input("Which type path?","Path?") as text
|
||||
if(!type_text)
|
||||
return
|
||||
var/type_path = text2path(type_text)
|
||||
@@ -259,7 +259,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
|
||||
set category = "Mapping"
|
||||
set name = "Count Objects All"
|
||||
|
||||
var/type_text = tgui_input_text(src, "Which type path?","")
|
||||
var/type_text = input("Which type path?","") as text
|
||||
if(!type_text)
|
||||
return
|
||||
var/type_path = text2path(type_text)
|
||||
|
||||
Reference in New Issue
Block a user