====== Fetid Rat Mob - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Ghost.java#L313-L332|Ghost.java#L313-L332]] - FetidRat inner class definition * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Ghost.java#L266|Ghost.java#L266]] - Where Fetid Rat is created in quest * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java#L196|MobFactory.java#L196]] - Registration of Fetid Rat in mob factory ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/RemixedFetidRat.json|RemixedFetidRat.json]] - Stats and configuration data ===== String Resources ===== fetid rat fetid rat feminine This marsupial rat is much larger than a regular one. It is surrounded by a foul cloud. мерзкая крыса мерзкую крысу feminine Эта сумчатая крыса крупнее обычной. Вокруг неё витает зловоние. ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/mobs/RemixedFetidRat.lua|RemixedFetidRat.lua]] - Custom behavior implementation ===== Usage in Code ===== * Part of Ghost quest line * Appears as quest reward for Necromancer or alternative reward for other classes * Drops Giant Rat Skull (100% guaranteed) * Has special ability to release random gas clouds (Paralytic, Confusion, or Toxic) * Immune to its own gas type and Paralysis effects * HP: 15, Attack: 12, Defense: 5, Damage: 2-6 * Does not spawn naturally in dungeon ===== Related mr Entities ===== * [[mr:ghost_npc|Ghost NPC]] * [[mr:giant_rat_skull_item|Giant Rat Skull Item]] * [[mr:rat_mob|Regular Rat Mob]]