User Tools

Site Tools


mr:golden_sword_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:golden_sword_item [2026/02/20 08:55] – Wiki maintenance: Fix standards compliance issues on 5 random pages Qwen Assistantmr:golden_sword_item [2026/02/20 08:56] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Golden Sword Item - Code References ======
 +
 +{{ rpd:images:golden_sword_item.png|Golden Sword }}
 +
 +===== Entity Kind =====
 +GoldenSword
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/GoldenSword.java|GoldenSword.java]]
 +
 +===== Class Details =====
 +  * **Parent Class**: MeleeWeapon
 +  * **Package**: com.nyrds.pixeldungeon.items.common
 +  * **Image**: items/swords.png (index 5)
 +  * **Enchantable**: No (enchatable = false)
 +  * **Animation Class**: SWORD_ATTACK
 +  * **Base Damage**: 3
 +  * **Attack Speed**: 1.1f
 +  * **Damage Factor**: 0.8f
 +
 +===== Special Properties =====
 +  * **Glowing Effect**: Yes (yellow glow, color 0xFFFF66, period 1)
 +  * **Gold Drop Chance**: 10% on attack
 +  * **Gold Drop Amount**: price() / 10 (max 500 gold)
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="GoldenSword_Name">golden sword</string>
 +<string name="GoldenSword_Info">Usually, weapons made out of such soft metal as gold won\'t be considered more than decoration. Despite that, this blade seems to be able to cut through things pretty well.</string>
 +<string name="GoldenSword_Gender">masculine</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related mr Entities =====
 +  * [[mr:melee_weapon_item|Melee Weapon (Item)]]
 +  * [[mr:gold_item|Gold (Item)]]