示例#1
0
文件: Location.cs 项目: RolfLobo/RPG
 public Location(int id, string Name, string Des, Item itemrequiredtoenter = null, Mission availablemission = null, Creature creaturepresent = null)
 {
     ID = id;
     name = Name;
     des = Des;
     ItemRequiredToEnter = itemrequiredtoenter;
     AvailableMission = availablemission;
     CreaturePresent = creaturepresent;
 }
示例#2
0
文件: World.cs 项目: RolfLobo/RPG
        private static void PopulateMissions()
        {
            Mission clearHerasGarden =
                new Mission(
                    MISSION_ID_CLEAR_HERA_GARDEN,
                    "Rid of Infestation",
                    "There are 5 Skeevers in the garden. Kill the rodents to get rid of the infestation. You will receive 3 healing potions and 30 orichalcum pieces.", 30, 20);

            clearHerasGarden.MissionCompletionItems.Add(new MissionCompletionItem(ItemByID(ITEM_ID_SKEEVER_TAIL), 3));

            clearHerasGarden.RewardItem = ItemByID(ITEM_ID_HEALING_ELIXIR);

            Mission clearElysium =
                new Mission(
                    MISSION_ID_CLEAR_ELYSIUM,
                    "Clear Elysium of the hounds",
                    "Kill the terrorizing death hounds . You will receive an adventurer's pass and 20 gold pieces.", 20, 20);

            clearElysium.MissionCompletionItems.Add(new MissionCompletionItem(ItemByID(ITEM_ID_DEATH_HOUND_TOOTH), 3));

            clearElysium.RewardItem = ItemByID(ITEM_ID_ADVENTURER_PASS);

            Missions.Add(clearHerasGarden);
            Missions.Add(clearElysium);
        }
示例#3
0
 public PlayerMission(Mission details)// boolean determines if mission is completed or not. True will be stored upon completion
 {
     Details     = details;
     IsCompleted = false;
 }
示例#4
0
 public PlayerMission(Mission details)
 {
     Details = details;
     IsCompleted = false;
 }