public Take() { this.Drama = 3; this.QuestText = new List <string>() { "Take ", "from " }; this.Vars = new List <string>() { ObjectNpcLocation.GenerateObject(), ObjectNpcLocation.GenerateNpcLocation() }; this.Relationchange.Add(Vars[1], 0.95); }
public GoTo(int depth, int maxDepth) { this.Drama = 2; int random = ObjectNpcLocation.random.Next(3); if (depth == maxDepth) { random = 0; } switch (random) { case 0: this.Vars = null; this.QuestText = new List <string> { "Stay here/there and " }; break; case 1: this.Vars = new List <string>() { ObjectNpcLocation.GenerateNpcLocation() }; this.QuestText = new List <string> { "Wander around and find " }; this.Relationchange.Add(Vars[0], 1.1); break; case 2: depth++; Quest q = new Learn(depth, maxDepth); this.Vars = q.Vars; this.QuestText = q.QuestText; break; } }