currency_weight

foundationI_fluffos_v1/lib/doc/SimulEfun/currency_weight · 449 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

Nightmare Mudlib SimulEfun: currency_weight()

int currency_weight(string, int);

DESCRIPTION
Returns how much a given amount of currency of a given type weighs.
The first argument represents the currency type, the second
argument how much of that currency exists.

EXAMPLES
currency_weight("gold", 10) will return how much 10 gold coins weighs

LOCATION
/secure/SimulEfun/economy.c

SEE ALSO
currency_inflation(), currency_rate(), mud_currencies()

Site Stats

Snippets: 1791
Codebases: 571