aqualectrix
Member
I think your suggestions and requests are excellent ones. I was kinda thinking of changing the way things are represented anyway -- as you point out, the string + float record is very limited in what information it provides you. My current guess at the new record is something like this:
This looks very much like you have proposed, but also accounts for quantity (playing into your first request), required items (other ingredients, keys, etc.), and resulting items.
I hope to get some serious work put into PA in the next few days which should make it much friendlier on the scripting and executing side.
Edit: In the spirit of _obeyBuyLimit and _conservative being "don't be so ridiculous" flags, I think they should rule out actions that require untradeable items, too. Any objections? A slightly more lax rule-out would allow recommendations of untradeable items that you actually have -- would this be better?
Code:
record pa_advice
{
item it;
int quantity; // use 0 to signal "expected result" style
int [item] required;
pa_advice [item] result;
string action;
float profit;
};
This looks very much like you have proposed, but also accounts for quantity (playing into your first request), required items (other ingredients, keys, etc.), and resulting items.
I hope to get some serious work put into PA in the next few days which should make it much friendlier on the scripting and executing side.
Edit: In the spirit of _obeyBuyLimit and _conservative being "don't be so ridiculous" flags, I think they should rule out actions that require untradeable items, too. Any objections? A slightly more lax rule-out would allow recommendations of untradeable items that you actually have -- would this be better?
Last edited: