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 armor API generator #440

Open drusepth opened 9 years ago

drusepth commented 9 years ago

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

{
  'type': 'shield', // random among all armor types
  'material': 'steel', // random among various materials
  'description': 'a shield that is mighty reflective', // randomly generated description
  'weight': '21lbs' // random weight
}

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

Very similar to https://github.com/drusepth/Indent/issues/439