User Tools

Site Tools


mr:servant_npc

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:
    1. `friendly`: true (non-hostile NPC)
    2. `movable`: true (can move around)
    3. `aiState`: “Passive” (passive AI behavior)
    4. `fraction`: “NEUTRAL” (neutral faction)
    5. `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

mr/servant_npc.txt · Last modified: by 127.0.0.1