Project

General

Profile

Feature - Enhancement #1325

Recipe Information. Primary component

Added by Kannkor over 9 years ago. Updated over 9 years ago.

Status:
Implemented
Priority:
Normal
Assignee:
Category:
-
Start date:
2014-12-20
Due date:
% Done:

0%

Estimated time:
vbulletin_issue_id:

Description

Up until this last xpac, I'd guess 95% of all crafting recipes only took 1 "Primary Component" to make.

With AoM most primary components are more than 1.

 

You can take any recipe, and I suspect it'll have the same information. Here is a high level recipe as an example.

Xiocite Longbow of the Striker

ID: 4135783030

 

Note: Most of this is a server call. Which is fine. But when you are testing, expect to see some NULLs, then repeat for the actual response.

 

.PrimaryComponent is a string.

echo ${Me.Recipe[id,4135783030].PrimaryComponent}

returns: araucaria lumber

 

. BuildComponent1 is a "Component".

echo ${Me.Recipe[id,4135783030].BuildComponent1}

returns: incandescent material

echo ${Me.Recipe[id,4135783030].BuildComponent1.Quantity}

returns: 1

 

Likewise...

echo ${Me.Recipe[id,4135783030].BuildComponent2}

returns: larix lumber

echo ${Me.Recipe[id,4135783030].BuildComponent2.Quantity}

returns: 4

 

Can you see if primarycomponent can be set up as a "Component" so .Quantity will work?

Also available in: Atom PDF