|
@@ -70,6 +70,8 @@ def buyout():
|
|
total=0
|
|
total=0
|
|
cardCount=0
|
|
cardCount=0
|
|
NeededCards=[]
|
|
NeededCards=[]
|
|
|
|
+ print(f"Cards Needed Today:")
|
|
|
|
+ print(f' Name Needed Cost')
|
|
for card in MarketCards:
|
|
for card in MarketCards:
|
|
if 'CRYSTAL' not in Stock[card['card-num']]:
|
|
if 'CRYSTAL' not in Stock[card['card-num']]:
|
|
card['stock']=int(Stock[card['card-num']])
|
|
card['stock']=int(Stock[card['card-num']])
|
|
@@ -79,7 +81,7 @@ def buyout():
|
|
NeededCards.append(card)
|
|
NeededCards.append(card)
|
|
total+=card['total-cost']
|
|
total+=card['total-cost']
|
|
cardCount+=card['needed']
|
|
cardCount+=card['needed']
|
|
- print(f"{card['card-num']: <3} {card['name']: <20} {card['needed']: >2} {card['total-cost']}")
|
|
|
|
|
|
+ print(f"{card['card-num']: >3} {card['name']: <20} {card['needed']: >2} {round(card['total-cost']): >5}")
|
|
|
|
|
|
print(f" Remaining Cards: {cardCount}")
|
|
print(f" Remaining Cards: {cardCount}")
|
|
- print(f"Total Gems Needed: {total}")
|
|
|
|
|
|
+ print(f"Total Gems Needed: {round(total)}")
|