-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To increase NPC name variety without maintaining a massive YAML list manually, explore integrating an external source for dynamic name generation.
Possible Options:
Fantasy name APIs
[FantasyNameGenerators.com](https://www.fantasynamegenerators.com/) (not API-based, but scrapeable or replicable)
[uinames](https://uinames.com/) (deprecated, but others like it exist)
Open source name datasets on GitHub or datasets from Kaggle
Dictionary APIs
Datamuse
E.g., get words with specific sounds or syllables
[WordsAPI](https://www.wordsapi.com/)
Random Word API
Public datasets
GitHub repos with lists of surnames, first names, etc.
Use Faker gem’s internal name logic
Tasks:
Research and choose a source that fits our fantasy/D&D theme
Add a NpcNameService class that:
Fetches or generates a name dynamically
Caches recent names to avoid duplicates (optional)
Update NpcGeneratorService to use this instead of sampling from YAML
Stretch:
Add a fallback to YAML if the API is down
Consider combining with quirky suffixes (e.g., “of the Damp Cavern”)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels