mr:servant_npc
Table of Contents
Servant NPC - Code References
Java Classes
This entity is implemented via JSON configuration and Lua script, no Java class exists.
JSON Configuration
- 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
<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>
Lua Scripts
- Servant.lua - NPC behavior script
- Location: `RemixedDungeon/src/main/assets/scripts/npc/Servant.lua`
Additional References
- Inn_2021_03.json - Level configuration where ServantNPC spawns
- strings_all.xml - String resource references
Related mr Entities
mr/servant_npc.txt · Last modified: by 127.0.0.1
