Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
/obj/item/assault_pod/attack_self(mob/living/user)
|
||||
var/target_area
|
||||
target_area = tgui_input_list(user, "Area to land", "Select a Landing Zone", GLOB.teleportlocs)
|
||||
target_area = input("Area to land", "Select a Landing Zone", target_area) as null|anything in GLOB.teleportlocs
|
||||
if(!target_area)
|
||||
return
|
||||
var/area/picked_area = GLOB.teleportlocs[target_area]
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
L["([L.len]) [nav_beacon.name] locked"] = null
|
||||
|
||||
playsound(console, 'sound/machines/terminal_prompt.ogg', 25, 0)
|
||||
var/selected = tgui_input_list(usr, "Choose location to jump to", "Locations", L)
|
||||
var/selected = input("Choose location to jump to", "Locations", null) as null|anything in L
|
||||
if(QDELETED(src) || QDELETED(target) || !isliving(target))
|
||||
return
|
||||
playsound(src, "terminal_type", 25, 0)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
if(!I.tool_behaviour == TOOL_MULTITOOL)
|
||||
return
|
||||
if(panel_open)
|
||||
var/new_name = "Beacon_[tgui_input_list(user, "Enter the custom name for this beacon", "It be Beacon ..your input..")]"
|
||||
var/new_name = "Beacon_[input("Enter the custom name for this beacon", "It be Beacon ..your input..") as text]"
|
||||
if(new_name && Adjacent(user))
|
||||
name = new_name
|
||||
to_chat(user, "<span class='notice'>You change beacon name to [name].</span>")
|
||||
|
||||
Reference in New Issue
Block a user