====== Armor Template Item - Code Reference Template ====== **Note:** This is a template page demonstrating the format for item code reference pages. The entity ``armor_template`` does not exist in the game codebase. This page serves as an example of how item code reference pages should be structured in the mr: namespace. For actual items, replace the placeholder information with real code references. **For actual armor items, see these examples:** * [[mr:cloth_armor_item|Cloth Armor]] - Base tier armor * [[mr:leather_armor_item|Leather Armor]] - Tier 1 armor * [[mr:mail_armor_item|Mail Armor]] - Tier 2 armor * [[mr:scale_armor_item|Scale Armor]] - Tier 3 armor * [[mr:plate_armor_item|Plate Armor]] - Tier 4 armor ===== Java Classes ===== Items are typically implemented in Java. Check these locations for item class implementations: * RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/*.java * RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/*.java * RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/items/*.java * RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/actors/items/*.java For a real item, the Java class file would be listed here with its full path. ===== JSON Configuration ===== Items have JSON configuration files that define their properties: * RemixedDungeon/src/main/assets/itemsDesc/*.json - Item descriptions and stats * RemixedDungeon/src/main/assets/spritesDesc/*.json - Sprite configurations For a real item, the specific JSON config file path would be listed here. ===== String Resources ===== Item names and descriptions are stored in string resource files: [Display Name] [Description Text] [Gender] String resource files are located in: * RemixedDungeon/src/main/res/values/strings_all.xml (English) * RemixedDungeon/src/main/res/values-ru/strings_all.xml (Russian) * Other language-specific directories for additional localizations ===== Lua Scripts ===== Some items may have Lua script implementations for custom behavior: * RemixedDungeon/src/main/assets/scripts/items/*.lua - Item-specific scripts For items with Lua scripts, the script paths would be listed here. ===== See Also ===== * [[mr:item_naming|Item Naming Conventions]] - Guidelines for naming item entities * [[mr:json_configuration|JSON Configuration Format]] - How to structure item JSON files * [[mr:lua_scripting|Lua Scripting Guide]] - Using Lua for custom item behavior {{tag> mr template items reference}}