Package-level declarations
Types
Link copied to clipboard
The pet behavior modules: every .lua file under the pet_behaviors folder, the shipped defaults among them.
Link copied to clipboard
The shipped behavior modules on disk: writing one into the pet_behaviors folder, as load asks its writer to, and clearing what an interrupted write left there.
Link copied to clipboard
One line of a pet file's behaviors list: a module by its file name, and the settings this creature gives it.
Link copied to clipboard
A module's declared setting defaults with one creature's values on top, and the table Lua reads them from.
Link copied to clipboard
Values from a pet file written back the way the file would write them, for warnings server owners read.
Link copied to clipboard
Logs a failed pet Mind callback once per program, callback and kind of failure until clear, which each load calls: a module failing on every tick of a hundred pets says so once.
Link copied to clipboard
One Mind program per species and variant, assembled from the catalog's modules and built once, with the settings each module reads as c.settings.