Пример #1
0
        public string BackStory()
        {
            Word[] proffesion = { new Word("programador", "", "a", "e"), new Word("granjer"), new Word("herrer"), new Word("community manager", true), new Word("camarer"), new Word("", "vendedor de seguros", "vendedora de seguros", "vendedore de seguros"), new Word("", "parado de larga duración", "parada de larga duración", "parade de larga duración"), new Word("charcuter") };

            String story = $"{new Word("cansad").GetWord(Gender)} de su {Construct.Rand(new string[] { "aburrida", "absurda", "insatisfactoria", "monótona", "gris", "mediocre" })} y {Construct.Rand(new string[] { "despreciable", "vacía", "nada emocionante", "miserable" })} {Construct.Rand(new string[] { "vida", "existencia" })} de {proffesion[Random.Next(0, proffesion.Length)].GetWord(Gender)}, decide embarcarse en una {Construct.Rand(new string[] { "nueva", "larga", "loca", "sangrienta", "legendaria", "épica" })} y {Construct.Rand(new string[] { "emocionante", "trepidante", "macabra", "peligrosa", "tortuosa" })}  {Construct.Rand(new string[] { "aventura", "cruzada", "aventura", "empresa", "aventura", "expedición" })} {Construct.Rand(new string[] { $"en busca {Construct.Rand(new string[] {"del amor verdadero", "de sus auténticos padres", "del vellocino de oro", "de la felicidad", "de un nuevo puesto de trabajo", "de su verdad interior"})}", $"para {Construct.Rand(new string[] {"salvar el mundo", "destruir el mal sobre la Tierra", "acabar con el capitalismo", "dominar el mundo"})}"})}";

            return($"{Name} es {Common.Dt().GetWord(Gender)} joven {Race} que, {story}.");
        }
Пример #2
0
 static string View()
 {
     return(Construct.Rand(new string[] { $"Detrás de {Construct.Rand(new string[] {"un pedrusco", "un árbol", "un cerro", "unos escombros", "una roca", "un tronco", "unas ruinas"})} descubres a",
                                          $"Aquí {Construct.Rand(new string[] { "ves a", "te encuetras con", "descubres a", "hay"})}",
                                          $"{Construct.Rand(new string[] {"Allá lejos", "En la lontananza", "En la lejanía"})} {Construct.Rand(new string[] { "vislumbras a", "se columbra a", "parece que hay", "se ve a" })}" }
                           ));
 }
