====== Rat King ====== {{ rpd:images:rat_king_mob.png|Rat King }} The **Rat King** is a unique mob/NPC in Remixed Dungeon found in a special room in the Sewers level. ==== Description ==== The Rat King is a special NPC/mob that appears in a unique room in the Sewers. It's not an aggressive enemy but rather a quest-giver that offers players a special challenge. The Rat King appears to be a regal rat sitting on a throne surrounded by treasure. ==== Stats ==== * **Type:** NPC (Non-Player Character) * **Level:** Special encounter * **HP:** Normal for Sewers * **Attack:** Non-aggressive (does not attack) ==== Location ==== * Found in a special "Rat King" room in the Sewers level * Room is painted with a throne and surrounded by treasure * The room type is generated by the RatKingPainter class ==== Special Properties ==== * **Non-combatant:** The Rat King does not attack the player * **Quest NPC:** Provides a special challenge to the player * **Treasure Guardian:** Found surrounded by treasure * **Unique Encounter:** Appears in specially designed rooms ==== Interactions ==== * Approaching the Rat King triggers special dialogue * The Rat King may challenge the player to a "test of prowess" * After death, the Rat King leaves behind a [[rpd:rat_king_crown_item|Rat King's Crown]] ==== Dialogue ==== * "What? What? You want to challenge the Rat King, mortal?" * "Do you want to prove yourself? Then face my champion!" * "You have proven yourself, mortal. Take your reward." * "Alas... my reign comes to an end..." ==== Drops ==== * [[rpd:rat_king_crown_item|Rat King's Crown]] - A unique artifact upon defeat ==== Strategy ==== * The Rat King itself is not hostile, but may summon a champion to fight * The real challenge comes from the champion it summons * The surrounding treasure can be collected after completing the encounter * Defeating the Rat King (or completing its challenge) rewards a unique artifact ==== Code References ==== * **Java Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/RatKing.java|RatKing.java]] * **Room Painter:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/levels/painters/RatKingPainter.java|RatKingPainter.java]] * **Room Definition:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/levels/Room.java#L80|Room.java#L80]] * **Crown Item:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/RatKingCrown.java|RatKingCrown.java]] * **Mob Factory:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java#L152|MobFactory.java#L152]] * **String Resources (English):** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1492-L1497|RatKing strings]] * **String Resources (Russian):** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L1478-L1483|RatKing strings (ru)]] * **Machine-readable data:** [[mr:rat_king_mob|Rat King - Code References]] ==== See Also ==== * [[rpd:rat_king_crown_item|Rat King's Crown]] * [[rpd:sewers_level|Sewers Level]] * [[rpd:npcs|NPCs]] * [[rpd:mobs|Mobs]] {{tag> rpd mobs npc sewer rat_king quest}}