====== 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]]: * mace The iron head of this weapon inflicts substantial damage. feminine * ===== 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