public static DialogueNode Cutscene02Round5() { DialogueNode start = new DialogueNode("Face", "Final Question: How many people did I kill for this game?", DialogueVoice.Creepy); DialogueNode part02 = new DialogueNode(); start.currentChoices.Add("Uhhh..."); start.Add(part02); start.currentChoices.Add("Are you okay?"); start.nextNodes.Add(part02); List <string> texts = new List <string> { "The answer is: not enough! I need to kill more! MORE!", "Okay, game is over, now I'll tell you how to wake up. It's pretty simple.", "If you die in this dream, you'll wake up.", "I don't believe you. Nothing happens when I jump down the island!", "Yes it's a bit more complicated. You see, this is my personal world.", "I decide who can die and who not. That's why you don't die in here when you jump down the islands.", "Okay. Then go and kill me.", "So there is a small problem with that.", "Huh?", "The problem is that this is your dream and I only exist in this dream. When you die, this dream will end and I will cease to exist.", "...So you don't wanna help me wake up.", "Nope. Sorry dude.", "And what do I do now?", "I don't know. Count sheeps or something.", "I'm off. Bye~!" }; List <string> names = new List <string> { "Face", "Face", "Face", "You", "Face", "Face", "You", "Face", "You", "Face", "You", "Face", "You", "Face", "Face" }; List <DialogueVoice> voices = new List <DialogueVoice> { DialogueVoice.Creepy, DialogueVoice.Creepy, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Creepy }; part02.Add(names, texts, voices); return(start); }
public DialogueNode Add(DialogueNode node) { nextNodes[nextNodes.Count - 1] = node; return(null); }
public static DialogueNode Cutscene02FaceDialogue() { DialogueNode start = new DialogueNode(); DialogueNode explanation = new DialogueNode(); DialogueNode end = new DialogueNode(); List <string> textsStart = new List <string> { "Oh, that face.", "Hello.", "Hello there. I heard you wanna wake up. I can help you with that.", "Sounds good.", "How about a nice little game.", "Nah I'm fine, I just wanna wake up.", "Let's play one little game and if you win, I'll tell you.", "And if I lose?", "If you lose, you can just try again.", "Alright. What's the game?" }; List <string> names = new List <string> { "You", "You", "Face", "You", "Face", "You", "Face", "You", "Face", "You" }; List <DialogueVoice> voices = new List <DialogueVoice> { DialogueVoice.Normal, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal, DialogueVoice.Creepy, DialogueVoice.Normal }; List <string> textsExpl = new List <string> { "The game plays as follows:", "I'll drop random items and ask a simple question about them after that.", "For example: I'll drop 5 apples and 3 bananas and will ask if there were more apples or bananas.", "Did you understand?" }; explanation = start.Add(names, textsStart, voices); end = explanation.Add("Face", textsExpl, DialogueVoice.Creepy); end.currentChoices.Add("No."); end.Add(explanation.nextNodes[0]); end.currentChoices.Add("Yes!"); end.nextNodes.Add(new DialogueNode("Face", "Okay, then I'll start. We'll play 5 Rounds.", DialogueVoice.Creepy)); return(start); }