====== Barman NPC ====== {{ rpd:images:barmannpc_sprite.png|Barman NPC Sprite }} The **Barman NPC** is a neutral, immovable NPC found in Remixed Dungeon. This appears to be a test/example NPC implementation. ==== Description ==== The Barman is an immovable, friendly NPC that presents the player with a dialog when interacted with. ==== Stats ==== * **Speed:** 0 (immovable) * **Faction:** Neutral * **Movement:** Cannot move (movable: false) * **AI State:** Passive * **Friendly:** Yes (does not attack player) ==== Behavior ==== * **Interaction:** When talked to, presents a dialog with multiple options * **Teleportation:** One dialog option teleports the player back 3 squares on the Y-axis * **Passive:** Does not initiate combat or aggressive behavior ==== Technical Details ==== * **Lua Script:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/Barman.lua|Barman.lua]] * **Mob Description:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/BarmanNPC.json|BarmanNPC.json]] * **Implementation:** Example/test NPC implementation with minimal functionality ==== Dialog Options ==== When interacting with the Barman NPC, players are presented with a dialog that includes: * "Go back" option that moves the player character back 3 squares on Y-axis * "Yes" option that produces a simple "okay..." message * "No" option that produces a simple "okay..." message ==== Notes ==== * Likely serves as an example of NPC implementation in the Remixed Dungeon modding system * Demonstrates how to create an interactable character that can present dialogs and perform simple actions ==== See Also ==== * [[rpd:npcs|NPCs]] * [[rpd:modding_getting_started|Modding Getting Started]] {{tag> rpd npcs }}