protected override void PrepareAchievement(TasksList tasks)
 {
     tasks
     .Add(TaskCraftRecipe.RequireStationRecipe <RecipeAxeSteel>())
     .Add(TaskCraftRecipe.RequireStationRecipe <RecipePickaxeSteel>())
     .Add(TaskCraftRecipe.RequireStationRecipe <RecipeToolboxT3>());
 }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var recipeMusket          = Api.GetProtoEntity <RecipeMusket>();
            var recipeFlintlockPistol = Api.GetProtoEntity <RecipeFlintlockPistol>();

            tasks
            .Add(TaskBuildStructure.Require <ObjectWeaponWorkbench>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeAmmoPaperCartridge>(
                     description: CraftPaperCartridge))
            .Add(TaskCraftRecipe.RequireStationRecipe(
                     new List <Recipe.RecipeForStationCrafting>()
            {
                recipeMusket,
                recipeFlintlockPistol
            },
                     description: CraftMusketOrFlintlockPistol)
                 .WithIcon(ClientItemIconHelper.CreateComposedIcon(this.ShortId,
                                                                   recipeFlintlockPistol.Icon,
                                                                   recipeMusket.Icon)))
            .Add(TaskUseItem.Require <IProtoItemWeaponRanged>(
                     description: FireTheWeapon));

            prerequisites
            .Add <QuestUseCrowbarAndDeconstructBuilding>();
        }
        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>();
        }
Example #4
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeCrowbar>())
            .Add(TaskDeconstructStructure.Require <IProtoObjectStructure>(
                     description: this.Name));

            prerequisites
            .Add <QuestCraftIronTools>();
        }
Example #5
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var recipeDroneControlStandard     = Api.GetProtoEntity <RecipeDroneControlStandard>();
            var recipeDroneControlAdvanced     = Api.GetProtoEntity <RecipeDroneControlAdvanced>();
            var recipeDroneIndustrialStandard  = Api.GetProtoEntity <RecipeDroneIndustrialStandard>();
            var recipeDroneIndustrialAdvanced  = Api.GetProtoEntity <RecipeDroneIndustrialAdvanced>();
            var protoItemRemoteControlStandard = Api.GetProtoEntity <ItemDroneControlStandard>();

            // require crafting any drone control
            tasks.Add(
                TaskCraftRecipe.RequireStationRecipe(
                    new List <Recipe.RecipeForStationCrafting>()
            {
                recipeDroneControlStandard,
                recipeDroneControlAdvanced
            },
                    count: 1,
                    description: TaskCraftRecipe.AppendRecipeLocationIfNecessary(
                        TaskCraftRecipe.DescriptionTitlePrefix + " " + recipeDroneControlStandard.Name,
                        recipeDroneControlStandard))
                .WithIcon(recipeDroneControlStandard.Icon));

            // require crafting any drone (an item)
            tasks.Add(
                TaskCraftRecipe.RequireStationRecipe(
                    new List <Recipe.RecipeForStationCrafting>()
            {
                recipeDroneIndustrialStandard,
                recipeDroneIndustrialAdvanced
            },
                    count: 1,
                    description: TaskCraftRecipe.AppendRecipeLocationIfNecessary(
                        TaskCraftRecipe.DescriptionTitlePrefix
                        + " "
                        + recipeDroneIndustrialStandard.Name,
                        recipeDroneIndustrialStandard))
                .WithIcon(recipeDroneIndustrialStandard.Icon));

            // require using any drone item
            tasks.Add(
                TaskUseItem.Require(
                    Api.FindProtoEntities <IProtoItemDroneControl>(),
                    count: 1,
                    description: string.Format(TaskUseItem.DescriptionFormat,
                                               protoItemRemoteControlStandard.Name))
                .WithIcon(Api.GetProtoEntity <ItemDroneControlStandard>().Icon));

            prerequisites
            .Add <QuestAdvancedResourcesAcquisition>();

            hints
            .Add(HintDroneTasks)
            .Add(HintDroneControl)
            .Add(HintDroneUsage);
        }
Example #6
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskBuildStructure.Require <ObjectChemicalLab>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeAcidSulfuric>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeAcidNitric>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeNitrocellulosePowder>());

            prerequisites
            .Add <QuestCompleteTier1Technologies>();
        }
Example #7
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskBuildStructure.Require <ObjectMedicalLab>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeBandage>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeStrengthBoostSmall>())
            .Add(TaskUseItem.Require <ItemStrengthBoostSmall>());

            prerequisites
            .Add <QuestCompleteTier1Technologies>();
        }
        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>();
        }
Example #9
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>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveTechNode.Require <TechNodeFloorLampOil>())
            .Add(TaskHaveTechNode.Require <TechNodeOilLamp>())
            .Add(TaskBuildStructure.Require <ObjectLightFloorLampOil>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeOilLamp>())
            .Add(TaskHaveItem.Require <ItemCampFuel>(count: 3, 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>();
        }
Example #12
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeWateringCanWood>())
            .Add(TaskBuildStructure.Require <ObjectMulchbox>())
            .Add(TaskUseItem.Require <IProtoItemToolWateringCan>(description: TaskUseWateringCan)
                 .WithIcon(Api.GetProtoEntity <ItemWateringCanWood>().Icon))
            .Add(TaskUseItem.Require <ItemMulch>(description: TaskUseMulch));

            prerequisites
            .Add <QuestBuildAFarm>()
            .Add <QuestClaySandGlassBottlesWaterCollector>();
        }
Example #13
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>();
        }
Example #14
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeFishingRod>())
            .Add(TaskCraftRecipe.RequireStationRecipe <RecipeFishingBaitInsects>())
            .Add(TaskCatchFish.Require <IProtoItemFish>(count: 3, description: TaskCatchAnyFish))
            .Add(TaskUseItem.Require <IProtoItemFish>(count: 3, description: TaskCutAnyFish));

            prerequisites
            .Add <QuestEstablishPowerGrid>();

            hints
            .Add(HintFillet)
            .Add(HintWaterTypes)
            .Add(HintSkill);
        }
Example #15
0
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskCraftRecipe.RequireStationRecipe <RecipeHammerPragmium>());
     tasks.Add(TaskUseItem.Require <ItemHammerPragmium>());
 }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskCraftRecipe.RequireStationRecipe <RecipeHerbalRemedy>());
     tasks.Add(TaskUseItem.Require <ItemRemedyHerbal>());
 }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskCraftRecipe.RequireStationRecipe <RecipeMedkit>());
     tasks.Add(TaskUseItem.Require <ItemMedkit>());
 }