Trade: Add TradeStore and trade flow
Adding a TradeStore to keep track of active trades and their states. Also implements the core trade flow and embed logic.
This commit is contained in:
@@ -16,6 +16,15 @@ const QUALITY_NAMES = {
|
||||
6 : "Shiny"
|
||||
}
|
||||
|
||||
const QUALITY_SYMBOLS = {
|
||||
1 : "<a:shyyOrcaTrain:1005123718542020729><:shyyDead:859552234697916426><:shyyDead:859552234697916426><:shyyDead:859552234697916426><:shyyDead:859552234697916426>",
|
||||
2 : "<a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><:shyyDead:859552234697916426><:shyyDead:859552234697916426><:shyyDead:859552234697916426>",
|
||||
3 : "<a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><:shyyDead:859552234697916426><:shyyDead:859552234697916426>",
|
||||
4 : "<a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><:shyyDead:859552234697916426>",
|
||||
5 : "<a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729><a:shyyOrcaTrain:1005123718542020729>",
|
||||
6 : "⭐⭐⭐⭐⭐"
|
||||
}
|
||||
|
||||
const CURRENCY_SYMBOLS = {
|
||||
1 : "🎶",
|
||||
2 : "💎"
|
||||
@@ -56,5 +65,6 @@ const QUALITY_VALUES = {
|
||||
exports.QUALITY = QUALITY;
|
||||
exports.QUALITY_NAMES = QUALITY_NAMES;
|
||||
exports.CURRENCY_SYMBOLS = CURRENCY_SYMBOLS;
|
||||
exports.QUALITY_SYMBOLS = QUALITY_SYMBOLS;
|
||||
exports.CURRENCY_NAMES = CURRENCY_NAMES;
|
||||
exports.QUALITY_VALUES = QUALITY_VALUES;
|
||||
Reference in New Issue
Block a user