FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.69k stars 589 forks source link

auto-generated avatar grid [bounty: 30 XTR] #2651

Open DreadKnight opened 2 weeks ago

DreadKnight commented 2 weeks ago

If moving around a unit regarding realm and level, the avatar doesn't update automatically in the dash avatar grid. This is based on work done here -> #846 https://github.com/CyberBishop/AncientBeast/commit/32d79097c8ef331a30b159af1537b5f929fd2020#diff-7a4b8145c1bf2bf544d29967ab26fcd9f62cfe7944aa1c0a1b255c8cdd41e001R2555

The problem revolves around this file -> https://github.com/FreezingMoon/AncientBeast/blob/master/src/style/avatars.less

The file could be generated at build time right into deploy and have the file itself removed from repo if that makes sense or perhaps some CSS3 could be used in the process to display things properly.

Ideally would keep in mind set attribute as well, as we'll have support for multiple sets given time.