Пример #3
0
        public MobWord()
        {
            //Here the four great name arrays
            this.Sust = new Word[] { new Word("valquiri"), new Word("orc"), new Word("trasg", "ue"), new Word("duende", true), new Word("drag", "ón", "ona", "one"), new Word("troll", true), new Word("human"), new Word("dinosauri"), new Word("alien", true), new Word("enan"), new Word("robot", true), new Word("vinking", "ue"), new Word("gólem", true), new Word("goblin", true), new Word("gnoll", true), new Word("espectro", true), new Word("fantasma", true), new Word("caballer"), new Word("princes"), new Word("no-muert"), new Word("elf"), new Word("bruj"), new Word("niñ"), new Word("elemental", true), new Word("blemmia", true), new Word("cinocéfal"), new Word("gimnosofista", true), new Word("monj", "e", "a"), new Word("augila", true), new Word("esquiópoda", true), new Word("macrobi"), new Word("gigante", true), new Word("cíclope", true), new Word("perr"), new Word("serpient", "o", "e"), new Word("lagart"), new Word("taras", "co", "ca", "que"), new Word("amazon"), new Word("cieno", true), new Word("vicevers"), new Word("basilis", "co", "ca", "que"), new Word("empresari"), new Word("unicornio", true), new Word("pegas"), new Word("pokèmon", "", "", "e"), new Word("hipi", true), new Word("jubilad"), new Word("esqueleto", true), new Word("centauro", true), new Word("minotaur", "o", "o"), new Word("hecatónquir"), new Word(true, "araña", "escorpión", "arácnide"), new Word(true, "lombriz", "gusano", "gusane"), new Word(true, "persona", "bicho", "persone"), new Word(true, "arpía", "reptil"), new Word(true, "súcubo", "demonio", "demonie"), new Word("siren"), new Word(true, "gorgona", "diablillo", "diablille") };

            this.Adj  = new Word[] { new Word("vampir"), new Word("nudista", true), new Word("microscópi", "co", "ca", "que"), new Word("chupasangre", true), new Word("enfurecid"), new Word("coléri", "co", "ca", "que"), new Word("gigantes", "co", "ca", "que"), new Word("descomunal", true), new Word("extragrande", true), new Word("demonía", "co", "ca", "que"), new Word("ancestral", true), new Word("guapísim"), new Word("hermosísim"), new Word("engullemundos", true), new Word("guerrer"), new Word("cazador", "", "a"), new Word("pirata", true), new Word("bandid"), new Word("traicioner"), new Word("carroñer"), new Word("caníbal", true), new Word("antropóf*g", "ue"), new Word("unicej"), new Word("bastante pelud"), new Word("rubi"), new Word("lepros"), new Word("pestilente", true), new Word("espantos"), new Word("musculos"), new Word("cachas", true), new Word("cani", true), new Word("calv"), new Word("pícar"), new Word("esclavista", true), new Word("narcotraficante", true), new Word("cocainóman"), new Word("fosforescente", true), new Word("salvaje", true), new Word("poderos"), new Word("innombrable", true), new Word("noble", true), new Word("recién depilad"), new Word("inmortal", true), new Word("madrileñ"), new Word("mud"), new Word("tuert"), new Word("punkarra", true), new Word("pelotud"), new Word("bersérker", true), new Word("neonazi", true), new Word("metaler") };
            this.Comp = new string[] { $"en { Construct.Rand(new string[] { "silla de ruedas", "pelotas", "llamas" })}", "del averno", "de las cloacas", "de provincias", "con conjuntivitis", "de acero", "de diamante", $"{Construct.Rand(new string[] { "con un poco de sangre en la comisura del labio (o es kétchup?)", "con un poco de kétchup en la comisura del labio (o es sangre?)" })}", "con gafas de pasta", $"con { Construct.Rand(new string[] { "un calcetín de cada color", "la bragueta abierta", "la camisa muy arrugada", "un ojo mirando a Pamplona y el otro a Tudela", "las cosas claras", "el ojo morado", "la frente perlada de sudor", "las encías inflamadas" })}", $"con cara de { Construct.Rand(new string[] { "muy mala hostia", "pocos amigos"})}", $"con pinta de { Construct.Rand(new string[] { "comer niños", "votar a vox", "pegar a viejas", "bully", "no hacer nunca la declaración de la renta", "no pagar impuestos", "estar en contra del matrimonio gay" })}", $"con el pelo { Construct.Rand(new string[] { "muy grasiento", "morado", "erizado", "lleno de mostaza", "muy sucio", "a lo samurai", "a lo afro" })}", $"con { Construct.Rand(new string[] { "tirantes de la bandera de España", "fachaleco", "pajarita" })}", $"con una pulsera { Construct.Rand(new string[] { "del PP", "lgtb+" })}", "con bigote", "con tupé", "sin complejos", $"que se parece{Construct.Rand(new string[] { " un poco", " bastante", " muchísimo", " increíblemente" }, 50)} a {Construct.Rand(new string[] { "George Cloony", "Freddie Mercury", "Zapatero", "Tarantino", "Michael Jackson", "Leticia Savater" })}", $"con barba { Construct.Rand(new string[] { "de chivo", "de leñador", "de cosaco", "de tres días", "trenzada" })}", "del abismo", "de otro mundo", "del espacio", "de Mordor", "de Bilbao", $"con { Construct.Rand(new string[] { "siete cabezas y diez cuernos, y una palabra blasfema escrita en cada cuerno", "seis dedos en cada mano", "la cabeza partida por la mitad", "una mandíbula prominente", "enormes bíceps", "largas patillas" })}", "de tres cabezas", "sin dientes", $"con un disfraz de {Construct.Rand(new string[] { "Olentzero", "Santa Claus", "Spiderman", "Mickey Mouse" })}", $"con un sombrero { Construct.Rand(new string[] { "extraño", "molón", "de copa" })}" };
            this.Act  = new string[] { $"echando {Construct.Rand(new string[] { "espumarajos", "confetti", "rayos láser", "llamaradas", "caca líquida", "vómito", "fuego", "ácido", "lava", "esputos" })} {Construct.Rand(new string[] { "por la boca", "por la boca", "por la boca", "por el culo", "por los ojos", "por las orejas", "por la nariz", "por todos sus orificios" })}", $"{ Construct.Rand(new string[] {"cabalgando", "a lomos de"})} { Construct.Rand(new string[] { "un caracol", "un carrito de la compra", "un corcel magnífico", "una cabra", "un urifante", "un gorrino", "un caballo bayo", "una yegua alazana", "un pollo descomunal", "un pollino", "un dragón", "una vespa", "un t-rex" })}", $"pegándole { Construct.Rand(new string[] { "patadas", "bocados", "de hostias", "puñetazos" })} { Construct.Rand(new string[] { "a una vieja", "a una piedra", "a un tronco", "a un peñasco", "a una cabra", "a unos niños", "al suelo" })}", $"tocando { Construct.Rand(new string[] { "la guitarra", "la mandolina", "la cítara", "la flauta", "el violín", "el acordeón", "la trompeta", "el sitar", "el ukelele", "el banjo", "el cello", "la harmónica", "la guitarra imaginaria", "la pandereta" })} { Construct.Rand(new string[] { "alegremente", "con melancolía", "entre lágrimas", "con virtuosismo", "bastante mal" })}", $"jugando { Construct.Rand(new string[] { "a Magic -the gathering-", "al WoW", "a la petanca", "al ajedrez", "a las damas chinas", "a la rayuela", "a los médicos", "a las casitas", "a pelota vasca", "a los dardos", "al Age of Empires" })} { Construct.Rand(new string[] { "con su primo", "con su prima", "con sus amigues", "con su pareja", "con los colegas", "con la pandi", "con unos niños" }, 20)}", $"dormitando entre { Construct.Rand(new string[] { "los chopos", "los abedules", "las acacias", "dos palmeras", "unas piedras", "los matorrales" })}", "haciendo popó detrás de un abedul", $"{ Construct.Rand(new string[] { "cantando", "canturreando", "tarareando", "murmurando entre dientes", "cantando", "cantando a pleno pulmón" })} { Construct.Rand(new string[] { "'QUE-PA-SA-RÁ, que misterio habrá, puede ser mi gran noche: ¡CHAN, CHAN-CHAN, CHAN!'", "el Cara al Sol", "himno de la legión", "la intro de Hannah Montana", "la canción de Farmacia de Guardia", "el himno del Betis", "el himno de la URRSS", "la intro de The Office", "'Voy-ca-mi-no-Mo-ria tu hacia donde vaaaaas?'", "el aserejé" })}", $"afeitándose { Construct.Rand(new string[] { "las ingles", "el labio superior", "las cejas", "las piernas", "los dedos del pie", "la cabeza", "el pecho" })}", $"blandiendo { Construct.Rand(new string[] { "un espetec", "un mandoble", "un nunchaku", "una katana", "una tripa de cabra", "una maza", "un gatito", "una navaja", "un sable láser", "una cedena oxidada", "un palo", "un táser", "una alpargata" })}", $"ordeñando { Construct.Rand(new string[] { "una cabra", "una vaca", "un múrloc", "a una perra", "una oveja", "una camella", "una vaca", "una cabra" })}", "litrando tranquilamente", $"buscando { Construct.Rand(new string[] { "una lentilla", "sus gafas", "la tarjeta de crédito", "pareja para el baile de graduasión", "una lentilla", "una taberna" })}", $"{ Construct.Rand(new string[] { "comiéndose", "masticando", "engullendo", "devorando" })} { Construct.Rand(new string[] { "una gamba cruda", "un chuletón", "una paella", "una cabra viva", "unos insectos", "un mondongo fresco", "unas vainas", "un cadáver", "los restos de un caballo", "unas bayas", "unas almendrucas", "una vichyssoise", "un calabacín", "un pollo entero", "un tarro de melocotones en almíbar", "su propia mano", "unos kikos" })}", $"leyendo { Construct.Rand(new string[] { "la Biblia", "el ABC", "el horóscopo", "el Silmarillion", "El Manifiesto Comunista", "tranquilamente", "a la sombra de un árbol", "el Hola!", "el BOE" })}", "echando la siesta", $"destripando { Construct.Rand(new string[] { "a un ser humano", "una vaca", "un caballo", "una cabra" })}", $"{ Construct.Rand(new string[] { "invocando", "adorando", "rindiendo culto", "orando" })} a { Construct.Rand(new string[] { "Satanás", "Beelcebub", "Cthulu", "los demonios del infierno", "sus dioses", "los espíritus del bosque", "Dios" })}", $"esperando la cola para el casting de { Construct.Rand(new string[] { "OT", "Got Talent", "MasterChef Junior", "MMYHHYV" })}", $"sacando { Construct.Rand(new string[] { "un tentáculo", "un apéndice extraño", "una segunda mandíbula", "un ojo", "la lengua", "el intestino" })} por { Construct.Rand(new string[] { "la boca", "el ano", "el ombligo", "el oído", "la nariz", "un agujero en su frente" })}", "dando a luz", $"contando un chiste { Construct.Rand(new string[] { "homófobo", "racista", "machista" })}", $"mordiéndose { Construct.Rand(new string[] { "el labio", "las uñas de los pies", "un dedo", "una uña", "las mangas del jersey" })} { Construct.Rand(new string[] { "de forma sensual", "con violencia", "con ansia", "con las encías", "con sufrimiento", }, 40)}" };
        }
