protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { var headEquipmentExceptCloth = Api.FindProtoEntities <IProtoItemEquipmentHead>() .Where(i => !(i is ItemClothHat)) .ToList(); var chestEquipmentExceptCloth = Api.FindProtoEntities <IProtoItemEquipmentChest>() .Where(i => !(i is ItemClothShirt)) .ToList(); var legsEquipmentExceptCloth = Api.FindProtoEntities <IProtoItemEquipmentLegs>() .Where(i => !(i is ItemClothPants)) .ToList(); requirements .Add(RequirementBuildStructure.Require <ObjectArmorerWorkbench>()) // suggest wood helmet but require any head item except the cloth one .Add(RequirementHaveItemEquipped.Require( headEquipmentExceptCloth, string.Format(RequirementHaveItemEquipped.DescriptionFormat, Api.GetProtoEntity <ItemWoodHelmet>().Name))) // suggest wood chestplate but require any chest item except the cloth one .Add(RequirementHaveItemEquipped.Require( chestEquipmentExceptCloth, string.Format(RequirementHaveItemEquipped.DescriptionFormat, Api.GetProtoEntity <ItemWoodChestplate>().Name))) // suggest wood pants but require any legs item except the cloth one .Add(RequirementHaveItemEquipped.Require( legsEquipmentExceptCloth, string.Format(RequirementHaveItemEquipped.DescriptionFormat, Api.GetProtoEntity <ItemWoodPants>().Name))); prerequisites .Add <QuestExploreBiomes1>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectBedroll>()); prerequisites .Add <QuestLearnBasicBuilding>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectCampfire>()); prerequisites .Add <QuestCraftAToolbox>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeFridgeEvaporator>()) .Add(RequirementBuildStructure.Require <ObjectFridgeEvaporator>()); prerequisites .Add <QuestBuildMulchboxAndCraftWateringCan>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeSmelting>()) .Add(RequirementBuildStructure.Require <ObjectFurnace>()) .Add(RequirementManufactureItem.Require <ItemIngotCopper>(count: 10)); prerequisites .Add <QuestBuildAPermanentBase>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectGeneratorSteam>()) .Add(RequirementBuildStructure.Require <ObjectPowerStorage>()) .Add(RequirementBuildStructure.Require <ObjectLightFloorLampSmall>()); prerequisites .Add <QuestBuildChemicalLab>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectChemicalLab>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeAcidSulfuricFromPyrite>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeAcidNitric>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeNitrocellulosePowder>()); prerequisites .Add <QuestCompleteTier1Technologies>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectArmorerWorkbench>()) .Add(RequirementHaveItemEquipped.Require <ItemWoodHelmet>()) .Add(RequirementHaveItemEquipped.Require <ItemWoodChestplate>()) .Add(RequirementHaveItemEquipped.Require <ItemWoodPants>()); prerequisites .Add <QuestClaySandGlassBottlesWaterCollector>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeWateringCanWood>()) .Add(RequirementBuildStructure.Require <ObjectMulchbox>()) .Add(RequirementUseItem.Require <IProtoItemToolWateringCan>(description: TaskUseWateringCan)) .Add(RequirementUseItem.Require <ItemMulch>(description: TaskUseMulch)); prerequisites .Add <QuestBuildAFarm>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectMedicalLab>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeBandage>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeStrengthBoostSmall>()) .Add(RequirementUseItem.Require <ItemStrengthBoostSmall>()); prerequisites .Add <QuestCompleteTier1Technologies>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeFarmingBasics>()) .Add(RequirementBuildStructure.Require <ObjectFarmPlot>()) .Add(RequirementBuildStructure.Require <ObjectFarmingWorkbench>()) .Add(RequirementUseItem.Require <IProtoItemSeed>(description: TaskPlantAnySeeds)); prerequisites .Add <QuestBuildAPermanentBase>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectWeaponWorkbench>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeAmmoPaperCartridge>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeMusket>()) .Add(RequirementUseItem.Require <ItemMusket>()); prerequisites .Add <QuestCraftIronTools>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeWorkbench>()) .Add(RequirementBuildStructure.Require <ObjectWorkbench>()); prerequisites .Add <QuestBuildABedroll>() .Add <QuestSecureBasicWaterSource>() .Add <QuestCraftATorch>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeFloorLampOil>()) .Add(RequirementHaveTechNode.Require <TechNodeOilLamp>()) .Add(RequirementBuildStructure.Require <ObjectLightFloorLampOil>()) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeOilLamp>()) .Add(RequirementManufactureItem.Require <ItemCampFuel>(count: 3)); prerequisites .Add <QuestBuildEvaporativeFridge>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementHaveTechNode.Require <TechNodeLandClaimT1>()) .Add(RequirementBuildStructure.Require <ObjectLandClaimT1>()) .Add(RequirementBuildStructure.Require <ObjectWallWood>()) .Add(RequirementBuildStructure.Require <ObjectDoorWood>()); prerequisites .Add <QuestCraftAndEquipClothArmor>() .Add <QuestCollectHerbsAndCraftMedicine>(); }
protected override void PrepareQuest(QuestsList prerequisites, RequirementsList requirements) { requirements .Add(RequirementBuildStructure.Require <ObjectWaterCollector>()) .Add(RequirementHaveItem.Require <ItemSand>(count: 50, isReversible: false)) .Add(RequirementHaveItem.Require <ItemAsh>(count: 10, isReversible: false)) .Add(RequirementManufactureItem.Require <ItemGlassRaw>(count: 50)) .Add(RequirementCraftRecipe.RequireStationRecipe <RecipeBottle>(count: 5)); prerequisites .Add <QuestExploreBiomes1>() .Add <QuestBuildFurnaceAndSmeltCopper>(); }