drusepth / Indent

Indent is a set of tools for writers, game designers, and roleplayers to create magnificent universes – and everything within them.
http://indentapp.com
1 stars 1 forks source link

Character occupation API endpoint #442

Open drusepth opened 9 years ago

drusepth commented 9 years ago

We have Occupation as a field for characters. Would be great to throw a random button on that also and expose an API endpoint for it. Would be even better if it somehow could scope to the character/universe's context to prevent conflicting occupations (e.g. generating "programmer" in 300B.C.), but dunno how that might work quite yet.

Endpoint should live at /generate/character/occupation (or /job) and respond with a random element from a to-be-added occupations locale array full of

etc