Search game objects
search_objectsSearch Mount & Blade II module XML objects like items, troops, heroes, and kingdoms by ID, name, or attributes. Chinese queries match simplified names; results show module file and key attributes.
Instructions
Searches every module's XML objects (items, troops, heroes, clans, kingdoms, settlements, cultures, crafting pieces, party templates, strings, …) by id / name and attribute filters. Chinese queries also match the 简体中文 names. Returns 'Tag.id "Name" — module file:line | key attributes'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Also show/match translated names in this language (CNs, zh, 简体中文, RU, …). | |
| type | No | Tag or reference prefix, e.g. Item (includes CraftedItem), NPCCharacter, Hero, Faction, Kingdom, Settlement, Culture, PartyTemplate, CraftingPiece. Comma list allowed. | |
| limit | No | Max results (default 30, max 200). | |
| query | No | Substring of id or name (case-insensitive), or /regex/. Optional when type/where is given. | |
| where | No | Attribute filters on the object element: culture=Culture.empire, Type=OneHandedWeapon, level>20, is_hero=true, name~sword, tier?, !culture | |
| module | No | Module filter: id, comma list, official | mods | writable | workshop. Default: all. | |
| offset | No | Skip this many results (paging). |