ByMykel/CSGO-API

StatTrak™ Music Kits and weapons wears.

yesworId opened this issue · 3 comments

Would be great if music kits, which are contained in StatTrak™ Music Kit Box, would have StatTrak™ prefix in their names too.
Also, would be useful if every weapon skin would have it's wear ranges in crate content dictionary (min_float and max_float values) and not repeatedly written in every weapon skin with a different wear dictionaries (like weapon_id_0 - Factory New, weapon_id_1 - Minimal Wear....).

Another issue I've encounter, incorrect "Mil-Spec Grade" weapon wear in library's code. This wear should be "Mil-Spec"
These are correct list of all weapon wears, according to Valve's names:

WEAPON_RARITIES = [
    'Contraband',
    'Extraordinary',
    'Covert',
    'Classified',
    'Restricted',
    'Mil-Spec',
    'Mil-Spec Grade',  # IS INCORRECT NAME (BUT USED IN CSGO-API)
    'Industrial Grade',
    'Consumer Grade'
]

Another issue I've encounter, incorrect "Mil-Spec Grade" weapon wear in library's code. This wear should be "Mil-Spec" These are correct list of all weapon wears, according to Valve's names:

WEAPON_RARITIES = [
    'Contraband',
    'Extraordinary',
    'Covert',
    'Classified',
    'Restricted',
    'Mil-Spec',
    'Mil-Spec Grade',  # IS INCORRECT NAME (BUT USED IN CSGO-API)
    'Industrial Grade',
    'Consumer Grade'
]

hmm if I am not mistaken I got the translation directly from csgo_english.json

image

EDIT: also thanks for the issue, lately I don't have a lot of free time to spend on this project, so it might be a long wait.

Sorry, I think I'm wrong. I double checked it in the steam community market filters and version with "Grade" is right.