====== Townsfolk NPC ====== {{ rpd:images:townsfolknpc_sprite.png|Townsfolk NPC Sprite }} 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 ==== Related ==== * [[rpd:npcs|NPCs]] - Other non-player characters * [[rpd:town|Town]] - The town area where this NPC is found ==== Source Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/TownsfolkNPC.java|TownsfolkNPC.java]] - Implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/ImmortalNPC.java|ImmortalNPC.java]] - Base class for immortal NPCs {{tag> rpd npcs town}}