mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
More TGUI Input Conversions
This commit is contained in:
@@ -125,10 +125,10 @@
|
||||
switch(choice)
|
||||
|
||||
if("Design Inside")
|
||||
var/new_flavor = input(nif.human, "Type what the prey sees after being 'caught'. This will be \
|
||||
var/new_flavor = tgui_input_text(nif.human, "Type what the prey sees after being 'caught'. This will be \
|
||||
printed after an intro ending with: \"Around you, you see...\" to the prey. If you already \
|
||||
have prey, this will be printed to them after \"Your surroundings change to...\". Limit 2048 char.", \
|
||||
"VR Environment", html_decode(inside_flavor)) as message
|
||||
"VR Environment", html_decode(inside_flavor), MAX_MESSAGE_LEN*2, TRUE)
|
||||
new_flavor = sanitize(new_flavor, MAX_MESSAGE_LEN*2)
|
||||
inside_flavor = new_flavor
|
||||
nif.notify("Updating VR environment...")
|
||||
|
||||
Reference in New Issue
Block a user