fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
51 stars 15 forks source link

Remove unused affixes #7

Closed fonsleenaars closed 6 years ago

fonsleenaars commented 6 years ago

There seem to be affixes in the parser that aren't actually available for any equipment, these should be removed.

fonsleenaars commented 6 years ago

The parser is actually the one responsible for excluding affixes based on whether or not they are used, the website will automatically reflect this when they're no longer in the data set.

Quanyails commented 6 years ago

I'm not sure if they should be removed from the database entirely. Maybe they can be made to appear in custom games. Completing #6 might implicitly complete this issue as well; if an affix has no equipment type associated with it, it can be seen to be unused. (I'm not actually sure if that's how it works in the in-game database.)

fonsleenaars commented 6 years ago

Indeed, #6 should end up supplying a list of unused prefixes. One option is to leave them in but mark them as unused.

fonsleenaars commented 6 years ago

They are now marked, verified on staging (https://staging.tq-db.net/affix/prefixes)!