Example #1
0
 public GraveStones() : base(0x116E)
 {
     Weight = 10.0;
     Name   = "grave stone";
     Hue    = 0x763;
     ItemID = Utility.RandomList(0xED4, 0xED5, 0xED6, 0xED7, 0xED8, 0xEDD, 0xEDE, 0x1165, 0x1166, 0x1167, 0x1168, 0x1169, 0x116A, 0x116B, 0x116C, 0x116D, 0x116E, 0x116F, 0x1170, 0x1171, 0x1172, 0x1173, 0x1174, 0x1175, 0x1176, 0x1177, 0x1178, 0x1179, 0x117A, 0x117B, 0x117C, 0x117D, 0x117E, 0x117F, 0x1180, 0x1181, 0x1182, 0x1183, 0x1184);
     if (Name == "grave stone")
     {
         Name = "Here Lies " + RandomThings.GetRandomName() + " the " + RandomThings.GetRandomJobTitle(0);
     }
 }
Example #2
0
        public MagicPigment() : base(0x4C5A)
        {
            string OwnerName = RandomThings.GetRandomName();

            if (OwnerName.EndsWith("s"))
            {
                OwnerName = OwnerName + "'";
            }
            else
            {
                OwnerName = OwnerName + "'s";
            }

            string ItemName = LootPackEntry.MagicItemAdj("start", false, false, ItemID);

            Weight = 2.0;
            Name   = OwnerName + " " + ItemName + " paints";
        }
Example #3
0
        public QuestTake() : base(0x1A97)
        {
            Weight = 1.0;
            Name   = "Journal of " + RandomThings.GetRandomName() + " the ";
            if (Utility.RandomBool())
            {
                Name = Name + RandomThings.GetBoyGirlJob(0);
            }
            else
            {
                Name = Name + RandomThings.GetBoyGirlJob(1);
            }

            Movable = false;

            ItemID = Utility.RandomList(0x1A97, 0x1A98, 0x1AA3, 0x2205, 0x220F, 0x2219, 0x2223, 0x222D, 0x2255, 0x225C, 0x225D, 0x225E, 0x225F, 0x5688, 0x5689);
            if (ItemID == 0x1A97 || ItemID == 0x1A98 || ItemID == 0x1AA3 || ItemID == 0x5688 || ItemID == 0x5689)
            {
                Hue = Utility.RandomColor(0);
            }
        }