Пример #4
0
        static string Arrival()
        {
            Places place = new Places();

            return(Construct.Rand(new string[] { "Llegas hasta", "Sobre la línea del horizonte vislumbras", "De repente, ante ti aparece", "Te encuentras en", "Te topas con", "Te das cuenta de que estás en", "Has llegado hasta", "Has llegado a un sitio inexplorado, conocido por los lugareños como", "Te detienes a descansar en", "Paras a fumar un piti en", "Te detienes a mear en", "Sin saber muy bien cómo, llegas hasta", "Te pierdes y apareces en", "Encuentras", "Descubres" }) + " " + place.GetPlace() + ".");
        }
Пример #5
0
        //Inventory Menu, similarly to combat Menu, returns a letter
        public string InvMenu(List <string> item, string title, int x)
        {
            //var originalpos = Console.CursorTop;
            int            i = 0;
            ConsoleKeyInfo k;

            //Looking for the longest string in the menu
            int longest = Construct.Longest(item);


            if (longest > x)
            {
                x = longest;
            }
            int extraY = title.Length / x;

            if (title.Length % x != 0)
            {
                extraY++;
            }
            int height = item.Count + extraY;

            this.X    = x;
            this.Y    = height;
            this.posX = (Console.WindowWidth - this.X - 2) / 2;

            //Printing the boxy box
            Boxy Boxy = new Boxy(this.X, this.Y, this.posX, this.posY, this.Center);

            Boxy.BiPrint();
            Boxy.WriteLine(title);

            while (1 < 2)
            {
                Boxy.GoTop();
                Boxy.Jump(extraY);
                foreach (string element in item)
                {
                    Boxy.WriteLine(element);
                }

                Boxy.GoTop();
                Boxy.Jump(extraY + i);
                Console.ForegroundColor = ConsoleColor.Black;
                Console.BackgroundColor = ConsoleColor.Yellow;
                Boxy.WriteLine(item[i]);
                Console.ResetColor();

                Boxy.GoTo(this.posX + Boxy.X - 1, this.posY + extraY - 2);


                while (1 < 2)
                {
                    k = Console.ReadKey();

                    if (k.Key == ConsoleKey.UpArrow)
                    {
                        if (i == 0)
                        {
                            i = item.Count - 1;
                        }
                        else
                        {
                            i--;
                        }
                        break;
                    }
                    else if (k.Key == ConsoleKey.DownArrow)
                    {
                        if (i == item.Count - 1)
                        {
                            i = 0;
                        }
                        else
                        {
                            i++;
                        }
                        break;
                    }
                    else if (k.Key == ConsoleKey.Enter)
                    {
                        return(item[i].Substring(0, 1).ToLower());
                    }
                }
            }

            return("p");
        }
