コード例 #1
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var task = new TaskManufactureItem(QuestCookMoreFoodStage2.GetList(), count: 500, description: this.Name);

            tasks
            .Add(task);

            prerequisites
            .Add <QuestCookMoreFoodStage3>();
        }
コード例 #2
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeSmelting>())
            .Add(TaskBuildStructure.Require <ObjectFurnace>())
            .Add(TaskManufactureItem.Require <ItemIngotCopper>(count: 10));

            prerequisites
            .Add <QuestCollectHerbsAndCraftMedicine>();
        }
コード例 #3
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskManufactureItem.Require <IProtoItemFood>(count: 1,
                                                              description: this.Name))
            .Add(TaskUseItem.Require <IProtoItemFood>(count: 1,
                                                      description: TaskEatAnyFood));

            prerequisites
            .Add <QuestBuildACampfire>();
        }
コード例 #4
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var task = new TaskManufactureItem(GetList(), count: 100, description: this.Name);

            tasks
            .Add(task);

            prerequisites
            .Add <QuestCookMoreMushrooms>()
            .Add <QuestBuildAFarm>();
        }
コード例 #5
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskBuildStructure.Require <ObjectWaterCollector>())
            .Add(TaskManufactureItem.Require <ItemGlassRaw>(count: 50))
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeBottle>(count: 5));

            prerequisites
            .Add <QuestUnlockSkills>()
            .Add <QuestBuildFurnaceAndSmeltCopper>();
        }
コード例 #6
0
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks
     .Add(TaskManufactureItem.Require <ItemCoinPenny>())
     .Add(TaskManufactureItem.Require <ItemCoinShiny>());
 }