en:rpd:townsfolk_silent_npc
Table of Contents
Townsfolk Silent NPC
The Townsfolk Silent NPC is a special non-player character found in the town area in Remixed Dungeon.
Description
The Townsfolk Silent NPC is one of the locals. Even though this is clearly a commoner, those clothes do look expensive. This NPC is unique in that they have minimal dialogue - they are deliberately “silent” with only non-verbal responses to player interaction.
Behavior
When interacted with, the Townsfolk Silent NPC will respond with short, non-verbal responses:
- Response 1: “Hmph!”
- Response 2: “…”
- Response 3: “Hmmm…”
This behavior is implemented in the interact() method of the NPC class, which shows a quest window with these message strings using WndQuest.
Technical Details
- Class:
TownsfolkSilentNPCextendsImmortalNPC, making it an immortal character that cannot be killed - Implementation: Located in
com.nyrds.pixeldungeon.mobs.npc.TownsfolkSilentNPC.java - Interaction: When player interacts with the NPC, it calls
GameScene.showwithWndQuestshowing the three message strings - Sprite: Uses standard NPC sprite as defined in
spritesDesc/directory
Data Validation
- Information source: Java class
com.nyrds.pixeldungeon.mobs.npc.TownsfolkSilentNPC - Name verification: Confirmed from string resources (“TownsfolkSilentNPC_Name”, “TownsfolkSilentNPC_Desc”)
- Dialogue verification: Confirmed from string resources (“TownsfolkSilentNPC_Message1/2/3”)
- Effect descriptions: Based on string resources from values/strings_all.xml
Code References
- TownsfolkSilentNPC.java - Main NPC implementation
- ImmortalNPC.java - Parent class (immortal behavior)
- TownsfolkSilentNPC string resources (English) - Name, description, and dialogue strings
- TownsfolkSilentNPC string resources (Russian) - Russian localization
- MobFactory.java#L243 - Registration of the mob class
- TownsfolkSilentNPC class and interact method - Implementation details
- WndQuest.java - The dialogue window implementation
String Resources
- TownsfolkSilentNPC_Name - “townsfolk” (English)
- TownsfolkSilentNPC_Desc - “One of the locals. Even though this is clearly a commoner, those clothes do look expensive.” (English)
- TownsfolkSilentNPC_Message1/2/3 - “Hmph!”, “…”, “Hmmm…” (English dialogue)
- TownsfolkSilentNPC strings - Russian localization
See Also
en/rpd/townsfolk_silent_npc.txt · Last modified: by 127.0.0.1

