Hello traveler! You have found a shop and need supplies. Here are the values of your coinpurse and the items for sale.

A platinum coin is worth 1000
A gold coin is worth 100
A silver coin is worth 10
A copper coin is worth 1

Things are kept simple in this economy, so we round to wholes. You cannot have 0.5 copper coins.

The value of the coins in your coinpurse is: 6050

A magic necklace is worth 2000
A sword is worth 520
A health potion is worth 150
A staff is worth 200
A map is worth 50
A lantern is worth 20
A rope is worth 5

Here are some of the options for purchasing items with your available funds.

Option 1: You can purchase the magic necklace for 2000 and have 4050 left in your coinpurse.
This means you will have 0 platinum coins, 32 gold coins, 40 silver coins, and 450 copper coins left.

Option 2: You can purchase the sword and two health potions for 820 and have 5230 left in your coinpurse.
This means you will have 2 platinum coins, 27 gold coins, 36 silver coins, and 450 copper coins left.

Option 3: You can purchase the map, lantern, and rope for 75 and have 5975 left in your coinpurse.
This means you will have 2 platinum coins, 32 gold coins, 33 silver coins, and 445 copper coins left.

These are only a few of the options you have! Pick what you want and go on your adventure!