I hate my code, but buy/sell is done

This commit is contained in:
2ndbeam 2024-05-23 12:08:25 +03:00
commit 1ea6c2d296
18 changed files with 208 additions and 64 deletions

View file

@ -12,9 +12,9 @@ BASE_FETCH_BUY_SELL_CANCEL_RECEIVED,I changed my mind\nErm...Fine...\nAnything e
BASE_BUY_SELL, ,
BASE_BUY_SELL_NEXT,Next tab,Следующая вкладка
BASE_BUY_SELL_PREV,Previous tab,Предыдущая вкладка
BASE_BUY_ITEM_LOCAL,Buy {amount}x{item_name} ({total_price}),Купить {amount}x{item_name} ({total_price})
BASE_BUY_ITEM_LOCAL,Buy {amount}x{item_name} ({total_cost}),Купить {amount}x{item_name} ({total_cost})
BASE_BUY_ITEM_RECEIVED,"[BOUGHT {amount}x{item_name}]\nThanks, anything else?\n> ","[КУПЛЕНО {amount}x{item_name}]\nСпасибо, что-то ещё?\n> "
BASE_SELL_ITEM_LOCAL,Sell {amount}x{item_name} ({total_price}),Продать {amount}x{item_name} ({total_price})
BASE_SELL_ITEM_LOCAL,Sell {amount}x{item_name} ({total_cost}),Продать {amount}x{item_name} ({total_cost})
BASE_SELL_ITEM_RECEIVED,"[SOLD {amount}x{item_name}]\nThanks, anything else?\n> ","[ПРОДАНО {amount}x{item_name}]\nСпасибо, что-то ещё?\n> "
BUY_SELL_ITEM,{item_id}. {item_name},{item_id}. {item_name}
NULL, ,
1 en ru
12 BASE_BUY_SELL
13 BASE_BUY_SELL_NEXT Next tab Следующая вкладка
14 BASE_BUY_SELL_PREV Previous tab Предыдущая вкладка
15 BASE_BUY_ITEM_LOCAL Buy {amount}x{item_name} ({total_price}) Buy {amount}x{item_name} ({total_cost}) Купить {amount}x{item_name} ({total_price}) Купить {amount}x{item_name} ({total_cost})
16 BASE_BUY_ITEM_RECEIVED [BOUGHT {amount}x{item_name}]\nThanks, anything else?\n> [КУПЛЕНО {amount}x{item_name}]\nСпасибо, что-то ещё?\n>
17 BASE_SELL_ITEM_LOCAL Sell {amount}x{item_name} ({total_price}) Sell {amount}x{item_name} ({total_cost}) Продать {amount}x{item_name} ({total_price}) Продать {amount}x{item_name} ({total_cost})
18 BASE_SELL_ITEM_RECEIVED [SOLD {amount}x{item_name}]\nThanks, anything else?\n> [ПРОДАНО {amount}x{item_name}]\nСпасибо, что-то ещё?\n>
19 BUY_SELL_ITEM {item_id}. {item_name} {item_id}. {item_name}
20 NULL