mr:wand_holster_item
Table of Contents
mr:wand_holster_item
Machine-readable reference page for Wand Holster item in Remixed Dungeon.
Java Implementation
Class File:
- File: WandHolster.java
- Package: com.watabou.pixeldungeon.items.bags
- Extends: Bag
- Entity Kind: WandHolster
Item Properties:
- Type: Bag/Container
- Image: ItemSpriteSheet.HOLSTER
- Price: 50 gold
- Capacity: Holds up to a configurable number of wands (specified in WandHolster_Info string)
Code Implementation
package com.watabou.pixeldungeon.items.bags; import com.watabou.pixeldungeon.sprites.ItemSpriteSheet; public class WandHolster extends Bag { { image = ItemSpriteSheet.HOLSTER; } @Override public int price() { return 50; } }
String Resources
English (values/strings_all.xml):
- WandHolster_Name - “wand holster”
- WandHolster_Info - “This slim holder is made of leather of some exotic animal. It allows to compactly carry up to %d wands.”
Russian (values-ru/strings_all.xml):
- WandHolster_Name - Russian item name
- WandHolster_Info - Russian description
Acquisition
Primary Source:
- Found in dungeon chests
- Available in shops
Alternative Sources:
- Mod-dependent spawns
Mechanics
Bag Functionality:
- Extends Bag class for inventory management
- Specifically designed to hold wands
- Capacity defined by configuration (typically specified in the %d format string)
Price:
- Fixed price of 50 gold when sold
- Uses price() method override
Related Entities
Related Items:
- mr:wand_item - Wands that can be stored
- mr:scroll_holder_item - Similar container for scrolls
- mr:potion_belt_item - Similar container for potions
Wiki Pages
Code References
- Item implementation: WandHolster.java
- String resources: strings_all.xml
mr/wand_holster_item.txt · Last modified: by 127.0.0.1
