Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace VoidwalkerEngine.Framework.Algorithms
- {
- public partial class LootGenerator
- {
- public static string[] _allEpicNames = new string[]
- {
- "Voh","Mur","Val","Rai","Kai","Sol","Zol","Tal","Tir","Tyr","Zod","El",
- "Lok","Ith","Kar","Kol","Wyr","Thon","Nax","Nak","Dag","Kal","Gan","Ort",
- "Nef","Mal","Ur","Iza","Ual","Zul","Zon","Asha","Lum","Inos","Kyn","Deth",
- "Ohn","Lof","Wyn","Zor","Zin","Eon","Sur","Sai","Syn","Rok","Tor","Vex",
- "Hex","Ruuk","Quel","Erth","Yol","Ahrk","Alun","Drim","Nok","Nix","Ald",
- "Ruhn","Orth","Orst","Wey","Non", "Hal", "Rey", "Oros", "Urd", "Maka",
- "Orph", "Asca", "Velo", "Thi", "Bal", "Orb", "Ala","Bish", "Bosh", "Ius",
- "Ial", "Lana", "Eck", "Quar","Yor","Bim","One","Assa","Kau", "Lith", "Ium",
- "Gni", "Pok","Nyr","Lion","Luc","Wyt","Don","Ord","Than","Ture","Dun","Dus",
- "Dae","Sha","Fyr","Erst","Bry","Eve","Oria","Stad","Kyne","Noct","Atro","Sum",
- "Ark","Theim","Lor","Trev","Neu","Ower","Nil","Nar","Nos","Riah","Fal","Ansi",
- "Ust","Fro"
- };
- public string GenerateEpicName()
- {
- string part1 = _random.Choose(_allEpicNames);
- string part2 = null;
- while (part2 == null || part2.Equals(part1) || part2.StartsWith(part1.Substring(0, 1)))
- {
- part2 = _random.Choose(_allEpicNames);
- }
- return Char.ToUpper(part1[part1.Length - 1]) == Char.ToUpper(part2[0])
- ? part1 + "'" + part2.ToLower()
- : part1 + part2.ToLower();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement