matt.chugg
Moderator
If I havn't said so already Zarquon, this is an awesome script, probably one of my most used!
However, I think there maybe a minor issue with whitleys grove. I seem to end up adventuring there for ages looking for wet stew. I don't pay too much attention when i'm at work, just let mafia get on with it, but I seem to be adventuring there far too much (I have 14 lion oil and 25 ribs! ) but still not making the stew. is this to do with the new cooking thing ? when I finally run out of adventures, the script aborts with:
I havn't delved in too deep, but would it be better to obtain 1 bird rib and and one lion oil instead of 1 wet stew?
its still awesome though!
EDIT:
ok a little digging, creatable_amount($item[wet stew]) returns 0 if you don't have a range or other means of cooking (which makes sense) even if you have the ingredients
looking in zlib at obtain() it uses retrieve_item():
retrieve_item(1,$item[wetstew]) fails if there is no means of cooking as above even if the ingredients are available, (should the core functionality of retrieve_item buy a range from the market and install it?)
Not sure what the fix is, whether the script should check for a means of cooking, or whether to submit a bug report for the functionality of retrieve_item ?
However, I think there maybe a minor issue with whitleys grove. I seem to end up adventuring there for ages looking for wet stew. I don't pay too much attention when i'm at work, just let mafia get on with it, but I seem to be adventuring there far too much (I have 14 lion oil and 25 ribs! ) but still not making the stew. is this to do with the new cooking thing ? when I finally run out of adventures, the script aborts with:
Conditions not satisfied after 179 adventures.
You need 1 more stunt nuts to continue.
Conditions list cleared.
Condition added: stunt nuts
stunt nuts
You cannot cook without an oven or a range.
Unable to complete the Palindome section of the MacGuffin quest.
Code:
if (item_amount($item[wet stunt nut stew]) < 1) {
if (item_amount($item[wet stew]) + creatable_amount($item[wet stew]) == 0) {
visit_url("guild.php?place=paco");
obtain(1,"wet stew",$location[whitey's grove]);
}
obtain(1,"stunt nuts",$location[palindome]);
create(1,$item[wet stunt nut stew]);
}
I havn't delved in too deep, but would it be better to obtain 1 bird rib and and one lion oil instead of 1 wet stew?
its still awesome though!
EDIT:
ok a little digging, creatable_amount($item[wet stew]) returns 0 if you don't have a range or other means of cooking (which makes sense) even if you have the ingredients
looking in zlib at obtain() it uses retrieve_item():
retrieve_item(1,$item[wetstew]) fails if there is no means of cooking as above even if the ingredients are available, (should the core functionality of retrieve_item buy a range from the market and install it?)
Code:
> ash retrieve_item(1,$item[wet stew])
You need 1 more wet stew to continue.
Returned: false
> ash retrieve_item(1,$item[range])
Returned: true
> ash use(1,$item[range])
Using 1 Dramatic™ range...
Finished using 1 Dramatic™ range.
Returned: true
> ash retrieve_item(1,$item[wet stew])
Verifying ingredients for wet stew (1)...
Creating wet stew (1)...
You acquire an item: wet stew
Successfully created wet stew (1)
Returned: true
Not sure what the fix is, whether the script should check for a means of cooking, or whether to submit a bug report for the functionality of retrieve_item ?
Last edited: