dhleong / wish

The character sheets we've always wished for
https://dhleong.github.io/wish
9 stars 2 forks source link

Add initial "availability group" concept; show "other" items in group #155

Closed dhleong closed 4 years ago

dhleong commented 4 years ago

See #138

The upshot of this PR is that for things like 5e skill proficiencies, which can be acquired in many places (ex: race, background, AND class) you can now see which other ones you've already acquired at any given source. This should obviate the need for flipping back and forth between different pages.

If a feature has an :availability-attr that is a vector, the first keyword in that vector becomes its "availability group."

A feature implicitly "has" an availability group if its first two options are part of the same availability group. Alternately, a feature could manually specify which availability groups it contributes to by specifying the :availability-groups key. This is useful for things like the "pick any 2" for a custom background, which allows both tool proficiencies and languages.