There's a bounty for this right? i spent nearly two full days at this

This commit is contained in:
SandPoot
2021-10-05 18:10:32 -03:00
parent 59f33198f1
commit 5aa12b4716
270 changed files with 770 additions and 779 deletions
+2 -2
View File
@@ -84,7 +84,7 @@
if("grant_language")
if((is_admin || isobserver(AM)) && language_datum)
var/list/choices = list("Only Spoken", "Only Understood", "Both")
var/choice = input(user,"How do you want to add this language?","[language_datum]",null) as null|anything in choices
var/choice = tgui_input_list(user,"How do you want to add this language?","[language_datum]", choices)
var/spoken = FALSE
var/understood = FALSE
switch(choice)
@@ -103,7 +103,7 @@
if("remove_language")
if((is_admin || isobserver(AM)) && language_datum)
var/list/choices = list("Only Spoken", "Only Understood", "Both")
var/choice = input(user,"Which part do you wish to remove?","[language_datum]",null) as null|anything in choices
var/choice = tgui_input_list(user,"Which part do you wish to remove?","[language_datum]", choices)
var/spoken = FALSE
var/understood = FALSE
switch(choice)