User Tools

Site Tools


mr:dark_gold_item

Dark Gold Item - Code References

Java Classes

Item Properties (from Java code)

  • Stackable: Yes (stackable = true)
  • Upgradable: No (isUpgradable() returns false)
  • Identified: Always identified (isIdentified() returns true)
  • Price: Equals quantity (price() returns quantity())
  • Category: Quest item

Special Behavior (from Java code)

  • Melting: Dark gold melts when dropped or thrown on the surface (Dungeon.depth ⇐ 0)
  • Drop Behavior: DarkGold.doDrop() - melts on surface, drops normally in dungeon
  • Throw Behavior: DarkGold.onThrow() - melts on surface, throws normally in dungeon
  • Melt Effect: Plays SND_PUFF sound and creates splash effect (color: 0xa38d1c)

JSON Configuration

This item is implemented purely in Java, no JSON configuration found.

String Resources

<string name="DarkGold_Name">dark gold ore</string>
<string name="DarkGold_Info">This metal is called dark not because of its color (it doesn\'t differ from normal gold), but because it melts under the daylight, making it useless on the surface.</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Additional References

mr/dark_gold_item.txt · Last modified: by 127.0.0.1