Пример #6
0
        //Combat menu returns the first letter of the selected option
        public string CombatMenu(string title, bool cure, bool meditate, bool fury)
        {
            //var originalpos = Console.CursorTop;
            int            i = 0;
            ConsoleKeyInfo k;

            //Options
            List <string> item = new List <string>();

            item.Add("Ataque");
            item.Add("Conjuro");
            item.Add("Discurso épico");
            if (cure)
            {
                item.Add("Sanaciión");
            }
            if (meditate)
            {
                item.Add("Meditar");
            }
            if (fury)
            {
                item.Add("Enfurecer");
            }
            item.Add("Inventario");
            item.Add("Huir");

            //Looking for the longest string in the menu
            int longest = Construct.Longest(item);

            X = 17;

            if (longest > X)
            {
                X = longest;
            }

            Boxy counter = new Boxy(X, Y, 1, 1, Center);

            int extraY = counter.CountLines(title);

            Y = item.Count + extraY;

            this.posX = (Console.WindowWidth - this.X - 2) / 2;

            //Printing the boxy box
            Boxy Boxy = new Boxy(X, Y, posX, posY, Center);

            Boxy.BiPrint();
            Boxy.WriteLine(title);

            while (1 < 2)
            {
                Boxy.GoTop();
                Boxy.Jump(extraY);
                foreach (string element in item)
                {
                    Boxy.WriteLine(element);
                }

                Boxy.GoTop();
                Boxy.Jump(extraY + i);
                Console.ForegroundColor = ConsoleColor.Black;
                Console.BackgroundColor = ConsoleColor.Yellow;
                Boxy.WriteLine(item[i]);
                Console.ResetColor();

                Boxy.GoTo(this.posX + Boxy.X - 1, this.posY + extraY - 2);


                while (1 < 2)
                {
                    k = Console.ReadKey();

                    if (k.Key == ConsoleKey.UpArrow)
                    {
                        if (i == 0)
                        {
                            i = item.Count - 1;
                        }
                        else
                        {
                            i--;
                        }
                        break;
                    }
                    else if (k.Key == ConsoleKey.DownArrow)
                    {
                        if (i == item.Count - 1)
                        {
                            i = 0;
                        }
                        else
                        {
                            i++;
                        }
                        break;
                    }
                    else if (k.Key == ConsoleKey.Enter)
                    {
                        return(item[i].Substring(0, 1).ToLower());
                    }
                }
            }
        }
