program
public PetPrograms.Program program(String species, String variant, List<PetBehaviorEntry> entries, String where)
The program for one variant of a species, from its list: the species' entries, then the variant's. where names the pet file in warnings. A module that is missing or failed to load is left out with a warning; a module listed twice runs once, with its first entry's settings. When the modules cannot all run together, they are added in list order and each one that clashes with those kept before it is left out with a warning, so the earlier entry wins. The creature loads either way, and the outcome is kept for the next call.