mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
TG's Got the Pop Factor: The Singing Update (#49063)
* Sing a lovely song * minor changes, ~ to %, and removal of specific logging * 512 support don't trust byond * oops
This commit is contained in:
@@ -366,6 +366,7 @@ em {font-style: normal; font-weight: bold;}
|
||||
.greentext {color: #059223; font-size: 185%;}
|
||||
.redtext {color: #c51e1e; font-size: 185%;}
|
||||
.clown {color: #ff70c1; font-size: 160%; font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;}
|
||||
.singing {font-family: "Trebuchet MS", cursive, sans-serif; font-style: italic;}
|
||||
.his_grace {color: #15D512; font-family: "Courier New", cursive, sans-serif; font-style: italic;}
|
||||
.hypnophrase {color: #202020; font-weight: bold; animation: hypnocolor 1500ms infinite; animation-direction: alternate;}
|
||||
@keyframes hypnocolor {
|
||||
|
||||
@@ -364,6 +364,7 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.greentext {color: #00FF00; font-size: 185%;}
|
||||
.redtext {color: #FF0000; font-size: 185%;}
|
||||
.clown {color: #FF69Bf; font-size: 160%; font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;}
|
||||
.singing {font-family: "Trebuchet MS", cursive, sans-serif; font-style: italic;}
|
||||
.his_grace {color: #15D512; font-family: "Courier New", cursive, sans-serif; font-style: italic;}
|
||||
.hypnophrase {color: #0d0d0d; font-weight: bold; animation: hypnocolor 1500ms infinite; animation-direction: alternate;}
|
||||
@keyframes hypnocolor {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
ask_verb = "mumbles"
|
||||
whisper_verb = "mutters"
|
||||
exclaim_verb = "screams incoherently"
|
||||
sing_verb = "gibbers"
|
||||
flags = LANGUAGE_HIDE_ICON_IF_NOT_UNDERSTOOD
|
||||
key = "i"
|
||||
syllables = list("m","n","gh","h","l","s","r","a","e","i","o","u")
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "mumbles"
|
||||
ask_verb = "grills"
|
||||
exclaim_verb = "hollers"
|
||||
sing_verb = "parties"
|
||||
key = "u"
|
||||
space_chance = 85
|
||||
default_priority = 90
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "buzzes"
|
||||
ask_verb = "buzzes"
|
||||
exclaim_verb = "loudly buzzes"
|
||||
sing_verb = "hums"
|
||||
key = "z"
|
||||
space_chance = 0
|
||||
syllables = list(
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
ask_verb = "queries"
|
||||
exclaim_verb = "screeches"
|
||||
whisper_verb = "clicks"
|
||||
sing_verb = "chimes"
|
||||
key = "b"
|
||||
space_chance = 10
|
||||
syllables = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
desc = "The common galactic tongue."
|
||||
speech_verb = "says"
|
||||
whisper_verb = "whispers"
|
||||
sing_verb = "sings"
|
||||
key = "0"
|
||||
flags = TONGUELESS_SPEECH | LANGUAGE_HIDE_ICON_IF_UNDERSTOOD
|
||||
default_priority = 100
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "hisses"
|
||||
ask_verb = "hisses"
|
||||
exclaim_verb = "roars"
|
||||
sing_verb = "sings"
|
||||
key = "o"
|
||||
flags = TONGUELESS_SPEECH
|
||||
space_chance = 40
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "chitters"
|
||||
ask_verb = "chitters inquisitively"
|
||||
exclaim_verb = "chitters loudly"
|
||||
sing_verb = "chimes"
|
||||
spans = list(SPAN_ROBOT)
|
||||
key = "d"
|
||||
flags = NO_STUTTER
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
var/ask_verb = "asks" // Used when sentence ends in a ?
|
||||
var/exclaim_verb = "exclaims" // Used when sentence ends in a !
|
||||
var/whisper_verb = "whispers" // Optional. When not specified speech_verb + quietly/softly is used instead.
|
||||
var/sing_verb = "sings" // Used for singing.
|
||||
var/list/signlang_verb = list("signs", "gestures") // list of emotes that might be displayed if this language has NONVERBAL or SIGNLANG flags
|
||||
var/key // Character used to speak in language
|
||||
// If key is null, then the language isn't real or learnable.
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "whistles"
|
||||
ask_verb = "chirps"
|
||||
exclaim_verb = "whistles loudly"
|
||||
sing_verb = "whistles melodically"
|
||||
spans = list(SPAN_ROBOT)
|
||||
key = "6"
|
||||
flags = NO_STUTTER
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "flutters"
|
||||
ask_verb = "flits"
|
||||
exclaim_verb = "flaps"
|
||||
sing_verb = "hums"
|
||||
key = "m"
|
||||
space_chance = 10
|
||||
syllables = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "chimpers"
|
||||
ask_verb = "chimpers"
|
||||
exclaim_verb = "screeches"
|
||||
sing_verb = "chimpers tunefully"
|
||||
key = "1"
|
||||
space_chance = 100
|
||||
syllables = list("oop", "aak", "chee", "eek")
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
ask_verb = "puffs inquisitively"
|
||||
exclaim_verb = "poofs loudly"
|
||||
whisper_verb = "puffs quietly"
|
||||
sing_verb = "puffs musically"
|
||||
key = "y"
|
||||
sentence_chance = 0
|
||||
default_priority = 80
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "intones"
|
||||
ask_verb = "inquires"
|
||||
exclaim_verb = "invokes"
|
||||
sing_verb = "intones"
|
||||
key = "n"
|
||||
sentence_chance = 8
|
||||
space_chance = 95 //very high due to the potential length of each syllable
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "says"
|
||||
ask_verb = "asks"
|
||||
exclaim_verb = "exclaims"
|
||||
sing_verb = "shanties"
|
||||
key = "p"
|
||||
space_chance = 100
|
||||
default_priority = 90
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
speech_verb = "growls"
|
||||
ask_verb = "growls"
|
||||
exclaim_verb = "roars"
|
||||
sing_verb = "chants"
|
||||
key = "x"
|
||||
space_chance = 50
|
||||
syllables = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "warbles"
|
||||
ask_verb = "warbles"
|
||||
exclaim_verb = "warbles"
|
||||
sing_verb = "warbles"
|
||||
key = "k"
|
||||
syllables = list("qr","qrr","xuq","qil","quum","xuqm","vol","xrim","zaoo","qu-uu","qix","qoo","zix","*","!")
|
||||
default_priority = 70
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "tones"
|
||||
ask_verb = "tones inquisitively"
|
||||
exclaim_verb = "tones loudly"
|
||||
sing_verb = "tones"
|
||||
spans = list(SPAN_ROBOT)
|
||||
key = "s"
|
||||
flags = NO_STUTTER
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
speech_verb = "expresses"
|
||||
ask_verb = "inquires"
|
||||
exclaim_verb = "declares"
|
||||
sing_verb = "serenades"
|
||||
key = "h"
|
||||
space_chance = 20
|
||||
syllables = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "rumbles"
|
||||
ask_verb = "questions"
|
||||
exclaim_verb = "tremors"
|
||||
sing_verb = "yodels"
|
||||
key = "g"
|
||||
space_chance = 40
|
||||
syllables = list(
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
speech_verb = "crackles"
|
||||
ask_verb = "pops"
|
||||
exclaim_verb = "thunders"
|
||||
sing_verb = "synthesizes"
|
||||
key = "v"
|
||||
space_chance = 20
|
||||
syllables = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
speech_verb = "hisses"
|
||||
ask_verb = "hisses"
|
||||
exclaim_verb = "hisses"
|
||||
sing_verb = "hisses musically"
|
||||
key = "4"
|
||||
syllables = list("sss","sSs","SSS")
|
||||
default_priority = 50
|
||||
|
||||
@@ -86,7 +86,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
|
||||
var/static/list/unconscious_allowed_modes = list(MODE_CHANGELING = TRUE, MODE_ALIEN = TRUE)
|
||||
var/talk_key = get_key(message)
|
||||
|
||||
var/static/list/one_character_prefix = list(MODE_HEADSET = TRUE, MODE_ROBOT = TRUE, MODE_WHISPER = TRUE)
|
||||
var/static/list/one_character_prefix = list(MODE_HEADSET = TRUE, MODE_ROBOT = TRUE, MODE_WHISPER = TRUE, MODE_SING = TRUE)
|
||||
|
||||
var/ic_blocked = FALSE
|
||||
if(client && !forced && CHAT_FILTER_CHECK(message))
|
||||
@@ -196,6 +196,15 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
|
||||
if(language)
|
||||
var/datum/language/L = GLOB.language_datum_instances[language]
|
||||
spans |= L.spans
|
||||
|
||||
if(message_mode == MODE_SING)
|
||||
#if DM_VERSION < 513
|
||||
var/randomnote = "~"
|
||||
#else
|
||||
var/randomnote = pick("\u2669", "\u266A", "\u266B")
|
||||
#endif
|
||||
spans |= SPAN_SINGING
|
||||
message = "[randomnote] [message] [randomnote]"
|
||||
|
||||
var/radio_return = radio(message, message_mode, spans, language)
|
||||
if(radio_return & ITALICS)
|
||||
@@ -395,6 +404,8 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
|
||||
. = "stammers"
|
||||
else if(derpspeech)
|
||||
. = "gibbers"
|
||||
else if(message_mode == MODE_SING)
|
||||
. = verb_sing
|
||||
else
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -101,6 +101,7 @@
|
||||
*
|
||||
* Result can be
|
||||
* * MODE_WHISPER (Quiet speech)
|
||||
* * MODE_SING (Singing)
|
||||
* * MODE_HEADSET (Common radio channel)
|
||||
* * A department radio (lots of values here)
|
||||
*/
|
||||
@@ -108,6 +109,8 @@
|
||||
var/key = message[1]
|
||||
if(key == "#")
|
||||
return MODE_WHISPER
|
||||
else if(key == "%")
|
||||
return MODE_SING
|
||||
else if(key == ";")
|
||||
return MODE_HEADSET
|
||||
else if((length(message) > (length(key) + 1)) && (key in GLOB.department_radio_prefixes))
|
||||
|
||||
Reference in New Issue
Block a user