Input Patches

This commit is contained in:
Casey
2022-06-29 02:00:16 -04:00
committed by CHOMPStation2
parent e2227297a5
commit b66a47e086
11 changed files with 26 additions and 20 deletions

View File

@@ -128,7 +128,7 @@
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), MAX_MESSAGE_LEN*2, TRUE)
"VR Environment", html_decode(inside_flavor), MAX_MESSAGE_LEN*2, TRUE, prevent_enter = TRUE)
new_flavor = sanitize(new_flavor, MAX_MESSAGE_LEN*2)
inside_flavor = new_flavor
nif.notify("Updating VR environment...")
@@ -503,7 +503,7 @@
set name = "NMe"
set desc = "Emote into your NIF's Soulcatcher."
set category = "IC"
src.nme_act(message)
/mob/proc/nme_act(message as text|null)