fut icon indicating copy to clipboard operation
fut copied to clipboard

After I buy an item, how I set a price and send it to the tradePile?

Open moisty70 opened this issue 4 years ago • 4 comments

I am trying to buy items and then sell them for a higher price. I can buy the items but they go to WON LIST and don't know how can I access it.

moisty70 avatar Apr 28 '20 19:04 moisty70

get them with

your_session.unassigned()

From this list, take the identifier "id" and then use send sendToTradepile(id, safe=False).

Read the documentation for a better understanding, the link is on the front page of this repository.

FrancisHGR avatar May 04 '20 12:05 FrancisHGR

safe=False, What does it mean ?

totti240282 avatar May 04 '20 12:05 totti240282

safe checks whether there is enough space on the tradepile, so that its not attempting to shift the card when its not actually possible.

In my experience, it somehow doesnt work though so i put the safe flag to False and do my own check. You can just take len(your_session.tradePile()) and verify that it is not full.

FrancisHGR avatar May 04 '20 13:05 FrancisHGR

Thanks.

totti240282 avatar May 04 '20 13:05 totti240282