njlyon0 / dndR

Dungeons & Dragons Functions for Players and Dungeon Masters
https://njlyon0.github.io/dndR/
Other
17 stars 2 forks source link

Write `npc_creator` Function #8

Closed njlyon0 closed 1 year ago

njlyon0 commented 1 year ago

Would be nice to have a function that made NPC for on-the-fly creation. If your players ask who's in the bar you could use this function to quickly name a desired number of NPCs of various races (and backgrounds / professions?).

Function could include following components

njlyon0 commented 1 year ago

Update

Create a basic npc_creator function that picks a race and job but I dropped the name bit. Names are somewhat race-specific and I'd need a bunch of vectors of names from which to sample so I'm leaving this out for now.