Items
Every item class of Kingdom Come: Deliverance II - 5604 classes from the game’s Tables.pak
(Libs/Tables/item/item*.xml, Tables.pak), one page per category. The category is the
table’s row type - the word FindItems matches and [audit] guarded_categories in server.toml names.
A script or a chat command names an item by any of four keys:
- the id -
GivePlayerItem(pid, 2492),/give 2492: the class’s place in the name-sorted export. Stable for one export of one game build; a game patch that adds items shifts it, so keep the name or the GUID in anything durable; - the game’s name -
CreatePickup("longSwordDuel", ...),/give longSwordDuel(case-insensitive); - the English name -
/give duelling longsword 2,GetItemClass("Duelling longsword"). When several classes share one (Broken shieldfifteen times) the plainest answers: no_empty,_broken,_damagedor_dirtysuffix, then the lowest id;/items <name>lists the rest; - the class GUID, the durable key the protocol carries (the only one accepted without the tables export).
In a game mode: GetItemClass(key), GetItemName(key), GetItemInfo(key), FindItems(pattern [, max])
(Lua, C#); in the chat: /items <part of a name>, /give, /item.
