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

Random weapon API generator #439

Open drusepth opened 9 years ago

drusepth commented 9 years ago

Hitting /generate/weapon should respond with a random weapon data blob:

{
  'type': 'sword', // random among all weapon types
  'material': 'steel', // random among various materials
  'description': 'a sword that sparkles brightly', // randomly generated description
  'weight': '9lbs' // random weight
}

Similarly, scopes for each weapon type should respond with a random weapon (above) but guaranteed that type, with any type-specific info we want to throw in:

Issue split from https://github.com/drusepth/Indent/issues/112