protected override TechData GetBlueprintRecipe() { QuickLogger.Debug($"Creating recipe..."); // Create and associate recipe to the new TechType var customFabRecipe = new TechData() { craftAmount = 1, Ingredients = new List <Ingredient>() { new Ingredient(TechTypeHelpers.GetTechType("HabitatSystemPanelKit_HSP"), 1) } }; return(customFabRecipe); }
internal void SetEquipment(FuelType tank) { var techType = TechTypeHelpers.GetTechType(tank); if (techType == TechType.None) { return; } var getTank = CraftData.GetPrefabForTechType(techType); #if SUBNAUTICA _equipment.AddItem(Configuration.Configuration.SlotIDs[0], new InventoryItem(getTank.GetComponent <Pickupable>().Pickup(false))); #elif BELOWZERO Pickupable pickupable = getTank.GetComponent <Pickupable>(); pickupable.Pickup(false); _equipment.AddItem(Configuration.Configuration.SlotIDs[0], new InventoryItem(pickupable)); #endif }