mr:ghost_npc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious 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/08/24 00:48] (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 " | ||
| + | |||
| + | ==== 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: | ||
| + | |||
| + | ==== Code References ==== | ||
| + | |||
| + | * Main implementation: | ||
| + | * Sprite config: [[https:// | ||
| + | * String resources: [[https:// | ||
| + | |||
| + | {{tag> mr ghost npc reference machine-readable}} | ||
mr/ghost_npc.txt · Last modified: by 127.0.0.1
