mr:keyring_item
Differences
This shows you the differences between two versions of the page.
| mr:keyring_item [2025/12/19 06:05] – Add wiki pages for Ring of Frost, YogsEye, Lich subclass, and Keyring with source code references mike | mr:keyring_item [2025/12/19 06:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Keyring Item ====== | ||
| + | ==== Entity Kind ==== | ||
| + | Keyring | ||
| + | |||
| + | ==== Java Class ==== | ||
| + | [[code: | ||
| + | |||
| + | ==== JSON Configuration ==== | ||
| + | (No specific JSON config for this item) | ||
| + | |||
| + | ==== Lua Script ==== | ||
| + | (No specific Lua script for this item) | ||
| + | |||
| + | ==== String Resource References ==== | ||
| + | (Uses generic bag descriptions from parent class) | ||
| + | |||
| + | ==== Code Implementation ==== | ||
| + | This item inherits from Bag class. It has the following key properties: | ||
| + | |||
| + | * **image**: 11 (referring to the sprite index) | ||
| + | * **AC_OPEN**: | ||
| + | * **Container**: | ||
| + | * **isUpgradable**: | ||
| + | * **isIdentified**: | ||
| + | |||
| + | ==== Behavior ==== | ||
| + | * Only accepts items that are artifacts (have bag() method returning Keyring) | ||
| + | * Can be opened to access its contents | ||
| + | * When detached from hero, returns its contents to hero's inventory | ||
| + | * Automatically validates badges when collected by hero | ||
mr/keyring_item.txt · Last modified: by 127.0.0.1
