User Tools

Site Tools


mr:servant_npc

Differences

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

Link to this comparison view

mr:servant_npc [2026/03/06 23:44] – Fix wiki standards compliance issues in 5 random pages Qwen Assistantmr:servant_npc [2026/03/06 23:44] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Servant NPC - Code References ======
 +
 +===== Java Classes =====
 +This entity is implemented via JSON configuration and Lua script, no Java class exists.
 +
 +===== JSON Configuration =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/ServantNPC.json|ServantNPC.json]] - Mob configuration file
 +  * Location: `RemixedDungeon/src/main/assets/mobsDesc/ServantNPC.json`
 +  * Properties:
 +    - `friendly`: true (non-hostile NPC)
 +    - `movable`: true (can move around)
 +    - `aiState`: "Passive" (passive AI behavior)
 +    - `fraction`: "NEUTRAL" (neutral faction)
 +    - `immortal`: true (cannot be killed)
 +
 +===== String Resources =====
 +<code xml>
 +<string name="ServantNPC_Name">inn servant</string>
 +<string name="ServantNPC_Name_Objective">inn servant</string>
 +<string name="ServantNPC_Gender">feminine</string>
 +<string name="ServantNPC_Desc">A very busy inn servant.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/Servant.lua|Servant.lua]] - NPC behavior script
 +  * Location: `RemixedDungeon/src/main/assets/scripts/npc/Servant.lua`
 +
 +===== Additional References =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/Inn_2021_03.json|Inn_2021_03.json]] - Level configuration where ServantNPC spawns
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - String resource references
 +
 +===== Related mr Entities =====
 +  * [[mr:inn_level|Inn Level]]