SUINEVERE   Sega Saturn Hacks and Homebrew

SATURN LINK : MIDGAARD   BEHAVIOR MONEYCHANGER
Guides » Running the world » Archon help » B » BEHAVIOR MONEYCHANGER
BEHAVIOR MONEYCHANGER
Behavior   : MoneyChanger
Targets    : MOBs
Parameters : (CUT=[NUM]) (DEFAULT=[NUM]) ([CURRENCY]=[NUM])
Parameters : (CUT=[NUM]) (SPACEMAXCUT=[NUM]) (SPACEMAXDISTANCE=[PCT])
Example    : 
Example    : cut=5
Example    : default=0 GOLD=5 INGITS=10
Example    : cut=5 spacemaxcut=90 spacemaxdistance=35
Description:
Whenever a player gives the money changer coins, the money changer will give back to the player a bag containing an equivalent amount of money in the money changers native currency.  The "cut" that the money changer takes, in general, can be defined with the CUT parameter, by making CUT equal to a percentage.  If you wish, you can also define exchange rates for the several currencies in your system by setting each currency name equal to a percentage.

When dealing with intersteller currencies, there are two other parameters, which can be used to automatically calculate a scaled "cut" of the exchange based on how far away the exchanged currencies planet is from the money changers.  To do this, you can add spacemaxcut to denote the percentage to take when the currency is from an unknown or maximum distance, and spacemaxdistance to denote a percentage of the entire galactic radius to use as a maximum.
[guides] [handbook] [races] [classes] [world] [levels] [help] [search] [home] [play]