How to use armor skin dye slots? — Guild Wars 2 Forums

How to use armor skin dye slots?

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

Example: Leystone Vambraces
https://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.

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

Comments

  • StevenL.3761StevenL.3761 Member ✭✭

    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 Dust
    99 is Silt
    10 is Sky
    https://api.guildwars2.com/v2/colors?ids=475,99,10

    I guess this is broken.