Your NPCs have things to say. This Module provides a small API that allows your NPCs to randomly chatter off of roll tables defined for them.
Chatter is displayed as ChatBubbles only, and won't dump to the Chat Log.
I recommend you turn off the Core "Pan to Token Speaker" setting or else risk whiplash.
Installation
FoundryGet
Using FoundryGet
foundryget install https://raw.githubusercontent.com/cswendrowski/FoundryVtt-Npc-Chatter/master/module.json
Setup
Given a set of Villagers named "Villager A", "Villager B", and "Villager C", setup a "Villager Chatter" roll table or a "Villager" table under a Folder named "NPC Chatter".
This roll table will need at least one option and a dice roll configured to work.
If "Villager A" has specific dialogue that might trigger on top of the generic Villager chatter, add another "Villager A Chatter" table (or "Villager A" in the "NPC Chatter folder) and it will draw from that as well.
Usage
Chatter can only be triggered via scripting. There are a few Macros included as examples - most work out of the box, but some require additional setup.
The easiest macro is the "Timed Global Chatter" macro - just slap it when a Scene Loads, and they will start chattering!
Trigger Happy
Trigger Happy can trigger NPC chatter as well. Here's two examples to get you started:
On Scene Load, start Timed Global Chatter: @Scene[Village ground level] @Macro[xSKCgl6katupNxCx]{Timed Global Chatter}
When an Actor walks into a Room (defined by an invisble actor), have a specific Token chatter: @Actor[TriggerA] @Macro[OXyjmVhEGo3eTaJz]{Specific Token Chatter}