mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-11 15:15:32 +01:00
Change chat message boxes to resizable tgui
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
set hidden = 1
|
||||
|
||||
set_typing_indicator(TRUE)
|
||||
var/message = input(usr, "","say (text)") as text
|
||||
var/message = tgui_input_text(usr, "Type your message:", "Say")
|
||||
set_typing_indicator(FALSE)
|
||||
|
||||
if(message)
|
||||
@@ -51,8 +51,25 @@
|
||||
set hidden = 1
|
||||
|
||||
set_typing_indicator(TRUE)
|
||||
var/message = input(usr, "","me (text)") as message //VOREStation Edit
|
||||
var/message = tgui_input_message(usr, "Type your message:", "Emote")
|
||||
set_typing_indicator(FALSE)
|
||||
|
||||
if(message)
|
||||
me_verb(message)
|
||||
|
||||
// No typing indicators here, but this is the file where the wrappers are, so...
|
||||
/mob/verb/whisper_wrapper()
|
||||
set name = ".Whisper"
|
||||
set hidden = 1
|
||||
|
||||
var/message = tgui_input_text(usr, "Type your message:", "Whisper")
|
||||
if(message)
|
||||
whisper(message)
|
||||
|
||||
/mob/verb/subtle_wrapper()
|
||||
set name = ".Subtle"
|
||||
set hidden = 1
|
||||
|
||||
var/message = tgui_input_message(usr, "Type your message:", "Subtle")
|
||||
if(message)
|
||||
me_verb_subtle(message)
|
||||
|
||||
+3
-3
@@ -518,7 +518,7 @@ macro "hotkeymode"
|
||||
command = ".me"
|
||||
elem
|
||||
name = "6"
|
||||
command = "subtle"
|
||||
command = ".Subtle"
|
||||
elem
|
||||
name = "A+REP"
|
||||
command = ".moveleft"
|
||||
@@ -596,10 +596,10 @@ macro "hotkeymode"
|
||||
command = ".northeast"
|
||||
elem
|
||||
name = "Y"
|
||||
command = "whisper"
|
||||
command = ".Whisper"
|
||||
elem
|
||||
name = "CTRL+Y"
|
||||
command = "whisper"
|
||||
command = ".Whisper"
|
||||
elem
|
||||
name = "Z"
|
||||
command = "Activate-Held-Object"
|
||||
|
||||
Reference in New Issue
Block a user