diff --git a/code/game/gamemodes/dynamic/dynamic_simulations.dm b/code/game/gamemodes/dynamic/dynamic_simulations.dm index 63da54bece..a7e0a4f582 100644 --- a/code/game/gamemodes/dynamic/dynamic_simulations.dm +++ b/code/game/gamemodes/dynamic/dynamic_simulations.dm @@ -72,9 +72,9 @@ set name = "Run Dynamic Simulations" set category = "Debug" - var/simulations = input(usr, "Enter number of simulations") as num - var/roundstart_players = input(usr, "Enter number of round start players") as num - var/forced_threat_level = input(usr, "Enter forced threat level, if you want one") as num | null + var/simulations = tgui_input_num(usr, "Enter number of simulations") + var/roundstart_players = tgui_input_num(usr, "Enter number of round start players") + var/forced_threat_level = tgui_input_num(usr, "Enter forced threat level, if you want one") SSticker.mode = new /datum/game_mode/dynamic message_admins("Running dynamic simulations...") diff --git a/code/modules/admin/sound_emitter.dm b/code/modules/admin/sound_emitter.dm index 8d4f189fe0..b8ea8d0c0e 100644 --- a/code/modules/admin/sound_emitter.dm +++ b/code/modules/admin/sound_emitter.dm @@ -107,7 +107,7 @@ if(href_list["edit_range"]) var/new_range var/range_list = list("Radius (all mobs within a radius)" = SOUND_EMITTER_RADIUS, "Z-Level (all mobs on the same z)" = SOUND_EMITTER_ZLEVEL, "Global (all players)" = SOUND_EMITTER_GLOBAL) - new_range = input(user, "Choose a new range.", "Sound Emitter") as null|anything in range_list + new_range = tgui_input_list(user, "Choose a new range.", "Sound Emitter", range_list) if(!new_range) return emitter_range = range_list[new_range] diff --git a/code/modules/cargo/centcom_podlauncher.dm b/code/modules/cargo/centcom_podlauncher.dm index d2bb5144fd..f5490d5e85 100644 --- a/code/modules/cargo/centcom_podlauncher.dm +++ b/code/modules/cargo/centcom_podlauncher.dm @@ -487,7 +487,7 @@ if (temp_pod.soundVolume != initial(temp_pod.soundVolume)) temp_pod.soundVolume = initial(temp_pod.soundVolume) return - var/soundInput = input(holder, "Please pick a volume. Default is between 1 and 100 with 50 being average, but pick whatever. I'm a notification, not a cop. If you still cant hear your sound, consider turning on the Quiet effect. It will silence all pod sounds except for the custom admin ones set by the previous three buttons.", "Pick Admin Sound Volume") as null|num + var/soundInput = tgui_input_num(holder, "Please pick a volume. Default is between 1 and 100 with 50 being average, but pick whatever. I'm a notification, not a cop. If you still cant hear your sound, consider turning on the Quiet effect. It will silence all pod sounds except for the custom admin ones set by the previous three buttons.", "Pick Admin Sound Volume") if (isnull(soundInput)) return temp_pod.soundVolume = soundInput diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 18db7598a2..90fd95bdf0 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -2971,7 +2971,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/list/color_options = list() for(var/i=1, i<=length(G.loadout_initial_colors), i++) color_options += "Color [i]" - var/color_to_change = input(user, "Polychromic options", "Recolor [name]") as null|anything in color_options + var/color_to_change = tgui_input_list(user, "Polychromic options", "Recolor [name]", color_options) if(color_to_change) var/color_index = text2num(copytext(color_to_change, 7)) var/current_color = user_gear[LOADOUT_COLOR][color_index] diff --git a/code/modules/integrated_electronics/core/detailer.dm b/code/modules/integrated_electronics/core/detailer.dm index 9720bccfe5..387ec22e94 100644 --- a/code/modules/integrated_electronics/core/detailer.dm +++ b/code/modules/integrated_electronics/core/detailer.dm @@ -40,7 +40,7 @@ /obj/item/integrated_electronics/detailer/attack_self(mob/user) - var/color_choice = input(user, "Select color.", "Assembly Detailer") as null|anything in color_list + var/color_choice = tgui_input_list(user, "Select color.", "Assembly Detailer", color_list) if(!color_list[color_choice]) return if(!in_range(src, user))