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>

For the owner:
deposit <coins> on <changer>
set issue rate for <region> to <percent> on changer
set accept rate for <region> to <percent> on changer
withdraw <number> of <type of coin> from changer

Description

This device will convert money you have into a specified type of money you would rather have. 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 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, but withdraw is very picky. You must match the capitalisation and plurality that is reported via "status".

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 of ankh-morpork pence from changer
You do not appear to have any ankh-morpork pence in the money changer counter.

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

> deposit 1 of Ankh-Morpork dollar on money changer
You deposit 1 of Ankh-Morpork dollar in the money changer counter.

See also

help_currency, help_money, help_rate