mr:healer_npc
Table of Contents
Healer NPC - Code References
Entity Information
- Entity Kind: HealerNPC
- Type: npc
- Namespace: rpd
- Inherits From: Immortal NPC
Java Classes
(This entity migrated from Java to JSON + Lua; no HealerNPC.java exists)
- JSON Config: HealerNPC.json
- Lua Script: Healer.lua
- Mob Factory: MobFactory.java
- Parent (ImmortalNPC): JSON + Lua based
Usage in Code
- MobFactory.java - registers HealerNPC class
- WndPriest.java - interacts with HealerNPC
JSON Configuration
Implemented in JSON (mobsDesc/HealerNPC.json) with Lua script (scripts/npc/Healer.lua)
String Resources
<string name="HealerNPC_Name">town priest</string> <string name="HealerNPC_Name_Objective">town priest</string> <string name="HealerNPC_Desc">An old man, somehow he looks like someone who would be making wands.</string> <string name="HealerNPC_Message1">Free treatment for every adventurer!</string> <string name="HealerNPC_Message2">Come back anytime you feel sick or hungry!</string> <string name="HealerNPC_Message3">I wonder why the church doesn\'t allow us to wear hats... it\'s really cold out here.</string>
String Resource Locations
Entity Behavior
- Immobile: The HealerNPC cannot move (movable = false)
- Interaction: Opens WndPriest window when interacted with
- Automatic Messages: Says random phrases when hero is nearby
- Special Ability: Provides healing services through WndPriest interface
Lua Scripts
This entity is implemented in Java, no Lua script exists
Related mr Entities
mr/healer_npc.txt · Last modified: by 127.0.0.1
