Improve L2 market parsing and data handling
This commit is contained in:
@@ -0,0 +1,360 @@
|
||||
{
|
||||
"version": 1,
|
||||
"viewerCharacter": "Deela",
|
||||
"frame": { "width": 1560, "height": 1360 },
|
||||
"calibration": "fixture-calibration.json",
|
||||
"cases": [
|
||||
{
|
||||
"id": "sell-domestos-clean",
|
||||
"file": "Discord_7xmx8OSuCH.jpg",
|
||||
"groupId": "sell-domestos",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "standalone",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Domestos",
|
||||
"occupiedSlots": [0],
|
||||
"pendingSlots": [0],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-crom-clean",
|
||||
"file": "Discord_K9RkTrU6B2.jpg",
|
||||
"groupId": "sell-crom",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "standalone",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Crom",
|
||||
"occupiedSlots": [0, 1],
|
||||
"pendingSlots": [0, 1],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-gnumli-clean",
|
||||
"file": "Discord_w3Smu4bOQK.jpg",
|
||||
"groupId": "sell-gnumli",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "sequence",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Gnumli",
|
||||
"occupiedSlots": [0, 1],
|
||||
"pendingSlots": [0, 1],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-gnumli-soulshot",
|
||||
"file": "Discord_ARWzEIaayl.jpg",
|
||||
"groupId": "sell-gnumli",
|
||||
"order": 1,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "soulshot-c-grade",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Gnumli",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [1],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Soulshot: C-grade",
|
||||
"name": "Soulshot C grade",
|
||||
"quantity": 36370,
|
||||
"priceAdena": 20,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-gnumli-blessed-spiritshot",
|
||||
"file": "Discord_qy3EYIEcMV.jpg",
|
||||
"groupId": "sell-gnumli",
|
||||
"order": 2,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "blessed-spiritshot-d-grade",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Gnumli",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 1,
|
||||
"pendingSlots": [],
|
||||
"foundSlots": [0, 1],
|
||||
"item": {
|
||||
"displayName": "Blessed Spiritshot: D-Grade",
|
||||
"name": "Blessed Spiritshot D Grade",
|
||||
"quantity": 7245,
|
||||
"priceAdena": 58,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-boroda4-clean",
|
||||
"file": "Discord_sSJAGZLHvm.jpg",
|
||||
"groupId": "sell-boroda4",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "sequence",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Boroda4",
|
||||
"occupiedSlots": [0, 1],
|
||||
"pendingSlots": [0, 1],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-boroda4-spellbook",
|
||||
"file": "Discord_KL0fnDcvr7.jpg",
|
||||
"groupId": "sell-boroda4",
|
||||
"order": 1,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "spellbook-prominence",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Boroda4",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [1],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Spellbook: Prominence",
|
||||
"name": "Spellbook Prominence",
|
||||
"quantity": 2,
|
||||
"priceAdena": 50000,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-boroda4-helmet",
|
||||
"file": "Discord_dxpCzaJEWD.jpg",
|
||||
"groupId": "sell-boroda4",
|
||||
"order": 2,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "brigandine-helmet",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "Boroda4",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 1,
|
||||
"pendingSlots": [],
|
||||
"foundSlots": [0, 1],
|
||||
"item": {
|
||||
"displayName": "Brigandine Helmet",
|
||||
"name": "Brigandine Helmet",
|
||||
"quantity": 1,
|
||||
"priceAdena": 800000,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-shotd-clean",
|
||||
"file": "Discord_uqGcQhxIWc.jpg",
|
||||
"groupId": "sell-shotd",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "sequence",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "shotD",
|
||||
"occupiedSlots": [0, 1],
|
||||
"pendingSlots": [0, 1],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-shotd-tutorial-guide",
|
||||
"file": "Discord_fb9f61z8Ek.jpg",
|
||||
"groupId": "sell-shotd",
|
||||
"order": 1,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "tutorial-guide",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "shotD",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [1],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Tutorial Guide",
|
||||
"name": "Tutorial Guide",
|
||||
"quantity": 1,
|
||||
"priceAdena": 5000000,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-shotd-dimensional-fragment",
|
||||
"file": "Discord_ezvlzpNHRg.jpg",
|
||||
"groupId": "sell-shotd",
|
||||
"order": 2,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "dimensional-fragment",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "shotD",
|
||||
"occupiedSlots": [0, 1],
|
||||
"hoveredSlot": 1,
|
||||
"pendingSlots": [],
|
||||
"foundSlots": [0, 1],
|
||||
"item": {
|
||||
"displayName": "Dimensional Fragment",
|
||||
"name": "Dimensional Fragment",
|
||||
"quantity": 687,
|
||||
"priceAdena": 3500,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-1shop-clean",
|
||||
"file": "Discord_tJFxvFi7DM.jpg",
|
||||
"groupId": "sell-1shop",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "sequence",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "1SHOP",
|
||||
"occupiedSlots": [0],
|
||||
"pendingSlots": [0],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sell-1shop-ancient-adena",
|
||||
"file": "Discord_fFbzX9vDhW.jpg",
|
||||
"groupId": "sell-1shop",
|
||||
"order": 1,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "ancient-adena",
|
||||
"expected": {
|
||||
"side": "sell",
|
||||
"merchant": "1SHOP",
|
||||
"occupiedSlots": [0],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Ancient Adena",
|
||||
"name": "Ancient Adena",
|
||||
"quantity": 1793000,
|
||||
"priceAdena": 3,
|
||||
"priceMode": "price"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buy-rakot-clean",
|
||||
"file": "Discord_wQc5FDayAK.jpg",
|
||||
"groupId": "buy-rakot",
|
||||
"order": 0,
|
||||
"scene": "clean",
|
||||
"mode": "sequence",
|
||||
"expected": {
|
||||
"side": "buy",
|
||||
"merchant": "RAKOT",
|
||||
"occupiedSlots": [0, 1, 2],
|
||||
"pendingSlots": [0, 1, 2],
|
||||
"foundSlots": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buy-rakot-scroll",
|
||||
"file": "Discord_TxbA20ZOQB.jpg",
|
||||
"groupId": "buy-rakot",
|
||||
"order": 1,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "scroll-enchant-weapon-d",
|
||||
"expected": {
|
||||
"side": "buy",
|
||||
"merchant": "RAKOT",
|
||||
"occupiedSlots": [0, 1, 2],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [1, 2],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Scroll: Enchant Weapon (D)",
|
||||
"name": "Scroll Enchant Weapon D",
|
||||
"quantity": 0,
|
||||
"priceAdena": 200000,
|
||||
"priceMode": "each"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buy-rakot-coarse-bone-powder",
|
||||
"file": "Discord_ikzA9VhROZ.jpg",
|
||||
"groupId": "buy-rakot",
|
||||
"order": 2,
|
||||
"scene": "tooltip",
|
||||
"mode": "sequence",
|
||||
"catalogAssetId": "coarse-bone-powder",
|
||||
"expected": {
|
||||
"side": "buy",
|
||||
"merchant": "RAKOT",
|
||||
"occupiedSlots": [0, 1, 2],
|
||||
"hoveredSlot": 2,
|
||||
"pendingSlots": [1],
|
||||
"foundSlots": [0, 2],
|
||||
"item": {
|
||||
"displayName": "Coarse Bone Powder",
|
||||
"name": "Coarse Bone Powder",
|
||||
"quantity": 0,
|
||||
"priceAdena": 1,
|
||||
"priceMode": "each"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buy-kapayji-ancient-adena",
|
||||
"file": "Discord_2KrJ9GGjCP.jpg",
|
||||
"groupId": "buy-kapayji",
|
||||
"order": 0,
|
||||
"scene": "tooltip",
|
||||
"mode": "contextual",
|
||||
"catalogAssetId": "ancient-adena",
|
||||
"initialState": {
|
||||
"side": "buy",
|
||||
"merchant": "KapayJI",
|
||||
"activeShopKey": "buy:kapayji",
|
||||
"pendingSlots": [0],
|
||||
"foundSlots": []
|
||||
},
|
||||
"expected": {
|
||||
"side": "buy",
|
||||
"merchant": "KapayJI",
|
||||
"occupiedSlots": [0],
|
||||
"hoveredSlot": 0,
|
||||
"pendingSlots": [],
|
||||
"foundSlots": [0],
|
||||
"item": {
|
||||
"displayName": "Ancient Adena",
|
||||
"name": "Ancient Adena",
|
||||
"quantity": 0,
|
||||
"priceAdena": 2,
|
||||
"priceMode": "each"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user