public void TestRandom()
        {
            ObjectNpcLocation.GenerateObject();
            string random = ObjectNpcLocation.GenerateObjectNpcLocation();

            Assert.IsTrue(random == "PersonName3" || random == "LocationName3" || random == "ObjectName4");
        }
Beispiel #2
0
 public Use()
 {
     this.Drama     = 1;
     this.QuestText = new List <string>()
     {
         "Use ", "on ", "to "
     };
     this.Vars = new List <string>()
     {
         ObjectNpcLocation.GenerateObject(), ObjectNpcLocation.GenerateObjectNpcLocation()
     };
 }
Beispiel #3
0
 public Defend()
 {
     this.Drama     = 8;
     this.QuestText = new List <string>()
     {
         "Defend the ", "He/She/It musn't be destroyed"
     };
     this.Vars = new List <string>()
     {
         ObjectNpcLocation.GenerateObjectNpcLocation()
     };
     this.Relationchange.Add(Vars[0], 1.5);
 }