Difference between revisions of "Talk:Eatsilent"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
(Regarding the return value...)
 
imported>Heeheehee
m (More discussion regarding return values.)
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
::Returned: false
 
::Returned: false
 
This suggests that the function does, in fact, take into account whether the item is eaten or not.
 
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: --[[User:Heeheehee|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...
 +
--[[User:StDoodle|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?) --[[User:Heeheehee|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.--[[User:StDoodle|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? --[[User:Heeheehee|Heeheehee]] 01:41, 12 April 2010 (UTC)

Latest revision as of 01:41, 12 April 2010

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)