Example #4
0
        public static void PickSearchLocation(CourierMail scroll, string DungeonNow, Mobile from, string alignment, string homeworld)
        {
            string QuestItem = Server.Misc.QuestCharacters.QuestItems();

            scroll.SearchItem = QuestItem;

            string QuestStory = Server.Misc.QuestCharacters.EpicQuestStory(QuestItem, alignment);

            string thisWorld = "the Land of Sosaria";
            string thisPlace = "the Dungeon of Doom";
            Map    thisMap   = Map.Trammel;

            int       aCount  = 0;
            ArrayList targets = new ArrayList();

            foreach (Item target in World.Items.Values)
            {
                if (target is SearchBase && (DifficultyLevel.GetDifficultyLevel(target.Location, target.Map) <= GetPlayerInfo.GetPlayerDifficulty(from)))
                {
                    string tWorld = Worlds.GetMyWorld(target.Map, target.Location, target.X, target.Y);
                    if (tWorld == "the Land of Sosaria")
                    {
                        targets.Add(target); aCount++;
                    }
                    else if (CharacterDatabase.GetDiscovered(from, tWorld))
                    {
                        targets.Add(target); aCount++;
                    }
                }
            }

            aCount = Utility.RandomMinMax(1, aCount);

            int xCount = 0;

            for (int i = 0; i < targets.Count; ++i)
            {
                xCount++;

                if (xCount == aCount)
                {
                    Item finding = ( Item )targets[i];
                    thisWorld          = Worlds.GetMyWorld(finding.Map, finding.Location, finding.X, finding.Y);
                    thisMap            = finding.Map;
                    thisPlace          = Server.Misc.Worlds.GetRegionName(finding.Map, finding.Location);
                    scroll.MsgComplete = 0;
                    scroll.MsgReward   = Server.Misc.DifficultyLevel.GetDifficultyLevel(finding.Location, finding.Map) + 2;
                    if (scroll.MsgReward < 2)
                    {
                        scroll.MsgReward = 2;
                    }
                }
            }

            string Word1 = "Legends";

            switch (Utility.RandomMinMax(1, 4))
            {
            case 1: Word1 = "Rumors"; break;

            case 2: Word1 = "Myths"; break;

            case 3: Word1 = "Tales"; break;

            case 4: Word1 = "Stories"; break;
            }
            string Word2 = "lost";

            switch (Utility.RandomMinMax(1, 4))
            {
            case 1: Word2 = "kept"; break;

            case 2: Word2 = "seen"; break;

            case 3: Word2 = "taken"; break;

            case 4: Word2 = "hidden"; break;
            }
            string Word3 = "deep in";

            switch (Utility.RandomMinMax(1, 4))
            {
            case 1: Word3 = "within"; break;

            case 2: Word3 = "somewhere in"; break;

            case 3: Word3 = "somehow in"; break;

            case 4: Word3 = "far in"; break;
            }
            string Word4 = "centuries ago";

            switch (Utility.RandomMinMax(1, 4))
            {
            case 1: Word4 = "thousands of years ago"; break;

            case 2: Word4 = "decades ago"; break;

            case 3: Word4 = "millions of years ago"; break;

            case 4: Word4 = "many years ago"; break;
            }

            scroll.SearchDungeon = thisPlace;
            scroll.SearchWorld   = thisWorld;
            scroll.DungeonMap    = thisMap;

            string gold = (scroll.MsgReward * 1000).ToString();

            if (alignment == "neutral")
            {
                gold = (scroll.MsgReward * 1500).ToString();
            }
            string heard  = "I have heard that you could perhaps help me with something of the utmost importance.";
            string reward = "Do this for me, and I can reward you " + gold + " gold.";

            if (alignment != "evil")
            {
                switch (Utility.RandomMinMax(0, 5))
                {
                case 0: heard = "I have heard that you could perhaps help me with something of the utmost importance.";         break;

                case 1: heard = RandomThings.GetRandomName() + " has told me about you, and that maybe you can help.";          break;

                case 2: heard = "After speaking to my friend, " + RandomThings.GetRandomName() + ", they mentioned that maybe you can assist me with something.";       break;

                case 3: heard = "I hear that you are one I could trust for this important task ahead.";         break;

                case 4: heard = "The " + RandomThings.GetRandomJob() + " in " + RandomThings.GetRandomCity() + " mentioned that you could perhaps help me with something.";     break;

                case 5: heard = "There is a dire situation I think you may be able to help with.";      break;
                }
            }
            else if (alignment == "evil")
            {
                reward = "I think that " + gold + " gold will make this worth your time.";
                switch (Utility.RandomMinMax(0, 5))
                {
                case 0: heard = "I have heard that you are one that can serve me in my purposes.";      break;

                case 1: heard = RandomThings.GetRandomName() + " has told me about you, and that you would serve me well.";             break;

                case 2: heard = "After speaking to my servant, " + RandomThings.GetRandomName() + ", they mentioned that maybe you would do my bidding.";       break;

                case 3: heard = "I hear whispers of your ambitions, and that maybe we can both benefit from what I am about to ask.";   break;

                case 4: heard = "Those in " + RandomThings.GetRandomCity() + " sometimes speak your name in hush curses, which is why I have sent this message to you.";        break;

                case 5: heard = "There is an item I need for my plans, and I think you are one that can obtain it with little notice by others.";       break;
                }
            }

            string intro = from.Name + ",<br><br>" + heard;

            string EntranceLocation = Worlds.GetAreaEntrance(scroll.SearchDungeon, scroll.DungeonMap);

            scroll.SearchMessage = intro + " " + reward + " " + QuestStory + " " + Word1 + " tell of " + QuestItem + " being " + Word2 + " " + Word3;

            scroll.SearchMessage = scroll.SearchMessage + " " + scroll.SearchDungeon + " " + Word4 + " in " + scroll.SearchWorld + " at the below sextant coordinates.<br><br>" + EntranceLocation;

            scroll.SearchMessage = scroll.SearchMessage + "<br><br>When you find it, bring this message back to me. I am in " + homeworld + " at the below sextant coordinates.<br><br>" + scroll.ForWhere;

            scroll.SearchMessage = scroll.SearchMessage + "<br><br>- " + scroll.ForWho;

            scroll.InvalidateProperties();
        }
