currency_value
foundationI_fluffos_v1/lib/doc/SimulEfun/currency_value · 512 B
From the archive foundation1_fluffos_v1.zip
Download the archive « Back to the archive contents
Nightmare Mudlib SimulEfun: currency_value() int currency_value(int amount, string currency); DESCRIPTION Returns an amount of a given currency related to the base economic unit (the unit used to set_value() for objects). EXAMPLES If the currency rate of gold is .10, then currency_rate(100, "gold") returns 10 where 10 is 10 gold coins being equal to 100 base economic units. LOCATION /secure/SimulEfun/economy.c SEE ALSO currency_inflation(), currency_mass(), currency_rate() LAST MODIFIED Nightmare 3.3