put_shop( int price , int limit , item it ) syntax doesn't work

tyilo

Member
I tried using the syntax above but kolmafia said that [*] had no matches.
So i tried the other syntax for put_shop():
put_shop(100 , 0 , item_amount(something) , something )
and it worked perfect!
Can someone fix this?
Thanks!
 

Winterbay

Active member
It worked just fine for me when I just tried it:

Code:
> ash put_shop(500 , 5 , $item[bottle of popskull]);

Transferring     items to store...
Items offered up for sale.
Returned: false
Requesting     store inventory...
Store inventory request complete.
Searching for     "bottle of popskull"...
Requests complete.

Price     analysis complete.
Removing bottle of popskull from store...
You     acquire bottle of popskull (4)
bottle of popskull removed from your     store.

> ash put_shop(500 , 5 , 2, $item[bottle     of popskull]);

Transferring items to store...
Items     offered up for sale.
Returned: false
Removing bottle of popskull     from store...
You acquire bottle of popskull (2)
bottle of popskull     removed from your store.
 

tyilo

Member
Ok see here:
Code:
> ash put_shop(99999, 0, $item[meat stack]);

Unexpected error, debug log printed.

[*] has no matches.
Returned: false
Code:
> ash put_shop(99999, 0, 5, $item[meat stack]);

Transferring items to store...
Items offered up for sale.
Returned: false
 
Last edited:

Winterbay

Active member
Odd. I just copied your line from above and got the following:

Code:
> ash put_shop(99999, 0, $item[meat stack]);

Transferring items to store...
Items offered up for sale.
Returned: false
Requesting store inventory...
Store inventory request complete.
Removing meat stack from store...
You acquire meat stack (73)
meat stack removed from your store.
 
Top