Labels: high, bug, economy, localization
Description
The transaction system extracts item prices from display lore by searching for $ and parsing the text after it.
Display text should not be used as the authoritative source for transaction data.
Impact
Transactions can fail when:
- A translation changes the lore format.
- A currency does not use
$.
- Color formatting changes.
- The price contains unexpected spacing.
- Number formatting changes.
- Lore is missing or malformed.
Expected behavior
Store the shop ID and item ID in the menu session, then retrieve the authoritative price directly from ShopManager when processing the transaction.
Lore should only be used for presentation.
Labels: high, bug, economy, localization
Description
The transaction system extracts item prices from display lore by searching for
$and parsing the text after it.Display text should not be used as the authoritative source for transaction data.
Impact
Transactions can fail when:
$.Expected behavior
Store the shop ID and item ID in the menu session, then retrieve the authoritative price directly from
ShopManagerwhen processing the transaction.Lore should only be used for presentation.