Exemple #1
0
 public static string getCityName()
 {
     for (int t = 0; t < 100; t++)
     {
         string reply = model.capFirst(model.getWord());
         if (verboten.Contains(reply))
         {
             //World.Log("Caught verboten word: " + reply);
             continue;
         }
         if (usedCityNames.Contains(reply))
         {
             continue;
         }
         usedCityNames.Add(reply);
         return(reply);
     }
     return(model.capFirst(model.getWord()));
 }
Exemple #2
0
 public static string getName(bool male)
 {
     for (int i = 0; i < 100; i++)
     {
         string word = amerimodel.capFirst(amerimodel.getWord());
         if (verboten.Contains(word))
         {
             continue;
         }
         return(word);
     }
     return("Alhazred");
 }