SHARE
TWEET

Untitled

a guest Sep 13th, 2017 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def getGenericCityName():
  2.     constbeginlist = ["b","b","b","b","bh","bj","bl","br","c","c","c","c","ch","chr","cl","cr","cz","d","d","d","d","dh","dr","f","f","f","f","fh","fl","fr","g","g","g","g","gh","gl","gr","h","h","h","h","j","k","k","k","k","kl","kn","kr","l","l","l","l","m","m","m","m","n","n","n","n","p","p","p","p","ph","pl","pr","ps","q","r","r","r","r","rh","s","s","s","s","sc","scr","sh","shr","sk","skr","sl","sm","sn","sp","st","str","sv","sw","t","t","t","t","th","thr","tr","v","vh","vl","vr","w","wh","wr","x","z","zh","zr"]
  3.     constbeginmildlist = ["b","bl","br","c","ch","chr","cl","cr","d","dr","f","fl","fr","g","gl","gr","h","j","k","kl","kr","l","m","n","p","pl","pr","r","s","sc","scr","sh","shr","sl","sm","sn","sp","st","str","sw","t","tr","v","w","wr","x","z"]
  4.     constbegintypetwolist = ["b","b","b","b","bh","bj","c","c","c","c","ch","cz","d","d","d","d","dh","f","f","f","f","fh","g","g","g","g","gh","h","h","h","h","j","k","k","k","k","kn","k","l","l","l","l","m","m","m","m","n","n","n","n","p","p","p","p","ph","ps","q","s","s","s","s","sc","sh","sk","sm","sn","sp","st","sv","sw","t","t","t","t","th","v","vh","w","wh","x","z","zh"]
  5.     constcaplist = ["B","B","Br","Br","Bj","Bl","Bl","C","C","Ch","Ch","Chr","Chr","Cl","Cl","Cr","Cr","Cz","D","D","Dr","Dr","F","F","Fr","Fr","Fl","Fl","G","G","Gh","Gh","Gr","Gr","H","H","J","J","K","K","Kh","Kl","Kl","Kn","Kn","Kr","Kr","L","L","M","M","N","N","P","P","Ph","Ph","Pr","Pr","Q","R","R","Rh","S","S","Sc","Sc","Scr","Scr","Sh","Sh","Shr","Shr","Sl","Sl","Sm","Sm","Sn","Sn","Sp","Sp","Spr","Spr","St","St","Str","Str","Sw","Sw","T","T","Th","Th","Thr","Thr","V","V","Vl","W","W","Wh","Wh","Wr","Wr","X","Z","Z","Zr"]
  6.     constcaptypetwolist = ["B","B","Bj","C","C","Ch","Ch","Cz","D","D","F","F","G","G","Gh","Gh","H","H","J","J","K","K","Kh","Kn","Kn","L","L","M","M","N","N","P","P","Ph","Ph","Q","R","R","Rh","S","S","Sc","Sc","Sh","Sh","Sm","Sm","Sn","Sn","Sp","Sp","St","St","Sw","Sw","T","T","Th","Th","V","V","W","W","Wh","Wh","X","Z","Z"]
  7.     constconnectlist = ["b","b","b","b","b","b","b","b","bb","bl","br","c","c","c","c","c","c","c","c","cc","ch","cl","cr","d","d","d","d","d","d","d","d","dd","dr","f","f","f","f","f","f","f","f","ff","fr","g","g","g","g","g","g","g","g","gg","gr","h","h","h","h","h","h","h","h","j","k","k","k","k","k","k","k","k","kk","kr","l","l","l","l","l","l","l","l","ll","ld","lh","m","m","m","m","m","m","m","m","mm","n","n","n","n","n","n","n","n","nn","nr","p","p","p","p","p","p","p","p","pp","pr","r","r","r","r","r","r","r","r","rr","rb","rc","rd","rf","rg","rk","rl","rm","rn","rp","rs","rt","rv","rz","s","s","s","s","s","s","s","s","ss","sh","sr","t","t","t","t","t","t","t","t","tt","th","tr","v","vr","w","x","z","zr"]
  8.     constconnecttypetwolist = ["b","b","b","b","b","b","b","b","bb","c","c","c","c","c","c","c","c","cc","d","d","d","d","d","d","d","d","dd","f","f","f","f","f","f","f","f","ff","g","g","g","g","g","g","g","g","gg","h","h","h","h","h","h","h","h","j","k","k","k","k","k","k","k","k","kk","l","l","l","l","l","l","l","l","ll","m","m","m","m","m","m","m","m","mm","n","n","n","n","n","n","n","n","nn","nt","p","p","p","p","p","p","p","p","pp","r","r","r","r","r","r","r","r","rr","s","s","s","s","s","s","s","s","ss","sh","t","t","t","t","t","t","t","t","tt","th","v","w","x","z"]
  9.     constendlist = ["b","b","b","b","c","c","c","c","ch","ck","d","d","d","d","f","g","g","g","g","gg","gh","ght","h","h","h","h","j","k","k","k","k","l","l","l","l","ll","ld","ln","m","m","m","m","n","n","n","n","nn","ng","ngth","ns","nt","p","p","p","p","ph","q","r","r","r","r","rr","rb","rc","rch","rd","rf","rg","rgh","rk","rl","rm","rn","rp","rs","rst","rsh","rt","rth","rv","rz","s","s","s","s","ss","sh","st","t","t","t","t","th","ts","tt","v","vl","w","x","z"]
  10.     constendconnectlist = ["b","b","b","b","c","c","c","c","ck","d","d","d","d","f","g","g","g","g","h","h","h","h","k","k","k","k","l","l","l","l","ll","ld","ln","m","m","m","m","n","n","n","n","ng","ng","ng","ng","ns","p","p","p","p","q","r","r","r","r","rc","rf","rg","rk","rm","rn","rp","rs","rz","s","s","s","s","ss","t","t","t","t","v","w","x","z"]
  11.     constendmildlist = ["b","c","ck","d","f","g","h","k","l","ld","m","n","ng","nt","p","ph","r","rb","rc","rd","rg","rk","rl","rm","rn","rp","rs","rt","rth","s","sh","st","t","th","v","w","x","z"]
  12.     constendmildtypetwolist = ["b","c","ck","d","f","g","h","k","l","ld","m","n","ng","nt","p","ph","s","sh","st","t","th","v","w","x","z"]
  13.     constendtypetwolist = ["b","b","b","b","c","c","c","c","ch","ck","d","d","d","d","f","f","f","f","g","g","g","g","gh","ght","h","h","h","h","j","k","k","k","k","l","l","l","l","ll","m","m","m","m","n","n","n","n","nn","ng","ngth","ns","nt","p","p","p","p","ph","q","r","r","r","r","s","s","s","s","ss","sh","st","t","t","t","t","th","ts","tt","v","w","x","z"]
  14.     prefixlist = ["","","","","","","","","","","","","","","","","","","","","El ","Al ","Los ","Las ","St "]
  15.     suffixlist = ["um","olis","ium","iem","us","an","a","ae","e","eo","i","ia","o","u","y","ay"]
  16.     suffixtypetwolist = ["","","","","","","","","ville","burgh","burg","burg","ton","ton","town","borough","hill","mont","mont"]
  17.     vowellist = ["a","a","a","a","a","a","a","a","a","a","a","a","a","a","a","a","e","e","e","e","e","e","e","e","e","e","e","e","e","e","e","e","i","i","i","i","i","i","i","i","i","i","i","i","i","i","i","i","o","o","o","o","o","o","o","o","o","o","o","o","o","o","o","o","u","u","u","u","u","u","u","u","u","y","ae","ai","au","ay","ea","ee","ei","eo","eu","ey","ia","ie","io","iu","oa","oe","oi","oo","ou","oy","ua","ue","uo","yo"]
  18.     vowelbasiclist = ["a","e","i","o","u"]
  19.     vowelcaplist = ["A","A","A","A","A","A","A","A","E","E","E","E","E","E","E","E","I","I","I","I","I","I","I","I","O","O","O","O","O","O","O","O","U","U","U","U","Y","Ai","Au","Ea","Ei","Eu","Ia","Ie","Io","Oa","Oi","Ou","Ya","Ye","Yi","Yo","Yu"]
  20.  
  21.     constbegin = constbeginlist[gc.getGame().getMapRand().get(len(constbeginlist), "Random Name")]
  22.     constbeginmild = constbeginmildlist[gc.getGame().getMapRand().get(len(constbeginmildlist), "Random Name")]
  23.     constbegintypetwo = constbegintypetwolist[gc.getGame().getMapRand().get(len(constbegintypetwolist), "Random Name")]
  24.     constcap = constcaplist[gc.getGame().getMapRand().get(len(constcaplist), "Random Name")]
  25.     constcaptypetwo = constcaptypetwolist[gc.getGame().getMapRand().get(len(constcaptypetwolist), "Random Name")]
  26.     constconnect = constconnectlist[gc.getGame().getMapRand().get(len(constconnectlist), "Random Name")]
  27.     constconnecttypetwo = constconnecttypetwolist[gc.getGame().getMapRand().get(len(constconnecttypetwolist), "Random Name")]
  28.     constend = constendlist[gc.getGame().getMapRand().get(len(constendlist), "Random Name")]
  29.     constendconnect = constendconnectlist[gc.getGame().getMapRand().get(len(constendconnectlist), "Random Name")]
  30.     constendmild = constendmildlist[gc.getGame().getMapRand().get(len(constendmildlist), "Random Name")]
  31.     constendmildtypetwo = constendmildtypetwolist[gc.getGame().getMapRand().get(len(constendmildtypetwolist), "Random Name")]
  32.     constendtypetwo = constendtypetwolist[gc.getGame().getMapRand().get(len(constendtypetwolist), "Random Name")]
  33.     prefix = prefixlist[gc.getGame().getMapRand().get(len(prefixlist), "Random Name")]
  34.     suffix = suffixlist[gc.getGame().getMapRand().get(len(suffixlist), "Random Name")]
  35.     suffixtypetwo = suffixtypetwolist[gc.getGame().getMapRand().get(len(suffixtypetwolist), "Random Name")]
  36.     vowela = vowellist[gc.getGame().getMapRand().get(len(vowellist), "Random Name")]
  37.     vowelb = vowellist[gc.getGame().getMapRand().get(len(vowellist), "Random Name")]
  38.     vowelbasica = vowelbasiclist[gc.getGame().getMapRand().get(len(vowelbasiclist), "Random Name")]
  39.     vowelbasicb = vowelbasiclist[gc.getGame().getMapRand().get(len(vowelbasiclist), "Random Name")]
  40.     vowelbasicc = vowelbasiclist[gc.getGame().getMapRand().get(len(vowelbasiclist), "Random Name")]
  41.     vowelcap = vowelcaplist[gc.getGame().getMapRand().get(len(vowelcaplist), "Random Name")]
  42.  
  43.     Nametypea = prefix + constcaptypetwo + vowelbasica + constconnect + vowelbasicb + constconnecttypetwo + vowelbasicc
  44.     Nametypeb = constcap + vowelbasica + constconnecttypetwo + vowelbasicb + constconnect + vowelbasicc + constendtypetwo
  45.     Nametypec = constcap + vowelbasica + constconnecttypetwo + vowelbasicb + constconnect + vowelbasicc + constendtypetwo + suffix
  46.     Nametyped = constcap + vowelbasica + constconnecttypetwo + vowelbasicb + constconnect + suffix
  47.     Nametypee = vowelcap + constend
  48.     Nametypef = constcap + vowela + constendtypetwo
  49.     Nametypeg = constcaptypetwo + vowela + constend
  50.     Nametypeh = constcap + vowela + constendtypetwo + suffix
  51.     Nametypei = constcaptypetwo + vowela + constendmild + constbeginmild + vowelb + constendtypetwo
  52.     Nametypej = constcap + vowela + constendmildtypetwo + constbeginmild + vowelb + constendtypetwo
  53.     Nametypek = constcap + vowela + constconnecttypetwo  + vowelb
  54.     Nametypel = constcaptypetwo + vowela + constconnect + vowela
  55.     Nametypem = vowelcap + constbegin + vowela + constendtypetwo
  56.     Nametypen = vowelcap + constbegintypetwo + vowela + constend
  57.     Nametypeo = vowelcap + constconnect + vowelbasica + constendtypetwo + suffix
  58.     Nametypep = vowelcap + constconnect + vowelbasica + constconnecttypetwo + vowelbasica
  59.     Nametypeq = constcap + vowelbasica + constconnecttypetwo + vowelbasicb + constendconnect + suffixtypetwo
  60.     Nametyper = constcap + vowelbasica + constendconnect + suffixtypetwo
  61.     Nametypes = vowelcap + constconnect + vowelbasica + constendconnect + suffixtypetwo
  62.     Nametypet = prefix + constcap + vowela + constendtypetwo
  63.     Nametypeu = prefix + vowelcap + constbegintypetwo + vowela + constend
  64.     Nametypev = constcap + vowela + constendtypetwo + " " + constcaptypetwo + vowelb + constend
  65.     Nametypew = constcap + vowela
  66.  
  67.     Mastername = [Nametypea,Nametypea,Nametypeb,Nametypeb,Nametypec,Nametypec,Nametyped,Nametyped,Nametypee,Nametypef,Nametypef,Nametypeg,Nametypeg,Nametypeh,Nametypeh,Nametypei,Nametypei,Nametypej,Nametypej,Nametypek,Nametypek,Nametypel,Nametypel,Nametypem,Nametypem,Nametypen,Nametypen,Nametypeo,Nametypeo,Nametypep,Nametypep,Nametypeq,Nametypeq,Nametyper,Nametyper,Nametypes,Nametypes,Nametypet,Nametypet,Nametypeu,Nametypeu,Nametypev,Nametypev,Nametypew]
  68.  
  69.     CityName = Mastername[gc.getGame().getMapRand().get(len(Mastername), "Random CityName")]
  70.  
  71.     return CityName
RAW Paste Data
Top