On TurnOn, converts an amount of the Player’s loot from gems/goods into gold.
The exchange rate is a real number and can be given as a fraction.
Inherits | GenericTrap | |
---|---|---|
Links | ControlDevice, ScriptParams(ErrorOutput) | |
Parameters | vendor (string) | gems_only or goods_only or even |
exchange (number) | 1/4 is the same as 0.25 |