Skip to main content

money changer

Discworld furniture help

money changer

Name

money changer - the place where you can change money between currencies

Syntax

change <money> into <type> on changer
change <money> into <area> on changer
try to change <money> into <type> on changer
try to change <money> into <area> on changer

list rates on changer
list contents of changer

For the owner:
set issue rate for <region> to <percent> on changer
set accept rate for <region> to <percent> on changer

deposit <coins> on changer
withdraw <money type list> from changer

Description

This device will convert money you have into a specified type of money you would rather have, or into any money available from a given area. Depending on the exchange rates that the owner has set you can change virtually any type of coin for any other type of coin, for a fee.

The 'try' syntaxes will let you see what the results of a conversion would be before you commit to it. The system can only change to money types that are actually stocked in it already, so the owner will have to deposit coins before the changer can function.

International Exchanges

Exchanging local currency for another local currency (for example, A-M pence for A-M dollars) you are charged at a single local exchange rate, which is set by the owner.

When you exchange a foreign currency you can be charged up to two different rates: the acceptance rate from your origin currency and the issuance rate for your destination currency. That is, if the owner has set changing Djelian currency to AM currency has a 5% fee, and changing AM currency to Djelian currency at a 10% fee, you will pay a 14.5% fee to change ptascpi to talents.

When you exchange between currencies (e.g. Djelian to A-M) your change will be issued in the origin currency (in this case, Djelian).

Notes to the owner

The "accept" rate is the rate at which you accept foreign currency, and the "issue" rate is the rate at which you will issue that currency from your own. It doesn't matter which one you set for your local currency, either rate will set the single "local" rate. Setting a rate to a negative number will disable the specified exchange.

The counter occasionally fails to issue change (and thus fails to convert) when a human might disagree. If you are changing pennies for dollars and will be issued change of more than 50p, a half-dollar will be issued. If you don't have any half-dollars in stock then your customer won't be able to make that transaction.

You keep all of the coins that were exchanged, but you pay a 1% use fee for every transaction directly from your float. This is correctly reflected in the "Revenue" and "Weekly Revenue" status fields.

Deposit and change are reasonably smart with their interpretation of what you mean. For withdraw, you can give a list of one or more "<amount> <type>" pairs separated by ", " (both the comma and space are required). Place name aliases (such as "AM" for Ankh-Morpork) may be used, and capitalization is ignored. Symbolic forms such as "A$5" are also accepted, but may not give you the denominations you expect. For example "withdraw A$20 from changer" will attempt to withdraw 2 ten-dollars rather 20 dollars.

Money from the Agatean Empire is called "Counterweight Continent".

Example

> money verbose
Your purse contains 15 Ankh-Morpork royals, 43 Ankh-Morpork ten-dollars, 112 Ankh-Morpork dollars, one Ankh-Morpork half-dollar, 2 Ankh-Morpork ten-pence, 708 Ankh-Morpork pence, 4 Agatean Empire fifty-rhinu, 4 Agatean Empire ten-rhinu, 20 Agatean Empire rhinu, 20 Djelian talents, 9 Djelian talona, 6 Djelian ptascpi, 8 Ephebian oboli, 10 Lancre crowns and 11 Lancre farthings.

> change every half-dollar, every ten-pence, every penny into talents on changer
You exchange 1 Ankh-Morpork half-dollar, 2 Ankh-Morpork ten-pence and 708 Ankh-Morpork pence for 1 Djelian talent and 2 Ankh-Morpork dollars, 3 Ankh-Morpork ten-pence and 9 Ankh-Morpork pence in change.

> withdraw 700 am pence from changer
You withdraw 700 Ankh-Morpork pence from the money changer counter.

> deposit 1 Ankh-Morpork dollar into changer
You deposit 1 Ankh-Morpork dollar into the money changer counter.

See also

currency, money, rate