User Tools

Site Tools


mr:librarian_npc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mr:librarian_npc [2026/02/16 21:05] – Wiki maintenance: Fix 5 random pages for standards compliance Qwen Assistantmr:librarian_npc [2026/02/16 21:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Librarian NPC - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/LibrarianNPC.java|LibrarianNPC.java]]
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="LibrarianNPC_Name">librarian</string>
 +<string name="LibrarianNPC_Desc">A very shy person, wearing an awkward looking sweater and a thick pair of glasses.</string>
 +<string name="LibrarianNPC_Message_Instruction">H-hello. Welcome to the Library. Here you can find the information about all sort of things, that can be found in the dungeon... actually we can only provide knowledge that was discovered by adventurers. It... it's kind of embarrassing. So each time you visit us, probably, there will be new things to read.</string>
 +<string name="LibrarianNPC_Message_Not_Ready">I... I am sorry, l-library isn't open... yet.</string>
 +<string name="LibrarianNPC_Gender">masculine</string>
 +<string name="LibrarianNPC_Name_Objective">librarian</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related mr Entities =====
 +  * [[mr:library_level|Library (Level)]]
 +
 +===== Entity Implementation Details =====
 +  * **Package:** com.nyrds.pixeldungeon.mobs.npc
 +  * **Base Class:** ImmortalNPC
 +  * **Entity Kind:** LibrarianNPC
 +  * **Type:** NPC (Non-Player Character)
 +  * **Behavior:** Immortal (cannot be killed)
 +  * **Purpose:** Provides library interface to access collected information about game entities
 +  * **Location:** Library special room in dungeon levels
 +  * **Interaction:** Shows WndQuest window with library instructions
 +
 +===== Related Files =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java|MobFactory.java]] - registration
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/ImmortalNPC.java|ImmortalNPC.java]] - base class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/Library.java|Library.java]] - library system
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/windows/WndQuest.java|WndQuest.java]] - quest window
  
mr/librarian_npc.txt · Last modified: by 127.0.0.1