mr:ghost_npc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:ghost_npc [2026/08/24 00:46] – wiki maintenance: fix red links and code-ground facts on 5 random pages Bot | mr:ghost_npc [2026/09/03 10:45] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== mr: | ||
| + | |||
| + | Machine-readable reference page for the Sad Ghost (quest-giver NPC) in Remixed Dungeon. | ||
| + | Note: this page previously existed as " | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | |||
| + | **Class File**: | ||
| + | * File: [[https:// | ||
| + | * Path: com/ | ||
| + | * Entity Kind: Ghost | ||
| + | * Type: **NPC** (extends NPC, not a combat mob) | ||
| + | * Sprite config: spritesDesc/ | ||
| + | |||
| + | **Note**: There is no combat mob named Ghost in the codebase. The generated entity list (entities/ | ||
| + | |||
| + | ==== NPC Properties ==== | ||
| + | |||
| + | **Basic Stats** (from the Ghost.java constructor and method overrides): | ||
| + | * HP: not damageable — '' | ||
| + | * defenseSkill: | ||
| + | * Speed: 0.5 ('' | ||
| + | * Flying: true | ||
| + | * EXP: none | ||
| + | * Immunities: Paralysis, Stun, Roots (addImmunity in constructor; | ||
| + | |||
| + | **Lua Definition**: | ||
| + | * No Lua script - implemented in Java | ||
| + | |||
| + | ==== Behavior ==== | ||
| + | * Wandering AI state by default | ||
| + | * Once the quest is given, 10% chance per turn to follow the hero's control target position | ||
| + | * Teleports randomly if interacted with again before the quest item is obtained | ||
| + | |||
| + | ==== Quest Mechanics ==== | ||
| + | * Spawned on SewerLevel when depth > 1 with probability '' | ||
| + | * Two quest variants chosen at random ('' | ||
| + | * **Rose Quest**: find the Dried Rose; it drops after killing mobs ('' | ||
| + | * **Revenge Quest**: slay the Fetid Rat spawned by '' | ||
| + | * Reward: weapon and armor via '' | ||
| + | * **Necromancer Interaction**: | ||
| + | * Journal entry: Journal.Feature.GHOST | ||
| + | |||
| + | ==== Inner Class: Ghost.FetidRat ==== | ||
| + | * HP: 15, defenseSkill 5, attackSkill 12, dmg 2-6, dr 2, expForKill 0 | ||
| + | * Emits ParalyticGas on '' | ||
| + | * Carries RatSkull; immune to Paralysis | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | |||
| + | **English (values/ | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * Ghost_Rose1 / Ghost_Rose2 - rose quest dialogue | ||
| + | * Ghost_Rat1 / Ghost_Rat2 - revenge quest dialogue | ||
| + | * Ghost_Defense - " | ||
| + | |||
| + | **Russian (values-ru/ | ||
| + | * Ghost_Name / Ghost_Info - Russian name and description | ||
| + | |||
| + | ==== Wiki Pages ==== | ||
| + | |||
| + | **English**: | ||
| + | * [[en: | ||
| + | |||
| + | **Machine-readable**: | ||
| + | * [[mr: | ||
| + | |||
| + | ==== Code References ==== | ||
| + | |||
| + | * Main implementation: | ||
| + | * Sprite config: [[https:// | ||
| + | * String resources: [[https:// | ||
| + | |||
| + | ==== Content Verification ==== | ||
| + | * **Source**: Java class `Ghost.java` in `com.watabou.pixeldungeon.actors.mobs.npcs` (extends NPC, not Mob) | ||
| + | * **Stats verified from code**: defenseSkill 1000 (invulnerable), | ||
| + | * **Quest mechanics verified**: Spawns on SewerLevel depth>1 with probability Random.Int(5-depth)==0; | ||
| + | * **Necromancer interaction**: | ||
| + | * **Inner class FetidRat**: HP 15, defenseSkill 5, attackSkill 12, damage 2-6, DR 2, exp 0, emits ParalyticGas on defenseProc, | ||
| + | * **String resources**: | ||
| + | * **Last updated**: Based on code analysis | ||
| + | |||
| + | {{tag> mr ghost npc reference machine-readable}} | ||
