Jump to content
  • Sign Up

How to use armor skin dye slots?


StevenL.3761

Recommended Posts

I'm building something that targets /v2/skins and I'm wondering how to make sense of the dye_slots information.

Example: Leystone Vambraceshttps://api.guildwars2.com/v2/skins/6232

1223679.png

"dye_slots": {    "default": [    {        "color_id": 1,        "material": "cloth"    },    {        "color_id": 1,        "material": "cloth"    },    {        "color_id": 1,        "material": "cloth"    },    null    ],    "overrides": {}}

I'd expect to find three dye slots in the game, but my Leystone Vambraces only have two dye slots. Furthermore, the default colors are Spearmint and Grapevine, not Dye Remover.

TPOwSI9.png

Am I missing the point of the data, or is the data wrong?

Link to comment
Share on other sites

Apparently the API data has changed overnight... and now it looks totally wrong.

"dye_slots": {    "default": [    {        "color_id": 475,        "material": "cloth"    },    {        "color_id": 99,        "material": "cloth"    },    {        "color_id": 10,        "material": "cloth"    },    null    ],    "overrides": {}}

475 is Dust99 is Silt10 is Skyhttps://api.guildwars2.com/v2/colors?ids=475,99,10

I guess this is broken.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...