wowsinfo / WoWs-Info-Seven

WoWs Info is an assistant for World of Warships
https://wows-info.herokuapp.com
MIT License
67 stars 16 forks source link

Modifiers #72

Open HenryQuan opened 2 years ago

HenryQuan commented 2 years ago

This is a major challenge at the moment. Consumables. modernisation and flags/camoflages all have modifiers. Those values will be used when we update modules, flags and upgrades. At the same time, we need to generate the description of every modifier. I cannot find a good way to do that. Using Map<String, dynamic> works, but we still need to format values correctly. In the end, we need the map version (for the description) and also a fully decoded version (for the value).

For 1.7, we only need to handle the description correctly.

HenryQuan commented 2 years ago

4b8edbf7 includes a POC. However, we still need to check every key manually if needed.

HenryQuan commented 2 years ago

This is now a major roadblock for 1.7 release. There are more than 200 keys. We should group them base on the string.