scripting the microbrewery

G

groodude

Guest
Since I have a lack of time I'm hoping that someone will know the answer to this;
how do I script buying items from the gnomish microbrewery?

I'm not looking for anything fancy, just a way to buy/drink a set number (like 6) of Infinitesimal IPA every day.

Has anyone figured out how to script this?

Thanks (hopefully),
groodude
 

Tirian

Member
I don't have any muscle sign characters at the moment, but have you tried this?

Code:
drink (6, $item[Infinitesimal IPA]);
 

Nightmist

Member
[quote author=Tirian link=topic=313.msg1687#msg1687 date=1153937278]
I don't have any muscle sign characters at the moment, but have you tried this?

Code:
drink (6, $item[Infinitesimal IPA]);


[/quote]
Im not sure about recent releases but in 8.1 and earlier the "automatically eat//drink" items are not really items and such commands wont work since they dont count as actual items to use... (Or if they do now count as items, time for me to un-comment out them in my ash map :D

PS. I think the word you were looking for is moxie sign.
 

Tirian

Member
I guess you're right. Oh well, guess we have to hit this fly with a sledgehammer.

Code:
cli_execute("drink 6 infinitessimal IPA");

Like I say, I don't have access to the microbrewery, but this gives every indication of working as expected in the restaurant.
 

groodude

New member
It seems that I was giving it too much information.

using
cli_execute("drink 1 infinitesimal")
works just fine. I guess that the IPA was what was messing me up.

Thanks for the help.
 
Top