cannot escape

This commit is contained in:
SandPoot
2021-10-16 14:24:22 -03:00
parent 1561138350
commit 17986fea3f
5 changed files with 7 additions and 7 deletions
@@ -72,9 +72,9 @@
set name = "Run Dynamic Simulations" set name = "Run Dynamic Simulations"
set category = "Debug" set category = "Debug"
var/simulations = input(usr, "Enter number of simulations") as num var/simulations = tgui_input_num(usr, "Enter number of simulations")
var/roundstart_players = input(usr, "Enter number of round start players") as num var/roundstart_players = tgui_input_num(usr, "Enter number of round start players")
var/forced_threat_level = input(usr, "Enter forced threat level, if you want one") as num | null var/forced_threat_level = tgui_input_num(usr, "Enter forced threat level, if you want one")
SSticker.mode = new /datum/game_mode/dynamic SSticker.mode = new /datum/game_mode/dynamic
message_admins("Running dynamic simulations...") message_admins("Running dynamic simulations...")
+1 -1
View File
@@ -107,7 +107,7 @@
if(href_list["edit_range"]) if(href_list["edit_range"])
var/new_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) 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) if(!new_range)
return return
emitter_range = range_list[new_range] emitter_range = range_list[new_range]
+1 -1
View File
@@ -487,7 +487,7 @@
if (temp_pod.soundVolume != initial(temp_pod.soundVolume)) if (temp_pod.soundVolume != initial(temp_pod.soundVolume))
temp_pod.soundVolume = initial(temp_pod.soundVolume) temp_pod.soundVolume = initial(temp_pod.soundVolume)
return 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)) if (isnull(soundInput))
return return
temp_pod.soundVolume = soundInput temp_pod.soundVolume = soundInput
+1 -1
View File
@@ -2971,7 +2971,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/list/color_options = list() var/list/color_options = list()
for(var/i=1, i<=length(G.loadout_initial_colors), i++) for(var/i=1, i<=length(G.loadout_initial_colors), i++)
color_options += "Color [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) if(color_to_change)
var/color_index = text2num(copytext(color_to_change, 7)) var/color_index = text2num(copytext(color_to_change, 7))
var/current_color = user_gear[LOADOUT_COLOR][color_index] var/current_color = user_gear[LOADOUT_COLOR][color_index]
@@ -40,7 +40,7 @@
/obj/item/integrated_electronics/detailer/attack_self(mob/user) /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]) if(!color_list[color_choice])
return return
if(!in_range(src, user)) if(!in_range(src, user))