Diablo® III

Recipe parameter for item

Will blizzard consider to add a recipe parameter to all the items?
for example:
A green item has the following data:
(http://us.battle.net/api/d3/data/item/Cq4BCPDOrdUPEgcIBBX7ZiUdHaaTxPYd52vVtx1bToDJHYSNuc0duvHsGh2TAmPqMAk47AJAAFASYOwCaiUKDAgAENigpciBgIDgARIVCLvMuuUHEgcIBBUPn9irMAk4AEABaiUKDAgAENugpciBgIDgARIVCIHU_IsIEgcIBBUPn9irMAk4AEABaiUKDAgAEJaXmciBgIDgARIVCNr5674DEgcIBBUPn9irMAk4AEABGPabq9IDUAJYAKABhsau8QGgAfabq9ID)

id: "Unique_ChestArmor_028_104",
name: "Blackthorne's Surcoat",
icon: "unique_chestarmor_028_104_demonhunter_male",
displayColor: "green",
tooltipParams: "item/Cq4BCPDOrdUPEgcIBBX7ZiUdHaaTxPYd52vVtx1bToDJHYSNuc0duvHsGh2TAmPqMAk47AJAAFASYOwCaiUKDAgAENigpciBgIDgARIVCLvMuuUHEgcIBBUPn9irMAk4AEABaiUKDAgAENugpciBgIDgARIVCIHU_IsIEgcIBBUPn9irMAk4AEABaiUKDAgAEJaXmciBgIDgARIVCNr5674DEgcIBBUPn9irMAk4AEABGPabq9IDUAJYAKABhsau8QGgAfabq9ID",


The data do not provide any recipe information, and I have to query again using the id:
(http://us.battle.net/api/d3/data/item/Unique_ChestArmor_028_104)

id: "Unique_ChestArmor_028_104",
name: "Blackthorne's Surcoat",
icon: "unique_chestarmor_028_104_demonhunter_male",
displayColor: "green",
tooltipParams: "item/blackthornes-surcoat",

From this information, I can know the recipe of the green item is "item/blackthornes-surcoat".

Will blizzard add an attribute into the original data as
recipeParams: "item/blackthornes-surcoat",
to reduce the overhead when query recipe?

Samson Fu
Reply Quote
I don't think this item is a crafted one, that's why there is no "recipe" attribute.
What you are looking for is the meta item, that is the uninstanciated item description.
In fact http://us.battle.net/api/d3/data/item/Unique_ChestArmor_028_104 and http://us.battle.net/api/d3/data/item/blackthornes-surcoat are the same (but the durability).
Reply Quote
I don't think this item is a crafted one, that's why there is no "recipe" attribute.
What you are looking for is the meta item, that is the uninstanciated item description.
In fact http://us.battle.net/api/d3/data/item/Unique_ChestArmor_028_104 and http://us.battle.net/api/d3/data/item/blackthornes-surcoat are the same (but the durability).


"recipe" or "meta" whatever you call it, we need that information.

There are some reason we need item/blackthornes-surcoat rather than item/Unique_ChestArmor_028_104.
1. The the tooltip script api works for item/blackthornes-surcoat, NOT item/Unique_ChestArmor_028_104. ref: http://us.battle.net/d3/en/tooltip/
2. Some different unique items have the same ID, but different recipe or meta. e.g.: The Hellfire Rings.
3. The set items ajax do returns the recipe or meta rather than ID in the API.
Edited by samsonfu#3553 on 5/22/2013 2:31 AM PDT
Reply Quote
I wrote a complete response, and lost all... so I'm going to be shorter.

I understand your problem but don't face it myself as I never use the tooltip script. It seems to me that the fact "item/blackthornes-surcoat" is not responding it is a lack of the script as the json api is able to give the informations.

As a workaround for green objects only, you can use the "set" attribute in the original item. It lists all the items of the set. Looking for the id of your item, you will be able to retrieve the tooltipParams you need.
In your example:
(item) / set / (item with id="Unique_ChestArmor_028_104") / tooltipParams is item/blackthornes-surcoat.

About the words:
Recipe is used only for crafted items: the "recipe" attribute allows to know of the reagents, cost and item produced (meta).
I use the word "meta" for the uninstanciated item, that is where min/max value pairs are not the same.
Edited by Tok#2360 on 5/23/2013 2:23 AM PDT
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)
Submit Cancel

Reported!

[Close]