Ejemplo n.º 1
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks.Add(TaskDestroy.Require <ObjectMineralGiantPragmiumSource>(count: 1));;

            prerequisites
            .Add <QuestMinePragmiumSource>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks.Add(TaskDestroy.Require <ObjectMineralPragmiumSource>(count: 5));;

            prerequisites
            .Add <QuestMineMoreMineralsStage3>()
            .Add <QuestAcquirePragmium>();
        }
Ejemplo n.º 3
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskDestroy.Require <IProtoObjectTree>(count: 3, description: this.Name));

            prerequisites
            .Add <QuestCraftAnAxe>();
        }
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            var listMinerals = Api.FindProtoEntities <IProtoObjectMineral>();

            tasks.Add(TaskDestroy.Require(list: listMinerals, count: 2000, description: this.Name));

            prerequisites
            .Add <QuestMineMoreMineralsStage3>();
        }
Ejemplo n.º 5
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            tasks
            .Add(TaskDestroy.Require <ObjectMineralPragmiumSource>(count: 1))
            .Add(TaskDestroy.Require <ObjectMineralPragmiumNode>(count: 5))
            .Add(TaskHaveItem.Require <ItemOrePragmium>(count: 10, isReversible: false));

            prerequisites
            .Add <QuestCompleteTier2Technologies>();
        }
Ejemplo n.º 6
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>();
        }
Ejemplo n.º 7
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            ITextureResource icon = null;

            if (IsClient)
            {
                icon = Api.GetProtoEntity <ObjectSandTyrantRemains>().Icon;
            }

            tasks
            .Add(TaskDestroy.Require <ObjectSandTyrantRemains>(count: 1).WithIcon(icon));

            prerequisites
            .Add <QuestDesertPrincessRemains>();
        }
Ejemplo n.º 8
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            ITextureResource icon = null;

            if (IsClient)
            {
                icon = Api.GetProtoEntity <ObjectPragmiumKingRemains>().Icon;
            }

            tasks
            .Add(TaskDestroy.Require <ObjectPragmiumKingRemains>(count: 1).WithIcon(icon));

            prerequisites
            .Add <QuestPragmiumQueenRemains>()
            .Add <QuestSandTyrantRemains>()
            .Add <QuestCookMoreFoodStage4>()
            .Add <QuestMineMoreMineralsStage4>();
        }
Ejemplo n.º 9
0
        protected override void PrepareQuest(QuestsList prerequisites, TasksList tasks, HintsList hints)
        {
            // minerals without stone (as it has a separate requirement)
            var listMinerals = Api.FindProtoEntities<IProtoObjectMineral>();
            listMinerals.Remove(Api.GetProtoEntity<ObjectMineralStone>());

            tasks
                .Add(TaskVisitTile.Require<TileRocky>())
                .Add(TaskDestroy.Require(list: listMinerals, count: 3, description: this.Name)
                                .WithIcon(Api.IsClient
                                              ? ClientItemIconHelper.CreateComposedIcon(this.ShortId,
                                                                                        Api.GetProtoEntity<ObjectMineralIron>().Icon,
                                                                                        Api.GetProtoEntity<ObjectMineralCopper>().Icon)
                                              : null))
                .Add(TaskDestroy.Require<ObjectMineralStone>(count: 3, description: TaskMineStone));

            prerequisites
                .Add<QuestCraftAPickaxe>();
        }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks.Add(TaskDestroy.Require <ObjectMineralPragmiumSource>());
 }
 protected override void PrepareAchievement(TasksList tasks)
 {
     tasks
     .Add(TaskDestroy.Require <ObjectMeteorite>());
 }