Talk:Eatsilent

From Kolmafia
Revision as of 01:41, 12 April 2010 by imported>Heeheehee (More discussion regarding return values.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When not logged in:

> ash eatsilent(1,$item[knob mushroom])
Since you are not in a Mysticality sign, you may not visit the restaurant.
You need 1 more Knob mushroom to continue.
Returned: false

This suggests that the function does, in fact, take into account whether the item is eaten or not.

Edit: Erm, forgot to sign it. Here: --Heeheehee 02:11, 11 April 2010 (UTC)

Ok, I cheated; I copypasta'd for this & overdrink. :P It IS kinda odd that they work differently, though... --StDoodle (#1059825) 02:54, 11 April 2010 (UTC)

They both return false if you can't manage to consume the item. I tested that as well. (Didn't you get the memo?) --Heeheehee 22:19, 11 April 2010 (UTC)

Oh, no, I meant it's kinda odd that eatsilent works differently than eat & overdrink works differently than drink, in regards to the return value.--StDoodle (#1059825) 23:58, 11 April 2010 (UTC)

> ash eat(1,$item[tomato])
Since you are not in a Mysticality sign, you may not visit the restaurant.
You need 1 more tomato to continue.
Returned: false
> ash drink(1,$item[bloody mary])
Since you are not in a Moxie sign, you may not visit the brewery.
You need 1 more bloody mary to continue.
Returned: false

I see no difference with regards to return value. Should we remove those bits from their respective pages, or no? --Heeheehee 01:41, 12 April 2010 (UTC)