public static void PopulateLocList()
        {
            ILocation house = new ILocation(LOCN_ID_HOUSE, "Your House", "This is your home.", 0, 0)
            {
                Discovered = true,
                Revealed   = true
            };

            ILocation forest = new ILocation(LOCN_ID_FOREST, "Forest", "It's very quiet and shady.", 1, 0)
            {
                MonsterHere      = IMonster.MonsterID(2),
                Discovered       = true,
                QuestReqToSearch = IQuest.QuestID(4),
                ItemHere         = IItem.ItemID(104),
                AfterSearchText  = "When your hand touches the mushroom, you hear an angry growl in the distance."
            };

            ILocation deepforest = new ILocation(LOCN_ID_DEEP_FOREST, "Deep Forest", "It's dark and damp this far into the woods.", 2, 0)
            {
                MonsterHere      = IMonster.MonsterID(1),
                QuestReqToSearch = IQuest.QuestID(4),
                ItemHere         = IItem.ItemID(104),
                AfterSearchText  = "As you pick the mushroom, a huge shape rises and knocks you over, before disappearing away to the east. When you look down at your clothes, they are covered in mushroom spores, which you shake off."
            };

            ILocation spidernest = new ILocation(LOCN_ID_SPIDER_NEST, "Spider's Nest", "There are webs everywhere...", 1, 1)
            {
                MonsterHere = IMonster.MonsterID(3)
            };

            ILocation graveyard = new ILocation(LOCN_ID_GRAVEYARD, "Graveyard", "It's always eerie walking through a graveyard in the dark.", 1, -1)
            {
                MonsterHere = IMonster.MonsterID(0)
            };

            ILocation mushroomgrove = new ILocation(LOCN_ID_MUSHROOM_GROVE, "Mushroom Grove", "Countless small mushrooms are growing on trees and underfoot.", 2, 1)
            {
                QuestReqToSearch = IQuest.QuestID(5),
                BossHere         = IMonster.MonsterID(4),
                AfterSearchText  = "During your search, you accidentally step on one of the faintly glowing mushrooms on the ground. There is a howl of rage from behind you, and a huge mushroom turns and charges you!"
            };

            ILocation hut = new ILocation(LOCN_ID_ALCHEMIST_HOUSE, "Hut", "There is a sign outside that says \"Fizzlebrew Alchemy\". Blue smoke is coming out of the chimney.", 3, 0)
            {
                QuestReqToSearch = IQuest.QuestID(4),
                ItemHere         = IItem.ItemID(104),
                AfterSearchText  = "After you put the mushroom in your bag, you think you see a lumpy shadow shambling into the woods.",
                NpcHere          = INpc.NpcID(0)
            };

            LocList.Add(house);
            LocList.Add(forest);
            LocList.Add(deepforest);
            LocList.Add(spidernest);
            LocList.Add(graveyard);
            LocList.Add(hut);
            LocList.Add(mushroomgrove);
        }
Beispiel #2
0
        public static void PopulateNpcList()
        {
            INpc alchemist = new INpc(NPC_ID_ALCHEMIST, "Alchemist Fizzlebrew")
            {
                Greetings  = "Hello, traveller! I haven't got any potions in stock at the moment.",
                GiveQuests = { IQuest.QuestID(0), IQuest.QuestID(3), IQuest.QuestID(4), IQuest.QuestID(5) }
            };

            NpcList.Add(alchemist);
        }
Beispiel #3
0
        public static void PopulateQuestList()
        {
            IQuest RAT_TAILS = new IQuest(QUEST_ID_RATSTAILS, "Rat Catching", 10, 0)
            {
                ItemToComplete = new IQuestItem(IItem.ItemID(100), 5),
                QuestDesc      = "Bring the alchemist 5 rat tails.",
                QuestDialogue  = "Hello traveller! \n\nI don't have any potions at the moment, but we can make some together! I'm very old though, so you'll have to gather the ingredients for me." +
                                 "\n\nFirst, I need 5 tails from the giant rats in the graveyard.",
                RewardDialogue = "Excellent, these will do fine."
            };

            IQuest SPIDER_FANGS = new IQuest(QUEST_ID_SPIDERFANGS, "Spider Venom", 10, 0)
            {
                ItemToComplete = new IQuestItem(IItem.ItemID(103), 10),
                QuestDesc      = "Bring the alchemist 10 spider fangs.",
                QuestDialogue  = "Next I need some spider venom. Don't look at me like that, it's a normal part of a healing potion." +
                                 "\n\nI'll need 10 fangs - that's 5 pairs. Once I have them I'll extract the venom from inside them.",
                RewardDialogue = "Very nice, I'll start drawing out the venom.",
                QuestPreReq    = IQuest.QuestID(0)
            };

            IQuest MUSHROOM_PICKING = new IQuest(QUEST_ID_MUSHROOMS, "Fungus Hunting", 10, 0)
            {
                ItemToComplete = new IQuestItem(IItem.ItemID(104), 3),
                QuestDesc      = "Bring the alchemist 3 mushrooms.",
                QuestDialogue  = "Now, the last ingredient will be a particular mushroom that grows in the forests around here. I think 3 large ones will do." +
                                 "Be careful though - last time I sent someone to find some they didn't come back...",
                RewardDialogue = "A giant...mushroom? How odd.",
                QuestPreReq    = IQuest.QuestID(3)
            };

            IQuest MUSHROOM_SLAYING = new IQuest(QUEST_ID_MUSHROOMBOSS, "Fungus Hunting, Round 2", 30, 15)
            {
                ItemToComplete = new IQuestItem(IItem.ItemID(105), 1),
                QuestDesc      = "Defeat the Mushroom Monster.",
                QuestDialogue  = "I think that giant monster shroom must have killed my last apprentice!" +
                                 "Can you hunt down that monster and kill it? I'll pay you for your trouble, and you can have the potions for free too!",
                RewardDialogue = "\"Horace\"...so he really wasn't just hallucinating when he said a mushroom chased him around. " +
                                 "As promised, here's your gold and the potions. Thank you, adventurer!",
                QuestPreReq = IQuest.QuestID(4),
                RewardItem  = new InventoryItem(IItem.ItemID(201), 5)
            };

            QuestList.Add(RAT_TAILS);
            QuestList.Add(SPIDER_FANGS);
            QuestList.Add(MUSHROOM_PICKING);
            QuestList.Add(MUSHROOM_SLAYING);
        }