Material traded event - EDCD/EDDI GitHub Wiki
Triggered when you trade materials at a materials trader.
When using this event in the Speech responder the information about this event is available under the event
object. The available variables are as follows:
-
{event.paid} - The name of the material lost in the trade
-
{event.paid_quantity} - The amount of the material lost in the trade
-
{event.received} - The name of the material gained in the trade
-
{event.received_quantity} - The amount of the material gained in the trade
-
{event.tradertype} - The type of material trader for the trade
To respond to this event in VoiceAttack, create a command entitled ((EDDI material traded)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{TXT:EDDI material traded paid} - The name of the material lost in the trade
-
{INT:EDDI material traded paid quantity} - The amount of the material lost in the trade
-
{TXT:EDDI material traded received} - The name of the material gained in the trade
-
{INT:EDDI material traded received quantity} - The amount of the material gained in the trade
-
{TXT:EDDI material traded tradertype} - The type of material trader for the trade
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.