User Tools

Site Tools


mr:black_cat_npc_mob

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:black_cat_npc_mob [2026/08/23 14:48] – Wiki maintenance: fix compliance issues on 10 random pages Botmr:black_cat_npc_mob [2026/08/23 14:49] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Black Cat NPC - Code References ======
 +
 +===== Java Classes =====
 +This entity is data-driven (JSON + Lua), no dedicated Java class exists.
 +
 +===== JSON Configuration =====
 +  * Mob definition: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/BlackCatNPC.json|BlackCatNPC.json]]
 +    * HP: 10 (ht), Defense Skill: 3, Attack Skill: 8, Damage: 1-4, DR: 1, EXP: 2, maxLvl: 4
 +    * AI state: Passive, fraction NEUTRAL, friendly and immortal
 +  * Sprite configuration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/BlackCat.json|BlackCat.json]]
 +
 +===== String Resources =====
 +<code xml>
 +<string name="BlackCat_Name">Black cat</string>
 +<string name="BlackCat_Desc">This is a black cat</string>
 +<string name="BlackCat_AiStatus">This cat is doing ordinary cat things</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/BlackCat.lua|BlackCat.lua]]
 +    * Interacting with the cat makes it say a random phrase from BlackCat_Phrases and play its "sleep" animation
 +    * Killing the cat curses the hero: permanently loses 1 STR (minimum 1) with a cursed sound effect
 +
 +===== Related mr Entities =====
 +  * [[mr:black_cat_mob|Black Cat (Mob)]]
  
mr/black_cat_npc_mob.txt · Last modified: by 127.0.0.1