Crafting styles had constants in the past, but when they started adding so many new styles every update, they decided to stop adding more in favour of using ids. So while there are a couple ITEM_STYLE_ constants, those are deprecated and won't be updated with newer styles.
You can either pick the style ids you want and add variables for them locally in your own addon, or use the appropriate api functions to iterate over all styles.
Crafting styles had constants in the past, but when they started adding so many new styles every update, they decided to stop adding more in favour of using ids. So while there are a couple ITEM_STYLE_ constants, those are deprecated and won't be updated with newer styles.
You can either pick the style ids you want and add variables for them locally in your own addon, or use the appropriate api functions to iterate over all styles.
Yes i see thos old constant about the first style, and later in the night (i'm in France) i decide to create my own constant for the 116 styles. Thanks for the answser.