It looks like Seakomb Seed is specifically excluded from Pacu's diet, which seems weird?
public static List<Diet.Info> SeedDiet( Tag poopTag, float caloriesPerSeed, float producedConversionRate) { List<Diet.Info> infoList = new List<Diet.Info>(); foreach (GameObject gameObject in Assets.GetPrefabsWithComponent<PlantableSeed>()) { GameObject prefab = Assets.GetPrefab(gameObject.GetComponent<PlantableSeed>().PlantID); KPrefabID component1 = gameObject.GetComponent<KPrefabID>(); if (!prefab.HasTag(GameTags.DeprecatedContent) && !component1.HasTag((Tag) "KelpPlantSeed")) { SeedProducer component2 = prefab.GetComponent<SeedProducer>(); if ((UnityEngine.Object) component2 == (UnityEngine.Object) null || component2.seedInfo.productionType == SeedProducer.ProductionType.Harvest || component2.seedInfo.productionType == SeedProducer.ProductionType.Crop || component2.seedInfo.productionType == SeedProducer.ProductionType.HarvestOnly) infoList.Add(new Diet.Info(new HashSet<Tag>() { new Tag(component1.GetComponent<KPrefabID>().PrefabID()) }, poopTag, caloriesPerSeed, producedConversionRate)); } } return infoList; }
Steps to Reproduce
See above
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now