protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveItemEquipped.Require <ItemHuntersTools>())
            .Add(TaskKill.Require <MobPangolin>(count: 1))
            .Add(TaskKill.Require <MobTropicalBoar>(count: 1))
            .Add(TaskKill.Require <MobTurtle>(count: 1))
            .Add(TaskKill.Require <MobSnakeGreen>(count: 1));

            prerequisites
            .Add <QuestMasterHunter1>();
        }
Exemple #2
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)
        {
            tasks
            .Add(TaskHaveItemEquipped.Require <ItemHelmetRespirator>())
            .Add(TaskVisitTile.Require <TileRuins>())
            .Add(TaskGather.Require(
                     // All loot containers but not loot piles (IsAutoTakeAll => false)
                     Api.FindProtoEntities <ProtoObjectLootContainer>()
                     .Where(p => !p.IsAutoTakeAll)
                     .ToList(),
                     count: 5,
                     TaskGatherLoot)
                 .WithIcon(Api.GetProtoEntity <ObjectLootCrateIndustrial>().Icon));

            prerequisites
            .Add <QuestCompleteTier1Technologies>();
        }
        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>();
        }
Exemple #5
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskHaveItemEquipped.Require <ItemHelmetRespirator>())
            .Add(TaskVisitTile.Require <TileRuins>())
            .Add(TaskGather.Require(new IProtoObjectGatherable[]
            {
                Api.GetProtoEntity <ObjectLootCrateFood>(),
                Api.GetProtoEntity <ObjectLootCrateHightech>(),
                Api.GetProtoEntity <ObjectLootCrateIndustrial>(),
                Api.GetProtoEntity <ObjectLootCrateMedical>(),
                Api.GetProtoEntity <ObjectLootCrateMilitary>(),
                Api.GetProtoEntity <ObjectLootCrateSupply>()
            },
                                    count: 5,
                                    TaskGatherLoot));

            prerequisites
            .Add <QuestCompleteTier1Technologies>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var headEquipmentExceptCloth = Api.FindProtoEntities <IProtoItemEquipmentHead>()
                                           .Where(i => !(i is ItemClothHelmet))
                                           .ToList();

            var chestEquipmentExceptCloth = Api.FindProtoEntities <IProtoItemEquipmentArmor>()
                                            .Where(i => !(i is ItemClothArmor))
                                            .ToList();

            tasks
            .Add(TaskBuildStructure.Require <ObjectArmorerWorkbench>())
            // suggest wood helmet but require any head item except the cloth one
            .Add(TaskHaveItemEquipped.Require(
                     headEquipmentExceptCloth,
                     EquipAnyHelmet))
            // suggest wood armor but require any armor item except the cloth one
            .Add(TaskHaveItemEquipped.Require(
                     chestEquipmentExceptCloth,
                     EquipAnyArmor));

            prerequisites
            .Add <QuestExploreBiomes1>();
        }
Exemple #7
0
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskHaveItemEquipped.Require <ItemPragmiumSuit>());
 }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskHaveItemEquipped.Require <ItemGoldArmor>());
     tasks.Add(TaskHaveItemEquipped.Require <ItemGoldHelmet>());
 }
Exemple #9
0
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskHaveItemEquipped.Require <ItemHelmetNightVisionAdvanced>());
 }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskHaveItemEquipped.Require <ItemHelmetRespirator>());
 }