mr:ring_of_haggler_item
Table of Contents
Ring Of Haggler Item - Code References
Java Classes
-
- Entity Kind:
getEntityKind()returns “RingOfHaggler” - Buff Class:
buff()method returnsHaggling()buff - Pickup Behavior:
doPickUp()validates RingOfHaggler badge - Upgradable: No -
isUpgradable()returns false - Random Generation:
random()sets level to +1 - Description: Uses string resource
RingOfHaggler_Infowhen known
JSON Configuration
- Not applicable - Ring is implemented in Java code
String Resources
<string name="RingOfHaggler_Name">Ring of Haggler</string> <string name="RingOfHaggler_Info">In fact this ring doesn't provide any magic effect, but it demonstrates to shopkeepers and vendors, that the owner of the ring is a member of The Thieves' Guild. Usually they are glad to give a discount in exchange for temporary immunity guarantee. Upgrading this ring won't give any additional bonuses.</string>
Lua Scripts
- Not applicable - Ring is implemented in Java, no custom Lua script
Additional References
- Parent Class: Ring.java - Base ring class
- Item Registration: https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java - Registers RingOfHaggler class
- Badge Validation: https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Badges.java - Badges.validateRingOfHaggler()
- Shop Interaction: https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/windows/WndTradeItem.java - Used in merchant interactions
mr/ring_of_haggler_item.txt · Last modified: by 127.0.0.1
