references

What a resource names and what names it. uses: every field of the resource (a template, a conversation, a plot, a data table’s cells) whose text is another resource’s name, with or without its extension, and the string ids it holds. A data table of a worksheet DAOLib’s schema has (worksheet) and a template of a kind it has (schema: utc) are read by what each field holds: a string id whatever its name, a file of the field’s one extension, and rows, each a row of another table its field names (a creature’s appearance, race, talents) with that table’s name for it (label, or the column label_column says). Other fields are guessed, a string id by a name ending in strref. used_by: with used_by_types, every file of those types with a field naming this resource. Follows a creature to its conversation and scripts, a table row to its models.

Read-only: it writes nothing.

Arguments

Name Type Required What
name string yes The resource, with its extension: “ogre_default.utc”.
used_by_types array   Search every file of these types for what names this resource: [“utc”, “dlg”]. Default: none, which only answers what it names.
source string   Which copy, by its source.
archive string   Which copy, by its archive’s path.
limit integer (≥ 1)   The most of each list. Default 100.

Call it as references over MCP, or from a shell as ghilana.exe --call references '<arguments as JSON>'.