currency_rate

foundationI_fluffos_v1/lib/doc/SimulEfun/currency_rate · 460 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

Nightmare Mudlib SimulEfun: currency_rate()

float currency_rate(string);

DESCRIPTION
Returns the current exchange rate for a given currency relative to the
value returned by "query_value()" in an object.

EXAMPLES
currency_rate("gold") might return 1.5, meaning it costs 3 gold to buy
something which has set_value() to 2.

LOCATION
/secure/SimulEfun/economy.c

SEE ALSO
currency_inflation(), currency_weight(), mud_currencies()

LAST MODIFIED
Nightmare 3.2

Site Stats

Snippets: 1791
Codebases: 571