User Tools

Site Tools


tnhscript:lootexchange

LootExchange

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
tnhscript/lootexchange.txt · Last modified: 2010/11/23 00:11 (external edit)