-
Notifications
You must be signed in to change notification settings - Fork 82
Commodity purchased event
Triggered when you buy a commodity from the markets.
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.amount} - The amount of the purchased commodity
-
{event.commodity} - The name of the purchased commodity
-
{event.marketid} - The market ID of the purchased commodity
-
{event.price} - The price paid per unit of the purchased commodity
To respond to this event in VoiceAttack, create a command entitled ((EDDI commodity purchased)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI commodity purchased amount} - The amount of the purchased commodity
-
{TXT:EDDI commodity purchased commodity} - The name of the purchased commodity
-
{DEC:EDDI commodity purchased marketid} - The market ID of the purchased commodity
-
{INT:EDDI commodity purchased price} - The price paid per unit of the purchased commodity
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.