[MIRROR] Eigenstasium overdose effect lines now use a strings file [MDB IGNORE] (#13380)

* Eigenstasium overdose effect lines now use a strings file (#66579)

A simple little code improvement that makes eigenstasium lines into a strings file.

Cleans up eigenstasium effect code, and also opens up the possibility to use the new strings file for much more dynamic lines.

* Eigenstasium overdose effect lines now use a strings file

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
This commit is contained in:
SkyratBot
2022-05-06 23:55:31 +01:00
committed by GitHub
co-authored by Y0SH1M4S73R
parent ac88f1fbc6
commit 8545a3a3e1
3 changed files with 43 additions and 37 deletions
+3 -1
View File
@@ -24,7 +24,7 @@
/// Folder directory for strings
#define STRING_DIRECTORY "strings"
// JSON text files found in the tgstation/strings folder
// JSON text files found in the tgstation/strings folder
/// File location for brain damage traumas
#define BRAIN_DAMAGE_FILE "traumas.json"
/// File location for AI ion laws
@@ -55,3 +55,5 @@
#define CLOWN_NONSENSE_FILE "clown_nonsense.json"
/// File location for cult shuttle curse descriptions
#define CULT_SHUTTLE_CURSE "cult_shuttle_curse.json"
/// File location for eigenstasium lines
#define EIGENSTASIUM_FILE "eigenstasium.json"
+1 -36
View File
@@ -391,42 +391,7 @@
do_sparks(5,FALSE,alt_clone)
alt_clone.emote("spin")
owner.emote("spin")
var/static/list/say_phrases = list(
"Bugger me, whats all this then?",
"Sacre bleu! Ou suis-je?!",
"I knew powering the station using a singularity engine would lead to something like this...",
"Wow, I can't believe in your universe Cencomm got rid of cloning.",
"WHAT IS HAPPENING?!",
"YOU'VE CREATED A TIME PARADOX!",
"You trying to steal my job?",
"So that's what I'd look like if I was ugly...",
"So, two alternate universe twins walk into a bar...",
"YOU'VE DOOMED THE TIMELINE!",
"Ruffle a cat once in a while!",
"I'm starting to get why no one wants to hang out with me.",
"Why haven't you gotten around to starting that band?!",
"No!! I was just about to greentext!",
"Kept you waiting huh?",
"Oh god I think I'm ODing I'm seeing a fake version of me.",
"Hey, I remember that phase, glad I grew out of it.",
"Keep going lets see if more of us show up.",
"I bet we can finally take the clown now.",
"LING DISGUISED AS ME!",
"El psy congroo.",
"At long last! My evil twin!",
"Keep going lets see if more of us show up.",
"No! Dark spirits, do not torment me with these visions of my future self! It's horrible!",
"Good. Now that the council is assembled the meeting can begin.",
"Listen! I only have so much time before I'm ripped away. The secret behind the gas giants are...",
"Das ist nicht deutschland. Das ist nicht akzeptabel!!!",
"I've come from the future to warn you about eigenstasium! Oh no! I'm too late!",
"You fool! You took too much eigenstasium! You've doomed us all!",
"Don't trust any bagels you see until next month!",
"What...what's with these teleports? It's like one of my Japanese animes...!",
"Ik stond op het punt om mehki op tafel te zetten, en nu, waar ben ik?",
"Wake the fuck up spaceman we have a gas giant to burn",
"This is one hell of a beepsky smash.",
"Now neither of us will be virgins!")
var/list/say_phrases = strings(EIGENSTASIUM_FILE, "lines")
alt_clone.say(pick(say_phrases))
if(2)
phase_3_cycle = 0 //counter
+39
View File
@@ -0,0 +1,39 @@
{
"lines": [
"Bugger me, whats all this then?",
"Sacre bleu! Ou suis-je?!",
"I knew powering the station using a singularity engine would lead to something like this...",
"Wow, I can't believe in your universe Cencomm got rid of cloning.",
"WHAT IS HAPPENING?!",
"YOU'VE CREATED A TIME PARADOX!",
"You trying to steal my job?",
"So that's what I'd look like if I was ugly...",
"So, two alternate universe twins walk into a bar...",
"YOU'VE DOOMED THE TIMELINE!",
"Ruffle a cat once in a while!",
"I'm starting to get why no one wants to hang out with me.",
"Why haven't you gotten around to starting that band?!",
"No!! I was just about to greentext!",
"Kept you waiting huh?",
"Oh god I think I'm ODing I'm seeing a fake version of me.",
"Hey, I remember that phase, glad I grew out of it.",
"Keep going lets see if more of us show up.",
"I bet we can finally take the clown now.",
"LING DISGUISED AS ME!",
"El psy congroo.",
"At long last! My evil twin!",
"Keep going lets see if more of us show up.",
"No! Dark spirits, do not torment me with these visions of my future self! It's horrible!",
"Good. Now that the council is assembled the meeting can begin.",
"Listen! I only have so much time before I'm ripped away. The secret behind the gas giants are...",
"Das ist nicht deutschland. Das ist nicht akzeptabel!!!",
"I've come from the future to warn you about eigenstasium! Oh no! I'm too late!",
"You fool! You took too much eigenstasium! You've doomed us all!",
"Don't trust any bagels you see until next month!",
"What...what's with these teleports? It's like one of my Japanese animes...!",
"Ik stond op het punt om mehki op tafel te zetten, en nu, waar ben ik?",
"Wake the fuck up spaceman we have a gas giant to burn",
"This is one hell of a beepsky smash.",
"Now neither of us will be virgins!"
]
}