Пример #7
0
        public static string Fantastic()
        {
            Random random = new Random();

            string[] vow      = { "û", "ô", "ì", "ë", "ä", "u", "o", "i", "e", "a", "a", "e", "i", "o", "u", "â", "e", "i", "ù", "oo" };
            string[] syllaVow = { "r", "t", "p", "s", "d", "ph", "k", "x", "v", "br", "m", "t", "d", "m", "k", "n", "h" };
            string[] cons     = { "r", "t", "l", "d", "z", "m", "n", "ll", "r", "r", "s", "k" };

            string word  = null;
            int    count = 1;

            do
            {
                int rdm = random.Next(1, 4);

                if (rdm == 3)
                {
                    word += Construct.Rand(syllaVow) + Construct.Rand(vow) + Construct.Rand(new string[] { " ", "'", "-", $" {FanSyll()} " }, count * 10);
                }
                else if (rdm == 2)
                {
                    word += Construct.Rand(syllaVow) + Construct.Rand(vow) + Construct.Rand(cons) + Construct.Rand(new string[] { " ", "'", "-", $" {FanSyll()} " }, count * 10);
                }
                else
                {
                    word += Construct.Rand(vow) + Construct.Rand(cons) + Construct.Rand(new string[] { " ", "'", "-", $" {FanSyll()} " }, count * 10);
                }

                count++;
            } while (random.Next(1, 4) != 3 && count < 5);

            if (word[word.Length - 1].ToString() == "-" | word[word.Length - 1].ToString() == " " | word[word.Length - 1].ToString() == "'")
            {
                word = word.Substring(0, word.Length - 2);
            }

            for (int i = 0; i < word.Length - 2; i++)
            {
                if (Convert.ToString(word[i]) == " " || Convert.ToString(word[i]) == "-")
                {
                    word = word.Substring(0, i + 1) + word.Substring(i + 1, 1).ToUpper() + word.Substring(i + 2);
                }
            }


            return(Char.ToUpper(word[0]) + word.Substring(1));
        }
Пример #8
0
        public static string FanSyll()
        {
            Random random = new Random();

            string[] vow      = { "ô", "û", "ò", "ë", "ui", "ae", "u", "e", "a", "i", "o", "ea", "iu", "ëa", "ii", "'" };
            string[] syllaVow = { "r", "t", "p", "s", "dr", "ph", "th", "k", "x", "v", "vr", "br", "nr", "m", "tr", "dh", "mh", "nh", "tk", "md" };
            string[] cons     = { "r", "t", "q", "l", "d", "z", "m", "n", "ll", "r", "r", "s", "k" };

            string word = null;

            int rdm = random.Next(1, 4);

            if (rdm == 3)
            {
                word += Construct.Rand(syllaVow) + Construct.Rand(vow) + Construct.Rand(" ", 10);
            }
            else if (rdm == 2)
            {
                word += Construct.Rand(syllaVow) + Construct.Rand(vow) + Construct.Rand(cons) + Construct.Rand(" ", 10);
            }
            else
            {
                word += Construct.Rand(vow) + Construct.Rand(cons) + Construct.Rand(" ", 10);
            }

            return(word);
        }