Ok i don't know if someone is able enough to fix this but here is the problem.

1) I changed all the taming BOD scripts to the same way the latest repo works.

2) I can create the smalls and larges has a GM, they fill, they turn in perfectly.

3) The larges are distributed correctly by the Animal Trainer.

4) The small ones do not distribute asking for a BOD, just nothing happens.

5) I am sure it's coming from the SmallTamingBOD.cs that is asking for the DefTamingCraft to pick.

I will post the file but i am looking for a way to get around this method, but something that still respect the latest repo system. This is the part i am talking about:

Code:
                CraftSystem system = DefTamingCraft.CraftSystem;

                List<SmallBulkEntry> validEntries = new List<SmallBulkEntry>();

                for (int i = 0; i < entries.Length; ++i)
                {
                    CraftItem item = system.CraftItems.SearchFor(entries[i].Type);

                    if (item != null)
                    {
                        bool allRequiredSkills = true;
                        double chance = item.GetSuccessChance(m, null, system, false, ref allRequiredSkills);

                        if (allRequiredSkills && chance >= 0.0)
                        {
                            if (chance > 0.0)
                                validEntries.Add(entries[i]);
                        }
                    }
                }
 

Attachments

  • SmallTamingBOD.cs
    5.3 KB · Views: 6
Back