rpd:townsfolk_npc
Table of Contents
Townsfolk NPC
The Townsfolk NPC is a non-hostile character found in the town area of the dungeon. They serve as background characters that provide flavor text when interacted with.
Description
Townsfolk NPCs are peaceful residents of the town area. They are not involved in combat and provide various dialogue messages when spoken to, adding to the atmosphere of the town.
Characteristics
- Nature: Non-hostile NPC, Immortal (cannot be killed)
- Type: Background character in town area
- Interaction: Provides four different random dialogue messages when interacted with
- Purpose: Adds atmosphere and flavor to the town area
Dialogue
When interacted with, the Townsfolk NPC may say one of the following:
- “Ah! Another adventurer, lovely! Make sure to loot as many valuables as you can!”
- “Town became so wealthy thanks to that dungeon, that everyone in town can afford to go on a vacation whenever we please! In fact that's why there is so few people in here right now.”
- “What a lovely day.”
- “I hope the sewers won't get flooded when spring arrives. We don't need another rat infestation.”
Location
- Found in the town area of the dungeon
- Multiple Townsfolk NPCs may appear at different locations in the town
Code References
- Java Implementation:
- Base Class: ImmortalNPC.java
- Registration: MobFactory.java
- String Resources:
Related
rpd/townsfolk_npc.txt · Last modified: by 127.0.0.1
