PetBehaviorEntry
One line of a pet file's behaviors list: a module by its file name, and the settings this creature gives it.
Functions
Link copied to clipboard
public static List<PetBehaviorEntry> overlay(List<PetBehaviorEntry> species, List<PetBehaviorEntry> variant)
A variant's entries over its species' list: a module both lists name keeps its place and takes the variant's settings on top of the species', except that a setting the variant leaves without a value keeps the species' value when it has one; the variant's other modules follow the species' own.
Link copied to clipboard
Reads a behaviors list: each item is a module name, or a one-key map from a module name to its settings.