open5e / open5e-api

The api for open5e.com
Other
157 stars 97 forks source link

[FEATURE] Consider adding description keyword to object mappings. #570

Open augustjohnson opened 1 month ago

augustjohnson commented 1 month ago

The idea here is that the client would have both a simple markdown description of any give game object (let's say wand of magic missiles), plus a way to see that the description with "cast the magic missile spell" could be an outbound link to whatever representation the client has of the magic missile spell.

Rough proposed data representation: desc: "This wand lets you cast fireball or magic missile." desc_keyword_mapping: [{fireball:v2/spells/srd_fireball},{magic missile:v2/spells/srd_magic-missile}]

augustjohnson commented 1 month ago

This relates to #291 and #292 and may serve to resolve the basic feature they are going after.