Example #5
0
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public static string QuestItems(bool addQuotes)
        {
            string qte = "";

            if (addQuotes)
            {
                qte = "'";
            }

            string OwnerName = OwnerName = RandomThings.GetRandomName();

            if (OwnerName.EndsWith("s"))
            {
                OwnerName = OwnerName + "'";
            }
            else
            {
                OwnerName = OwnerName + "'s";
            }

            string[] xItem = new string[] { "Amulet", "Armor", "Axe", "Bag", "Belt", "Blade", "Bones", "Book", "Boots", "Bottle", "Bow", "Bracelet", "Candle", "Cape", "Chalice", "Cloak", "Club", "Codex", "Crossbow", "Crown", "Crystal Ball", "Cutlass", "Dagger", "Drum", "Dust", "Earrings", "Elixir", "Flute", "Gem", "Gloves", "Goblet", "Halberd", "Hat", "Helm", "Horn", "Key", "Knife", "Kryss", "Lantern", "Lexicon", "Lute", "Mace", "Mirror", "Necklace", "Parchment", "Portrait", "Potion", "Pouch", "Ring", "Robe", "Rod", "Rope", "Scabbard", "Sceptre", "Scimitar", "Scroll", "Shackles", "Shield", "Skull", "Spellbook", "Staff", "Stone", "Sword", "Tablet", "Tome", "Trident", "Wand", "Warhammer" };
            string   name  = xItem[Utility.RandomMinMax(0, (xItem.Length - 1))];

            string[] xAdj       = new string[] { "Exotic", "Mysterious", "Enchanted", "Marvelous", "Amazing", "Astonishing", "Mystical", "Astounding", "Magical", "Divine", "Excellent", "Magnificent", "Phenomenal", "Fantastic", "Incredible", "Extraordinary", "Fabulous", "Wondrous", "Glorious", "Lost", "Fabled", "Legendary", "Mythical", "Missing", "Ancestral", "Ornate", "Ultimate", "Rare", "Wonderful", "Sacred", "Almighty", "Supreme", "Mighty", "Unspeakable", "Unknown", "Forgotten", "Cursed", "Glowing", "Dark", "Evil", "Holy", "Vile", "Ethereal", "Demonic", "Burning", "Angelic", "Burning", "Frozen", "Icy", "Blackened", "Lunar", "Solar", "Bright", "Electrical", "Deathly", "Hexed", "Unholy", "Blessed", "Infernal", "Damned", "Doomed" };
            string   sAdjective = xAdj[Utility.RandomMinMax(0, (xAdj.Length - 1))];

            string eAdjective = "Might";

            switch (Utility.RandomMinMax(0, 116))
            {
            case 0: eAdjective = "the Light";                       break;

            case 1: eAdjective = "the Dark";                        break;

            case 2: eAdjective = "the Spirits";             break;

            case 3: eAdjective = "the Dead";                        break;

            case 4: eAdjective = "the Fowl";                        break;

            case 5: eAdjective = "Hades";                           break;

            case 6: eAdjective = "Fire";                            break;

            case 7: eAdjective = "Ice";                                     break;

            case 8: eAdjective = "the Void";                        break;

            case 9: eAdjective = "Venom";                           break;

            case 10: eAdjective = "the Planes";                     break;

            case 11: eAdjective = "the Demon";                      break;

            case 12: eAdjective = "the Angel";                      break;

            case 13: eAdjective = "the Devil";                      break;

            case 14: eAdjective = "Death";                          break;

            case 15: eAdjective = "Life";                           break;

            case 16: eAdjective = "Illusions";                      break;

            case 17: eAdjective = "the Other World";        break;

            case 18: eAdjective = "Negative Energy";        break;

            case 19: eAdjective = "Reality";                        break;

            case 20: eAdjective = "the Sky";                        break;

            case 21: eAdjective = "the Moon";                       break;

            case 22: eAdjective = "the Sun";                        break;

            case 23: eAdjective = "the Stars";                      break;

            case 24: eAdjective = "the Earth";                      break;

            case 25: eAdjective = "the Dungeon";            break;

            case 26: eAdjective = "the Tomb";                       break;

            case 27: eAdjective = "the Ghost";                      break;

            case 28: eAdjective = "Ultimate Evil";          break;

            case 29: eAdjective = "Pure Evil";                      break;

            case 30: eAdjective = "Demonic Power";          break;

            case 31: eAdjective = "Holy Light";             break;

            case 32: eAdjective = "the Cursed";             break;

            case 33: eAdjective = "the Damned";             break;

            case 34: eAdjective = "the Vile";                       break;

            case 35: eAdjective = "Evil";                           break;

            case 36: eAdjective = "Darkness";                       break;

            case 37: eAdjective = "Purity";                         break;

            case 38: eAdjective = "Might";                          break;

            case 39: eAdjective = "Power";                          break;

            case 40: eAdjective = "Greatness";                      break;

            case 41: eAdjective = "Magic";                          break;

            case 42: eAdjective = "Supremacy";                      break;

            case 43: eAdjective = "the Almighty";           break;

            case 44: eAdjective = "the Sacred";             break;

            case 45: eAdjective = "Magnificence";           break;

            case 46: eAdjective = "Excellence";             break;

            case 47: eAdjective = "Glory";                          break;

            case 48: eAdjective = "Mystery";                        break;

            case 49: eAdjective = "the Divine";             break;

            case 50: eAdjective = "the Forgotten";          break;

            case 51: eAdjective = "Legend";                         break;

            case 52: eAdjective = "the Lost";                       break;

            case 53: eAdjective = "the Ancients";           break;

            case 54: eAdjective = "Wonder";                         break;

            case 55: eAdjective = "the Mighty";             break;

            case 56: eAdjective = "Marvel";                         break;

            case 57: eAdjective = "Nobility";                       break;

            case 58: eAdjective = "Mysticism";                      break;

            case 59: eAdjective = "Enchantment";            break;

            case 60: eAdjective = "the Templar";            break;

            case 61: eAdjective = "the Thief";                      break;

            case 62: eAdjective = "the Illusionist";        break;

            case 63: eAdjective = "the Princess";           break;

            case 64: eAdjective = "the Invoker";            break;

            case 65: eAdjective = "the Priestess";          break;

            case 66: eAdjective = "the Conjurer";           break;

            case 67: eAdjective = "the Bandit";                     break;

            case 68: eAdjective = "the Baroness";           break;

            case 69: eAdjective = "the Wizard";                     break;

            case 70: eAdjective = "the Cleric";                     break;

            case 71: eAdjective = "the Monk";                       break;

            case 72: eAdjective = "the Minstrel";           break;

            case 73: eAdjective = "the Defender";           break;

            case 74: eAdjective = "the Cavalier";           break;

            case 75: eAdjective = "the Magician";           break;

            case 76: eAdjective = "the Witch";                      break;

            case 77: eAdjective = "the Fighter";            break;

            case 78: eAdjective = "the Seeker";                     break;

            case 79: eAdjective = "the Slayer";                     break;

            case 80: eAdjective = "the Ranger";                     break;

            case 81: eAdjective = "the Barbarian";          break;

            case 82: eAdjective = "the Explorer";           break;

            case 83: eAdjective = "the Heretic";            break;

            case 84: eAdjective = "the Gladiator";          break;

            case 85: eAdjective = "the Sage";                       break;

            case 86: eAdjective = "the Rogue";                      break;

            case 87: eAdjective = "the Paladin";            break;

            case 88: eAdjective = "the Bard";                       break;

            case 89: eAdjective = "the Diviner";            break;

            case 90: eAdjective = "the Lady";                       break;

            case 91: eAdjective = "the Outlaw";                     break;

            case 92: eAdjective = "the Prophet";            break;

            case 93: eAdjective = "the Mercenary";          break;

            case 94: eAdjective = "the Adventurer";         break;

            case 95: eAdjective = "the Enchantress";        break;

            case 96: eAdjective = "the Queen";                      break;

            case 97: eAdjective = "the Scout";                      break;

            case 98: eAdjective = "the Mystic";                     break;

            case 99: eAdjective = "the Mage";                       break;

            case 100: eAdjective = "the Traveler";          break;

            case 101: eAdjective = "the Summoner";          break;

            case 102: eAdjective = "the Warrior";           break;

            case 103: eAdjective = "the Sorcereress";       break;

            case 104: eAdjective = "the Seer";                      break;

            case 105: eAdjective = "the Hunter";            break;

            case 106: eAdjective = "the Knight";            break;

            case 107: eAdjective = "the Necromancer";       break;

            case 108: eAdjective = "the Shaman";            break;

            case 109: eAdjective = "the Prince";            break;

            case 110: eAdjective = "the Priest";            break;

            case 111: eAdjective = "the Baron";                     break;

            case 112: eAdjective = "the Warlock";           break;

            case 113: eAdjective = "the Lord";                      break;

            case 114: eAdjective = "the Enchanter";         break;

            case 115: eAdjective = "the King";                      break;

            case 116: eAdjective = "the Sorcerer";          break;
            }

            int FirstLast = 0;

            if (Utility.RandomMinMax(0, 1) == 1)
            {
                FirstLast = 1;
            }

            if (FirstLast == 0)               // FIRST COMES ADJECTIVE
            {
                switch (Utility.RandomMinMax(0, 5))
                {
                case 0: name = "the " + qte + sAdjective + " " + name + " of " + ContainerFunctions.GetOwner("property") + qte + "";  break;

                case 1: name = "the " + qte + name + " of " + ContainerFunctions.GetOwner("property") + qte + "";                                     break;

                case 2: name = "the " + qte + sAdjective + " " + name + qte + "";                                                                                                               break;

                case 3: name = "the " + qte + sAdjective + " " + name + " of " + ContainerFunctions.GetOwner("property") + qte + "";  break;

                case 4: name = "the " + qte + name + " of " + ContainerFunctions.GetOwner("property") + qte + "";                                     break;

                case 5: name = "the " + qte + sAdjective + " " + name + qte + "";                                                                                                               break;
                }
            }
            else             // FIRST COMES OWNER
            {
                switch (Utility.RandomMinMax(0, 3))
                {
                case 0: name = "" + qte + OwnerName + " " + name + " of " + eAdjective + qte + "";                                                                              break;

                case 1: name = "the " + qte + name + " of " + eAdjective + qte + "";                                                                                                    break;

                case 2: name = "" + qte + OwnerName + " " + name + qte + "";                                                                                                                    break;

                case 3: name = "" + qte + OwnerName + " " + sAdjective + " " + name + qte + "";                                                                                 break;
                }
            }

            name = name.Replace(" the the ", " the ");

            return(name);
        }
