====== 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 ===== inn servant inn servant feminine A very busy inn servant. ===== 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]]