예제 #1
0
        private static void PopulateQuests()
        {
            //Quest getOut = new Quest(QUEST_ID_GET_OUT_OF_DODGE, "Get out of dodge", "You awoke to the sound of your window breaking. Looking through the broken window, you see corpses littering your neighborhood street. It appears you have slept through the apocalypse. Get the hell out of there!", 5, 2);
            Quest findCar = new Quest(QUEST_ID_FIND_A_CAR, "Find a car", "Find a car to be able to" +
                                      " travel longer distances.", 10, 5, Items[ITEM_ID_BASIC_MEDPACK]);

            findCar.addCompleteItem(new QuestCompleteItem(ItemByID(ITEM_ID_CAR_KEYS), 1));
            //Quest travelWilmington = new Quest(QUEST_ID_TRAVEL_TO_WILMINGTON, "Get to Wilmington", "You have a car. Make your way to the coast. Don't run out of gas.", 10, 0);
            Quest defeatAdmiral = new Quest(QUEST_ID_DEFEAT_THE_ADMIRAL, "Commeandeer the boat.",
                                            "There's only one seaworthy boat left at the port. It appears to be currently owned" +
                                            " by a ragtag militia ran by 'The Admiral', find a way to take it from them.",
                                            20, 30, Items[ITEM_ID_ADVANCED_MEDPACK]);

            defeatAdmiral.addCompleteItem(new QuestCompleteItem(ItemByID(ITEM_ID_SHIP_KEYS), 1));
            Quest getGas = new Quest(QUEST_ID_GET_GAS, "Find and get gas", "The engine is " +
                                     "remarkably weaker. The gas gauge is broken, but its safe to say it's time to" +
                                     " fill up", 5, 0, Items[ITEM_ID_ADVANCED_MEDPACK]);

            getGas.addCompleteItem(new QuestCompleteItem(ItemByID(ITEM_ID_GAS), 1));
            //Quests.Add(getOut);
            Quests.Add(findCar);
            //Quests.Add(travelWilmington);
            Quests.Add(defeatAdmiral);
            Quests.Add(getGas);
        }