mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-27 15:06:35 +01:00
Voreupdate
This commit is contained in:
@@ -862,7 +862,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
|
||||
var/view = src.view
|
||||
if(view == world.view)
|
||||
view = tgui_input_list(usr, "Select view range:", "FUCK YE", 7, list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128))
|
||||
view = tgui_input_list(usr, "Select view range:", "FUCK YE", list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128))
|
||||
else
|
||||
view = world.view
|
||||
mob.set_viewsize(view)
|
||||
|
||||
@@ -98,7 +98,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
L += var_value
|
||||
|
||||
if(IS_VALID_ASSOC_KEY(var_value))
|
||||
switch(tgui_alert(usr, "Would you like to associate a value with the list entry?","List VV","Yes","No"))
|
||||
switch(tgui_alert(usr, "Would you like to associate a value with the list entry?","List VV",list("Yes","No")))
|
||||
if("Yes")
|
||||
L[var_value] = mod_list_add_ass(O) //hehe
|
||||
if (O)
|
||||
@@ -117,7 +117,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
return
|
||||
|
||||
if(L.len > 1000)
|
||||
var/confirm = tgui_alert(src, "The list you're trying to edit is very long, continuing may crash the server.", "Warning", "Continue", "Abort")
|
||||
var/confirm = tgui_alert(src, "The list you're trying to edit is very long, continuing may crash the server.", "Long List!", list("Warning", "Continue", "Abort"))
|
||||
if(confirm != "Continue")
|
||||
return
|
||||
|
||||
@@ -181,7 +181,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
return
|
||||
var/assoc = 0
|
||||
if(IS_VALID_ASSOC_KEY(L[index]))
|
||||
var/prompt = tgui_alert(src, "Do you want to edit the key or its assigned value?", "Associated List", "Key", "Assigned Value", "Cancel")
|
||||
var/prompt = tgui_alert(src, "Do you want to edit the key or its assigned value?", "Associated List", list("Key", "Assigned Value", "Cancel"))
|
||||
if (prompt == "Cancel")
|
||||
return
|
||||
if (prompt == "Assigned Value")
|
||||
|
||||
Reference in New Issue
Block a user