User Tools

Site Tools


mr:gold_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:gold_item [2026/03/08 17:39] – Wiki standards: Fix broken links, add images, and expand mr: namespace page Qwen Assistantmr:gold_item [2026/03/08 17:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Gold Item - Code References ======
  
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Gold.java|Gold.java]] - Main Gold item class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java|ItemFactory.java]] - Item registration (line 248: registerItemClass(Gold.class))
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/RandomItemGenerator.java|RandomItemGenerator.java]] - Gold as fallback item
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/GoldenSword.java|GoldenSword.java]] - Weapon that drops gold on hit
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<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>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/alchemy_recipes.lua|alchemy_recipes.lua]] - Alchemy recipe: 1 Gold + 1 Iron Key = Mimic (line 52-56)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/PlagueDoctor.lua|PlagueDoctor.lua]] - Quest reward currency (line 24)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/items/test/TestItem.lua|TestItem.lua]] - Test item for ads reward (line 273)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/RaiseDead.lua|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:golden_key_item|Golden Key (Item)]]
 +  * [[mr:dark_gold_item|Dark Gold (Item)]]
 +  * [[mr:golden_sword_item|Golden Sword (Item)]]
mr/gold_item.txt · Last modified: by 127.0.0.1