Read an object's XML
get_objectRetrieve a Mount & Blade II: Bannerlord object's XML, revealing the winning module definition, other definitions, XSLT patches, and file path by reference or bare ID.
Instructions
Returns the XML of a game object, e.g. ref='Item.empire_sword_1_t2', 'NPCCharacter.imperial_recruit', 'Culture.empire' or a bare id. Shows which module's definition wins (load order), other definitions, XSLT patches that touch it and the absolute file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Object reference 'Prefix.id' (Item.x, NPCCharacter.x, Faction.x, …) or a bare id. | |
| lang | No | Show the translated name in this language (e.g. CNs). | |
| module | No | Only show the definition from this module. | |
| all_definitions | No | Show the XML of every definition, not only the effective one (default false). |