Skip to content

Item prices are parsed from translated display lore #9

Description

@CYooBin10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions