mr:gold_item
Table of Contents
Gold Item - Code References
Java Classes
- Gold.java - Main Gold item class
- ItemFactory.java - Item registration (line 248: registerItemClass(Gold.class))
- RandomItemGenerator.java - Gold as fallback item
- GoldenSword.java - Weapon that drops gold on hit
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<string name="Gold_Name">gold</string> <string name="Gold_Collect">Collect gold coins to spend them later in a shop.</string> <string name="Gold_Info">A pile of %d gold coins.</string> <string name="Gold_Info1">One gold coin.</string>
Lua Scripts
- alchemy_recipes.lua - Alchemy recipe: 1 Gold + 1 Iron Key = Mimic (line 52-56)
- PlagueDoctor.lua - Quest reward currency (line 24)
- TestItem.lua - Test item for ads reward (line 273)
- RaiseDead.lua - Loot removal from raised dead (line 54)
Usage in Code
- Bones.java (line 41): Gold dropped as bone item when no equipment available
- RatKingPainter.java (line 72): Gold as potential chest prize
- TreasuryPainter.java (lines 33, 42): Gold spawned in treasury rooms
- StandardPainter.java (line 114): Gold dropped in graves
- ServiceManNPC.java (line 32): Gold as video ad reward
- Mob loot tables: Multiple mobs have Gold.class loot entries (DreadKnight, Zombie, EnslavedSoul, ExplodingSkull, DeathKnight, Worm, PseudoRat, ZombieGnoll, ColdSpirit)
Related mr Entities
mr/gold_item.txt · Last modified: by 127.0.0.1
