Skip to content

Unable to purchase as expected. Is the conversion off? #16

Description

@monkeyhustle

OP/Admin set up a coffer and store. Store contained slimeballs with price set to 1 gold ingot (9 nuggets).

stores:
x965x68x-468:
world: world
player: tfenderson
default-price: 1
prices:
341-0: 9

Test #1:
With 9 nuggets in inventory, a non-op player tried to purchase a slimeball. The plug-in stated that he didn't have enough money.

Test #2:
With 1 gold bar in inventory, a non-op player tried to purchase a slimeball. The plug-in stated that he didn't have enough money.

Test #3:
With 8 nuggets and 1 gold bar in inventory, a non-op player tried to purchase a slimeball. The plug-in stated "You purchased 1 slimeball for 9 gold nuggets" and then the player had had 9 gold nuggets and a slimeball in inventory.

If the currency conversion is 9 gold nuggets to 1 gold bar, shouldn't Test #1 and #2 work?
For Test #3, shouldn't the buyer have 1 slimeball and 8 nuggets in inventory following the transaction?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions