protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeFridgeEvaporator>())
            .Add(TaskBuildStructure.Require <ObjectFridgeEvaporator>());

            prerequisites
            .Add <QuestBuildMulchboxAndCraftWateringCan>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeWorkbench>())
            .Add(TaskBuildStructure.Require <ObjectWorkbench>());

            prerequisites
            .Add <QuestBuildABedroll>();
        }
Exemplo n.º 3
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeIronTools>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeAxeIron>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipePickaxeIron>());

            prerequisites
            .Add <QuestBuildFurnaceAndSmeltCopper>();
        }
        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>();
        }
Exemplo n.º 5
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskDestroy.Require <ObjectMineralSalt>(count: 5, description: TaskMineSalt))
            .Add(TaskGather.Require <ObjectBushOilpod>(count: 5))
            .Add(TaskHaveTechNode.Require <TechNodePetroleumFromOilpods>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeCanisterPetroleum>());

            prerequisites
            .Add <QuestCompleteTier2Technologies>();
        }
Exemplo n.º 6
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeBasicBuilding>())
            .Add(TaskHaveTechNode.Require <TechNodeWoodDoor>())
            .Add(TaskBuildStructure.Require <ObjectWallWood>())
            .Add(TaskBuildStructure.Require <ObjectDoorWood>());

            prerequisites
            .Add <QuestBuildAPermanentBase>();
        }
Exemplo n.º 7
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeFloorLampOil>())
            .Add(TaskHaveTechNode.Require <TechNodeOilLamp>())
            .Add(TaskBuildStructure.Require <ObjectLightFloorLampOil>())
            .Add(TaskUseItem.Require <ItemOilLamp>(count: 1))
            .Add(TaskHaveItem.Require <ItemCampFuel>(count: 1, isReversible: false));

            prerequisites
            .Add <QuestBuildEvaporativeFridge>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeHerbalRemedy>())
            .Add(TaskHaveItem.Require <ItemHerbGreen>(count: 2, isReversible: false))
            .Add(TaskHaveItem.Require <ItemMushroomRust>(count: 1, isReversible: false))
            .Add(TaskHaveItem.Require <ItemWaterbulb>(count: 1, isReversible: false))
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeHerbalRemedy>());

            prerequisites
            .Add <QuestLearnBasicBuilding>()
            .Add <QuestFindAndUseGreenHerb>();
        }
Exemplo n.º 9
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeLandClaimT1>())
            .Add(TaskBuildStructure.Require <ObjectLandClaimT1>())
            .Add(TaskRelocateAnyStructure.Require());

            prerequisites
            .Add <QuestCraftAndEquipClothArmor>()
            .Add <QuestPerformBasicActions>();

            hints
            .Add(HintStructureRelocation);
        }
Exemplo n.º 10
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeLandClaimT1>())
            .Add(TaskBuildStructure.Require <ObjectLandClaimT1>());
            // TODO: restore this for A28 as it will include the necessary localization of the task name
            //.Add(TaskRelocateAnyStructure.Require());

            prerequisites
            .Add <QuestCraftAndEquipClothArmor>()
            .Add <QuestPerformBasicActions>();

            hints
            .Add(HintStructureRelocation);
        }
Exemplo n.º 11
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeBagSmall>())

            .Add(TaskCraftRecipe.RequireStationRecipe(
                     new List <Recipe.RecipeForStationCrafting>()
            {
                Api.GetProtoEntity <RecipeBagSmall>(),
                Api.GetProtoEntity <RecipeBagLarge>()
            }, 1, this.Name));

            prerequisites
            .Add <QuestBuildAPermanentBase>();
        }
Exemplo n.º 12
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var listSeeds = Api.FindProtoEntities <IProtoItemSeed>();

            listSeeds.RemoveAll(i => i is IProtoItemSapling);

            tasks
            .Add(TaskHaveTechNode.Require <TechNodeFarmingBasics>())
            .Add(TaskBuildStructure.Require <ObjectFarmPlot>())
            .Add(TaskBuildStructure.Require <ObjectFarmingWorkbench>())
            .Add(TaskUseItem.Require(listSeeds, description: TaskPlantAnySeeds));

            prerequisites
            .Add <QuestCollectHerbsAndCraftMedicine>();
        }
Exemplo n.º 13
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeClothArmor>())
            // suggest cloth hat but require any head item
            .Add(TaskHaveItemEquipped.Require <IProtoItemEquipmentHead>(
                     string.Format(TaskHaveItemEquipped.DescriptionFormat,
                                   Api.GetProtoEntity <ItemClothHelmet>().Name)))
            // suggest cloth armor but require any armor item
            .Add(TaskHaveItemEquipped.Require <IProtoItemEquipmentArmor>(
                     string.Format(TaskHaveItemEquipped.DescriptionFormat,
                                   Api.GetProtoEntity <ItemClothArmor>().Name)));

            prerequisites
            .Add <QuestUnlockAndBuildWorkbench>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var protoItemHipbag = Api.GetProtoEntity <ItemHipbag>();

            tasks
            .Add(TaskHaveTechNode.Require <TechNodeHipbag>())

            .Add(TaskHaveItemEquipped.Require(new List <ProtoItemBackpack>()
            {
                Api.GetProtoEntity <ItemHipbag>(),
                Api.GetProtoEntity <ItemBackpackLarge>(),
                Api.GetProtoEntity <ItemBackpackMilitary>()
            }, this.Name));

            prerequisites
            .Add <QuestCraftAndEquipClothArmor>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var protoItemOilLamp           = GetProtoEntity <ItemOilLamp>();
            var protoItemBraidedHelmetLamp = GetProtoEntity <ItemBraidedHelmetLamp>();

            tasks
            .Add(TaskHaveTechNode.Require <TechNodeFloorLampOil>())
            .Add(TaskHaveTechNode.Require <TechNodeOilLamp>())
            .Add(TaskBuildStructure.Require <ObjectLightFloorLampOil>())
            .Add(TaskUseItem.Require(new IProtoItem[]
            {
                protoItemOilLamp,
                protoItemBraidedHelmetLamp
            },
                                     count: 1,
                                     description: string.Format(TaskUseItem.DescriptionFormat,
                                                                protoItemOilLamp.Name)))
            .Add(TaskHaveItem.Require <ItemCampFuel>(count: 1, isReversible: false));

            prerequisites
            .Add <QuestBuildEvaporativeFridge>();
        }
Exemplo n.º 16
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeBasicBuilding>())
            .Add(TaskHaveTechNode.Require <TechNodeWoodDoor>())
            .Add(TaskBuildStructure.Require <ObjectWallWood>())
            .Add(TaskBuildStructure.Require <ObjectDoorWood>());

            prerequisites
            .Add <QuestBuildAPermanentBase>();

            hints
            .Add(() =>
            {
                var keyForButton =
                    InputKeyNameHelper.GetKeyText(
                        ClientInputManager.GetKeyForButton(GameButton.TechnologiesMenu));
                return(string.Format(HintTechMenu, keyForButton));
            })
            .Add(HintTechUnlock)
            .Add(HintLPGain);
        }