Example #1
0
 public Story(Player.Player player, NPCStory npc, string storyName, GameEvents events)
 {
     this.player   = player;
     this.npc      = npc;
     this.name     = storyName;
     this.events   = events;
     this.finished = false;
     this.player.SetStory(storyName);
     this.story  = player.story;
     this.reply  = player.reply;
     this.answer = player.answer;
 }
 public DialogueHolderStory(Player.Player player, InterfaceManager iManager, NPCStory npc)
 {
     this.random   = new System.Random();
     this.player   = player;
     this.iManager = iManager;
     iManager.SetHolder(this);
     this.npc            = npc;
     this.storyDialogue  = new StoryHolder(player, npc);
     this.level          = 0;
     this.specialUsed    = false;
     this.optionsActive  = false;
     this.finishDialogue = new string[] { "Hey, we already talked.", "Yes? We talked already, didn't we?", "You again?", "Oh hello... Again." };
 }
 public StoryHolder(Player.Player player, NPCStory npc)
 {
     random = new System.Random();
     this.dialogueOpener = new string[] { "Hey.", "Hello.", "Greetings.", "Yes?", "Sup." };
 }