====== Black Cat ====== {{ rpd:images:blackcat_sprite.png|Black Cat }} ==== Description ==== The Black Cat is a neutral [[en:rpd:npc|NPC]] found in the [[en:rpd:fortuneteller_npc|Fortune Teller]]'s house in [[en:rpd:town_level|Town]]. It behaves like a regular cat, wandering around and occasionally making cat-like sounds. The cat is friendly and can be interacted with by petting it. ==== Stats ==== * **HP**: 10 * **Defense Skill**: 3 * **Attack Skill**: 8 * **Damage**: 1-4 * **Damage Reduction (DR)**: 1 * **Experience for Kill**: 2 * **Maximum Level**: 4 * **Attack Delay**: 1.0 * **Base Speed**: 1.0 * **Fraction**: NEUTRAL * **Friendly**: true * **Immortal**: true (cannot be killed normally, but death curse triggers on scripted death) ==== Behavior ==== * **AI Actions**: Seeks out edible food items to eat (Fried Fish, Chargrilled Meat) * **Raw Food Conversion**: Will cook raw food items (Mystery Meat, Raw Fish) using Wand of Firebolt when adjacent * **Disgusting Food**: When finding rotten food (Rotten Ration, Rotten Pasty, Rotten Pumpkin Pie, Rotten Fish), may summon a Rat to deal with it * **Movement**: Wanders around looking for food items; can blink to reach food * **AI Status**: "This cat is doing ordinary cat things" ==== Interaction ==== * Players can interact with the Black Cat by petting it (action: "pet") * When pet, the cat will make a random sound: "Prrrrrrr", "Meow...", or "Meow!" * When approached by the player, the cat will sleep and make a sound ==== Special Properties ==== * **Death Curse**: When the Black Cat dies, it reduces the player's Strength by 1 (minimum of 1) * **Curse Visual**: Reduces strength with a shadow particle effect and shows red "Strength -1" status * **Sound Effect**: Plays a "cursed" sound when dying ==== Location ==== * Found in the Fortune Teller's house in town (Fortune level) * May wander within the house but generally stays in the room with the Fortune Teller ==== Notes ==== * Despite being called "Black" Cat, its actual color may vary based on sprite * The cat represents a common Pixel Dungeon reference - black cats were traditionally thought to bring bad luck * The cat has a gender of feminine in most localizations ==== Content Verification ==== * Information source: Lua Script (scripts/npc/BlackCat.lua and scripts/ai/BlackCat.lua) * Behavior and mechanics: Extracted directly from Lua code * Mob configuration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/BlackCat.json|BlackCat.json]] * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L252-L259|BlackCat strings]] * Entity kind: blackcat (via getEntityKind() returning simple class name) * Machine-readable data: [[mr:blackcat_npc|mr:blackcat_npc]] * Last updated: Based on Remixed Dungeon source code analysis ==== Code References ==== * NPC interaction and death effects: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/BlackCat.lua|BlackCat.lua NPC]] * AI behavior patterns and food seeking: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/ai/BlackCat.lua|BlackCat AI]] * Mob configuration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/BlackCat.json|BlackCat.json]] * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L252-L259|BlackCat strings]] ==== See Also ==== * [[en:rpd:fortuneteller_npc|Fortune Teller]] * [[en:rpd:town_level|Town Level]] {{tag> rpd npcs blackcat cat neutral town}}