EwenDC / root-automated-setup

Automated Advanced Setup for Leder Game's popular board game Root
https://ewendc.github.io/root-automated-setup/
5 stars 4 forks source link

Show list of required components above setup text #8

Open EwenDC opened 2 years ago

EwenDC commented 2 years ago

A basic form of this exists with the componentCount component.

Idealy you'd update componentCount to make it's implementation generic. It would accept a list of components and would render out the full list. The input would be an array of objects containing a count, image src, and translation key. factionSelect would be updated to use this new component, and the component would be added to all of the setup steps. The component information would need to be added to content.ts.