mr:keys
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:keys [2026/08/01 15:49] – Wiki maintenance: Fix 5 random pages compliance with standards Bot | mr:keys [2026/08/01 15:53] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Keys - Code References ====== | ||
| + | Machine-readable reference page for Key items in Remixed Dungeon. | ||
| + | |||
| + | ===== Entity Information ===== | ||
| + | * **Category**: | ||
| + | * **Entity Kinds**: IronKey, SkeletonKey, | ||
| + | * **Item Type**: Special items for unlocking | ||
| + | * **Stackable**: | ||
| + | * **Consumable**: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Base Key Class ===== | ||
| + | <code java> | ||
| + | public class Key extends Item { | ||
| + | // Base class for all key types | ||
| + | // Handles unlocking logic | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Key Types ===== | ||
| + | * **IronKey**: | ||
| + | * **SkeletonKey**: | ||
| + | * **IceKey**: Special key for ice caves (specific implementation) | ||
| + | |||
| + | ===== Item Registration ===== | ||
| + | <code java> | ||
| + | // ItemFactory.java | ||
| + | import com.watabou.pixeldungeon.items.keys.IronKey; | ||
| + | import com.watabou.pixeldungeon.items.keys.SkeletonKey; | ||
| + | |||
| + | registerItemClass(IronKey.class); | ||
| + | registerItemClass(SkeletonKey.class); | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | No specific JSON configuration. Keys are implemented entirely in Java. | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <!-- English (values/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | |||
| + | <!-- Russian (values-ru/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists. | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Wiki Pages ===== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | {{tag> mr items keys reference}} | ||
mr/keys.txt · Last modified: by 127.0.0.1
