User Tools

Site Tools


mr:mace_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:mace_item [2026/02/28 23:00] – Fix wiki standards compliance issues on 5 random pages Qwen Assistantmr:mace_item [2026/02/28 23:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Mace Item - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/Mace.java|Mace.java]]
 +
 +===== Entity Kind =====
 +Mace
 +
 +===== Stats =====
 +  * **Damage**: 3 (base damage)
 +  * **Speed**: 1.0x (normal weapon speed)
 +  * **Accuracy**: 0.8x (reduced accuracy compared to standard weapons)
 +  * **Type**: Melee Weapon (uses sword attack animation)
 +  * **Parent Class**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/MeleeWeapon.java|MeleeWeapon]]
 +
 +===== JSON Configuration =====
 +This entity is implemented directly in Java without separate JSON configuration. The item properties are defined in the Mace.java class constructor:
 +  * Constructor call: super(3, 1f, 0.8f)
 +  * Image: ItemSpriteSheet.MACE
 +  * Animation: SWORD_ATTACK
 +
 +===== String Resources =====
 +  * **Name Key**: Mace_Name
 +  * **Description Key**: Mace_Info
 +  * **Gender Key**: Mace_Gender
 +  * Values in [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]]:
 +    * <code xml>
 +<string name="Mace_Name">mace</string>
 +<string name="Mace_Info">The iron head of this weapon inflicts substantial damage.</string>
 +<string name="Mace_Gender">feminine</string>
 +    * </code>
 +
 +===== Lua Scripts =====
 +This entity is implemented entirely in Java, no Lua script exists
 +
 +===== Implementation Details =====
 +  * The Mace is a basic melee weapon in the weapon category
 +  * It uses the sword attack animation (animation_class = SWORD_ATTACK)
 +  * Lower accuracy (0.8x) is balanced by normal speed and moderate damage
 +  * The sprite is defined in ItemSpriteSheet as MACE
  
mr/mace_item.txt · Last modified: by 127.0.0.1