-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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?