User Tools

Site Tools


mr:keyring_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mr:keyring_item [2026/10/12 03:28] – Wiki maintenance: fix mr pages, create nl stun_buff, update links Wiki Maintenancemr:keyring_item [2026/10/12 03:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Keyring Item ======
  
 +==== Entity Kind ====
 +Keyring
 +
 +==== Java Class ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/bags/Keyring.java|Keyring.java]] (extends Bag)
 +
 +==== 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**: The action to open the bag
 +  * **Container**: Specifically designed to hold artifacts
 +  * **isUpgradable**: Returns false, as it cannot be upgraded
 +  * **isIdentified**: Returns true, as it starts identified
 +
 +==== 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