Example #6
0
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        // string sWord3 = QuestItems( true );

        public static string EpicQuestStory(string QuestItem, string alignment)
        {
            string[] vWord1 = new string[] { "I need you to", "I want you to", "I require you to", "I need someone to", "I want someone to", "I require someone to", "We require you to", "We need someone to", "We want someone to", "We require someone to" };
            string   sWord1 = vWord1[Utility.RandomMinMax(0, (vWord1.Length - 1))];

            string[] vWord2 = new string[] { "go find", "seek out", "search for", "bring me", "find me", "get", "find", "seek", "discover", "locate", "unearth", "look for" };
            string   sWord2 = vWord2[Utility.RandomMinMax(0, (vWord2.Length - 1))];

            string sWord3 = QuestItem;

            string sWord4 = RandomThings.GetRandomName();

            if (Utility.RandomMinMax(1, 4) == 1)
            {
                sWord4 = RandomThings.GetRandomSociety();
            }

            string sWord5 = RandomThings.GetRandomJobTitle(0);

            string sWord6 = "have it destroyed";
            int    nWord6 = Utility.RandomMinMax(1, 16);

            switch (nWord6)
            {
            case 1: sWord6 = "have it destroyed";                   break;

            case 2: sWord6 = "give it to " + sWord4;                break;

            case 3: sWord6 = "give it to " + sWord5;                break;

            case 4: sWord6 = "return it to " + sWord4;              break;

            case 5: sWord6 = "return it to " + sWord5;              break;

            case 6: sWord6 = "hide it";                                     break;

            case 7: sWord6 = "destroy it";                                  break;

            case 8: sWord6 = "keep it safe";                                break;

            case 9: sWord6 = "keep it from " + sWord4;              break;

            case 10: sWord6 = "hide it from " + sWord4;     break;

            case 11: sWord6 = "keep it from " + sWord5;     break;

            case 12: sWord6 = "hide it from " + sWord5;     break;

            case 13: sWord6 = "use it";                                     break;

            case 14: sWord6 = "make use of it";                     break;

            case 15: sWord6 = "fufill the prophecy";                break;

            case 16: sWord6 = "stop the prophecy";                  break;
            }

            string[] vWord7 = new string[] { "finds", "gets", "discovers", "locates", "unearths", "claims", "steals", "acquires", "destroys", "hides", "takes" };
            string   sWord7 = vWord7[Utility.RandomMinMax(0, (vWord7.Length - 1))] + " ";

            string[] vWord8 = new string[] { "eliminate", "slay", "lay waste to", "crush", "destroy" };
            string   sWord8 = vWord8[Utility.RandomMinMax(0, (vWord8.Length - 1))] + " ";

            string[] vWord9 = new string[] { "knights", "priests", "villagers", "heroes", "champions", "paladins", "healers", "gods", "light", "children", "adventurers", "defenders", "guards" };
            string   sWord9 = vWord9[Utility.RandomMinMax(0, (vWord9.Length - 1))] + " ";

            string[] vWord10 = new string[] { "our enemies", "our foes", "the " + sWord9 + "", "my enemies", "my foes", "those that oppose me" };
            string   sWord10 = vWord10[Utility.RandomMinMax(0, (vWord10.Length - 1))] + " ";

            string sWord11 = "so I may " + sWord6;

            if (alignment == "evil" && Utility.RandomMinMax(1, 3) == 1)
            {
                sWord6 = "use it to " + sWord8 + " " + sWord10;
            }
            int nWord11 = Utility.RandomMinMax(1, 20);

            switch (nWord11)
            {
            case 1: sWord11 = "so I may " + sWord6;                                                                 break;

            case 2: sWord11 = "so I can " + sWord6;                                                                 break;

            case 3: sWord11 = "so we may " + sWord6;                                                                break;

            case 4: sWord11 = "so we can " + sWord6;                                                                break;

            case 5: sWord11 = "so I could " + sWord6;                                                               break;

            case 6: sWord11 = "so we could " + sWord6;                                                              break;

            case 7: sWord11 = "so I might " + sWord6;                                                               break;

            case 8: sWord11 = "so we might " + sWord6;                                                              break;

            case 9: sWord11 = "for me so I can " + sWord6;                                                  break;

            case 10: sWord11 = "for us so we can " + sWord6;                                                break;

            case 11: sWord11 = "for me so I may " + sWord6;                                                 break;

            case 12: sWord11 = "for us so we may " + sWord6;                                                break;

            case 13: sWord11 = "for me so I could " + sWord6;                                               break;

            case 14: sWord11 = "for us so we could " + sWord6;                                              break;

            case 15: sWord11 = "before " + sWord4 + " " + sWord7 + " it";                   break;

            case 16: sWord11 = "before " + sWord5 + " " + sWord7 + " it";           break;

            case 17: sWord11 = "before " + sWord4 + " " + sWord7 + " it";                   break;

            case 18: sWord11 = "before " + sWord5 + " " + sWord7 + " it";           break;

            case 19: sWord11 = "before " + sWord4 + " " + sWord7 + " it";                   break;

            case 20: sWord11 = "before " + sWord5 + " " + sWord7 + " it";           break;
            }

            string Quest = sWord1 + " " + sWord2 + " " + sWord3 + " " + sWord11;

            string MoreSentence = "";

            if (Utility.RandomMinMax(1, 3) == 1 && nWord11 < 15)                 // ADD MORE TO THE SENTENCE
            {
                string sWord12 = "before"; if (Utility.RandomMinMax(1, 3) == 1)
                {
                    sWord12 = "after";
                }

                if (Utility.RandomMinMax(1, 2) == 1)                     // EVENT
                {
                    string sWord13 = "starts";
                    int    nWord13 = Utility.RandomMinMax(1, 3);
                    if (alignment == "evil")
                    {
                        nWord13 = Utility.RandomMinMax(4, 6);
                    }
                    switch (nWord13)
                    {
                    case 1: sWord13 = "starts";                             break;

                    case 2: sWord13 = "begins";                             break;

                    case 3: sWord13 = "cannot be stopped";  break;

                    case 4: sWord13 = "can be stopped";             break;

                    case 5: sWord13 = "is stopped";                 break;

                    case 6: sWord13 = "ends";                               break;
                    }

                    string sWord14 = "next season";
                    int    nWord14 = Utility.RandomMinMax(1, 19);
                    switch (nWord14)
                    {
                    case 1: sWord14 = "next season";                                                                                                                        break;

                    case 2: sWord14 = "next phase";                                                                                                                         break;

                    case 3: sWord14 = "next eclipse";                                                                                                                       break;

                    case 4: sWord14 = "constellation of the " + RandomThings.GetRandomThing(0) + " appears";        break;

                    case 5: sWord14 = "stars align into the " + RandomThings.GetRandomThing(0);                                     break;

                    case 6: sWord14 = Server.Misc.RandomThings.GetRandomColorName(0) + " Moon";                                                             break;

                    case 7: sWord14 = "war " + sWord13;                                                                                                                     break;

                    case 8: sWord14 = "famine " + sWord13;                                                                                                          break;

                    case 9: sWord14 = "catastrophe " + sWord13;                                                                                                     break;

                    case 10: sWord14 = "cataclysm " + sWord13;                                                                                                      break;

                    case 11: sWord14 = "apocalypse " + sWord13;                                                                                                     break;

                    case 12: sWord14 = "invasion " + sWord13;                                                                                                       break;

                    case 13: sWord14 = "storm " + sWord13;                                                                                                          break;

                    case 14: sWord14 = "drought " + sWord13;                                                                                                        break;

                    case 15: sWord14 = "flood " + sWord13;                                                                                                          break;

                    case 16: sWord14 = "disease " + sWord13;                                                                                                        break;

                    case 17: sWord14 = "sickness " + sWord13;                                                                                                       break;

                    case 18: sWord14 = "ritual " + sWord13;                                                                                                         break;

                    case 19: sWord14 = "darkness " + sWord13;                                                                                                       break;
                    }

                    MoreSentence = " " + sWord12 + " the " + sWord14;
                }
                else
                {
                    string sWord15 = "king";
                    int    nWord15 = Utility.RandomMinMax(1, 13);
                    if (alignment == "evil")
                    {
                        nWord15 = Utility.RandomMinMax(14, 27);
                    }
                    switch (nWord15)
                    {
                    case 1: sWord15 = "dragon";                             break;

                    case 2: sWord15 = "demon";                              break;

                    case 3: sWord15 = "devil";                              break;

                    case 4: sWord15 = "prince";                             break;

                    case 5: sWord15 = "king";                               break;

                    case 6: sWord15 = "princess";                   break;

                    case 7: sWord15 = "lich";                               break;

                    case 8: sWord15 = "wizard";                             break;

                    case 9: sWord15 = "serpent";                    break;

                    case 10: sWord15 = "wolf";                              break;

                    case 11: sWord15 = "necromancer";               break;

                    case 12: sWord15 = "darkness";                  break;

                    case 13: sWord15 = "giant";                             break;

                    case 14: sWord15 = "priest";                    break;

                    case 15: sWord15 = "healer";                    break;

                    case 16: sWord15 = "knight";                    break;

                    case 17: sWord15 = "paladin";                   break;

                    case 18: sWord15 = "king";                              break;

                    case 19: sWord15 = "prince";                    break;

                    case 20: sWord15 = "princess";                  break;

                    case 21: sWord15 = "angel";                             break;

                    case 22: sWord15 = "god";                               break;

                    case 23: sWord15 = "goddess";                   break;

                    case 24: sWord15 = "light";                             break;

                    case 25: sWord15 = "child";                             break;

                    case 26: sWord15 = "boy";                               break;

                    case 27: sWord15 = "girl";                              break;
                    }

                    string sWord16 = "king";
                    int    nWord16 = Utility.RandomMinMax(1, 8);
                    if (alignment == "evil")
                    {
                        nWord16 = Utility.RandomMinMax(4, 20);
                    }
                    switch (nWord16)
                    {
                    case 1: sWord16 = "dies";                               break;

                    case 2: sWord16 = "is slain";                   break;

                    case 3: sWord16 = "destroys us";                break;

                    case 4: sWord16 = "rises";                              break;

                    case 5: sWord16 = "is born";                    break;

                    case 6: sWord16 = "awakens";                    break;

                    case 7: sWord16 = "returns";                    break;

                    case 8: sWord16 = "is summoned";                break;

                    case 9: sWord16 = "destroys me";                break;

                    case 10: sWord16 = "destroys us";               break;

                    case 11: sWord16 = "kills us";                  break;

                    case 12: sWord16 = "kills me";                  break;

                    case 13: sWord16 = "defeats me";                break;

                    case 14: sWord16 = "defeats us";                break;

                    case 15: sWord16 = "stops us";                  break;

                    case 16: sWord16 = "stops me";                  break;

                    case 17: sWord16 = "ruins my plans";    break;

                    case 18: sWord16 = "foils my plans";    break;

                    case 19: sWord16 = "ruins our plans";   break;

                    case 20: sWord16 = "foils our plans";   break;
                    }

                    MoreSentence = " " + sWord12 + " the " + sWord15 + " " + sWord16;
                }
            }

            Quest = Quest + MoreSentence + ".";

            return(Quest);
        }
Example #7
0
 public static string ParchmentWriter()
 {
     return(RandomThings.GetRandomName());
 }