====== mr:shopkeeper_npc ====== === Entity Information === * **Class Name**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Shopkeeper.java|Shopkeeper.java]] * **Entity Kind**: Shopkeeper * **Type**: NPC * **Fraction**: HEROES (ally to player) === Statistics === * **HP**: 1 (not a combatant) * **Defense Skill**: Not applicable * **Attack Skill**: Not applicable * **Damage**: Not applicable * **DR**: Not applicable === Special Abilities === * **Trading**: Buys and sells items at the shop. * **Bag Disenchanting**: Can disenchant bag items for gold based on their type. * **Item Identification**: Automatically identifies items for the player. === Code References === * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Shopkeeper.java|Shopkeeper.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Mob.java|Mob.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] === String Resources === * **Name**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L213-L214|Shopkeeper_Name]] * **Greeting**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L215-L216|Shopkeeper_Greetings]] * **Departure**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L217-L218|Shopkeeper_Goodbye]] * **Gender**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L219-L220|Shopkeeper_Gender]] === Configuration Files === * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/Shopkeeper.json|Shopkeeper.json]] (may not exist) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Shopkeeper.json|Shopkeeper.json]] === Lua Scripts === * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/mobs/shopkeeper.lua|shopkeeper.lua]] {{tag> rpd npcs machine_readable }}