I know, title is not very clear, so.
I tried to write such a piece of a code to:
- Automatically count Talk{1..9} sprites and calculate their time accordingly
- Automatically detect Emotions (from my PR) from 1 to 9 and bind keys automatically
Now I need to hardcode all these vars. It's okay but if I will change my avatar's emotions/talk-sprites it will be handier to read config file automatically without rebuilding program every time. So I tried to rewrite these parts, but my Nim knowledge is too small so I can't really write it. Maybe you'll find this interesting.