Update price output format to include SCU for clarity in sell and buy price responses
This commit is contained in:
parent
0dc5eb5e20
commit
c7dd2a88d8
@ -449,7 +449,7 @@ class Tools:
|
|||||||
terminal_name = row[1]
|
terminal_name = row[1]
|
||||||
item_name = row[2]
|
item_name = row[2]
|
||||||
output_lines.append(
|
output_lines.append(
|
||||||
f"Item: {item_name}, Sell Price: {sell_price}, Terminal: {terminal_name}"
|
f"Item: {item_name}, Sell Price: {sell_price}/SCU, Terminal: {terminal_name}"
|
||||||
)
|
)
|
||||||
result_string = "\n".join(output_lines)
|
result_string = "\n".join(output_lines)
|
||||||
await emitter.success_update(
|
await emitter.success_update(
|
||||||
@ -468,7 +468,7 @@ class Tools:
|
|||||||
result_string = error_message
|
result_string = error_message
|
||||||
|
|
||||||
print(result_string)
|
print(result_string)
|
||||||
correct_response = "If not other specified, only answer two terminals with the highest sell price with the actual sell price.\n" + result_string
|
correct_response = "If not other specified, only answer two terminals with the highest sell price with the actual sell price per SCU (Star Citizen Unit).\n" + result_string
|
||||||
return correct_response
|
return correct_response
|
||||||
|
|
||||||
async def get_commodity_buy_price(
|
async def get_commodity_buy_price(
|
||||||
@ -513,7 +513,7 @@ class Tools:
|
|||||||
terminal_name = row[1]
|
terminal_name = row[1]
|
||||||
item_name = row[2]
|
item_name = row[2]
|
||||||
output_lines.append(
|
output_lines.append(
|
||||||
f"Item: {item_name}, Buy Price: {buy_price}, Terminal: {terminal_name}"
|
f"Item: {item_name}, Buy Price: {buy_price}/SCU, Terminal: {terminal_name}"
|
||||||
)
|
)
|
||||||
result_string = "\n".join(output_lines)
|
result_string = "\n".join(output_lines)
|
||||||
await emitter.success_update(
|
await emitter.success_update(
|
||||||
@ -534,7 +534,7 @@ class Tools:
|
|||||||
result_string = error_message
|
result_string = error_message
|
||||||
|
|
||||||
print(result_string)
|
print(result_string)
|
||||||
correct_response = "If not other specified, only answer two terminals with the lowest buy price with the actual buy price.\n" + result_string
|
correct_response = "If not other specified, only answer two terminals with the lowest buy price with the actual buy price per SCU (Star Citizen Unit).\n" + result_string
|
||||||
return correct_response
|
return correct_response
|
||||||
|
|
||||||
async def get_item_prices(
|
async def get_item_prices(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user