mr:guardian_armor_item
Table of Contents
Guardian Armor Item - Code References
Entity Information
- Entity Kind: GuardianArmor
- Entity Type: Armor (class-specific)
- Namespace: mr: (machine-readable reference)
- Parent Class: GnollArmor (extends com.watabou.pixeldungeon.items.armor.GnollArmor)
- Inherited By: None (leaf class)
- Used By: Guardian subclass (of Gnoll class)
Java Classes
- GuardianArmor.java - Main implementation of the Guardian armor, extends GnollArmor
- GnollArmor.java - Parent class providing base behavior
- ItemFactory.java - Registers the GuardianArmor class at line 446
- HeroSubClass.java - References “GuardianArmor” string at line 55 (GUARDIAN enum entry, subclass of Gnoll)
JSON Configuration
No specific JSON configuration file found for this item.
String Resources
<string name="GnollArmor_Name">gnoll-lieutenant suit</string> <string name="GnollArmor_Info">Owners of the Gnoll-Lieutenant suit are well known for their ability to persuade even extremely angry mobs, to be loyal servants of the Crown.</string> <string name="GnollArmor_ACSpecial">DOMINATE</string> <string name="GnollArmor_NotGnoll">Only gnolls can equip the Gnoll Armor!</string>
Note: GuardianArmor has no dedicated string resources; it reuses GnollArmor string IDs (StringsManager.getVar(R.string.GnollArmor_Name) in source).
Lua Scripts
This entity is implemented in Java, no Lua script exists
Sprite Reference
- Sprite file: guardian_armor_item.png
- Image index in sprite sheet: 26 (image = 26)
Additional Information
- The GuardianArmor extends GnollArmor and only the Gnoll class can equip it
- Used by the Guardian subclass which is a subclass of the Gnoll class
- The source contains a commented-out branch that would also allow the GUARDIAN subclass to equip it; the current active branch checks `hero.getHeroClass() == HeroClass.GNOLL`
- Provides the hasHelmet and coverHair flags
- Cannot be equipped by non-Gnoll heroes — shows GnollArmor_NotGnoll message
mr/guardian_armor_item.txt · Last modified: by 127.0.0.1

