mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
// Allows the usage of old style chat inputs even with TG Say enabled
|
|
/mob/verb/say_verb_old()
|
|
set name = "Say Old"
|
|
set category = "IC.Chat"
|
|
|
|
client?.start_thinking()
|
|
client?.start_typing()
|
|
var/message = tgui_input_text(src, "Speak to people in sight.\nType your message:", "Say")
|
|
client?.stop_thinking()
|
|
|
|
if(message)
|
|
say_verb(message)
|
|
|
|
/mob/verb/me_verb_old()
|
|
set name = "Me Old"
|
|
set category = "IC.Chat"
|
|
set desc = "Emote to nearby people (and your pred/prey)"
|
|
|
|
client?.start_thinking()
|
|
client?.start_typing()
|
|
var/message = tgui_input_text(src, "Emote to people in sight (and your pred/prey).\nType your message:", "Emote", multiline = TRUE)
|
|
client?.stop_thinking()
|
|
|
|
if(message)
|
|
me_verb(message)
|
|
|
|
/mob/verb/whisper_old()
|
|
set name = "Whisper Old"
|
|
set category = "IC.Subtle"
|
|
|
|
var/message = tgui_input_text(src, "Speak to nearby people.\nType your message:", "Whisper")
|
|
|
|
if(message)
|
|
whisper(message)
|
|
|
|
|
|
/mob/verb/me_verb_subtle_old()
|
|
set name = "Subtle Old"
|
|
set category = "IC.Subtle"
|
|
set desc = "Emote to nearby people (and your pred/prey)"
|
|
|
|
var/message = tgui_input_text(src, "Emote to nearby people (and your pred/prey).\nType your message:", "Subtle", multiline = TRUE)
|
|
|
|
if(message)
|
|
me_verb_subtle(message)
|
|
|
|
/mob/verb/me_verb_subtle_custom_old()
|
|
set name = "Subtle (Custom) Old"
|
|
set category = "IC.Subtle"
|
|
set desc = "Emote to nearby people, with ability to choose which specific portion of people you wish to target."
|
|
|
|
var/message = tgui_input_text(src, "Emote to nearby people, with ability to choose which specific portion of people you wish to target.\nType your message:", "Subtle (Custom)", multiline = TRUE)
|
|
|
|
if(message)
|
|
me_verb_subtle_custom(message)
|
|
|
|
/mob/verb/psay_old()
|
|
set name = "Psay Old"
|
|
set category = "IC.Subtle"
|
|
|
|
var/message = tgui_input_text(src, "Talk to people affected by complete absorbed or dominate predator/prey.\nType your message:", "Psay")
|
|
|
|
if(message)
|
|
psay(message)
|
|
|
|
/mob/verb/pme_old()
|
|
set name = "Pme Old"
|
|
set category = "IC.Subtle"
|
|
|
|
var/message = tgui_input_text(src, "Emote to people affected by complete absorbed or dominate predator/prey.\nType your message:", "Pme")
|
|
|
|
if(message)
|
|
pme(message)
|
|
|
|
/mob/living/verb/player_narrate_ch()
|
|
set name = "Narrate (Player) Old"
|
|
set category = "IC.Chat"
|
|
|
|
var/message = tgui_input_text(src, "Narrate an action or event! An alternative to emoting, for when your emote shouldn't start with your name!\nType your message:", "Narrate (Player)")
|
|
|
|
if(message)
|
|
player_narrate(message)
|