-
Notifications
You must be signed in to change notification settings - Fork 92
Suit purchased event
Triggered when you buy a space suit.
Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.
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.grade} - The space suit's grade
-
{event.mods} - The suit's modifications (as objects)
-
{event.mods[<index>].invariantName} - The invariant English name.
-
{event.mods[<index>].name} - The localized name.
-
{event.price} - The price paid for the space suit
-
{event.suit} - The space suit, as an object
-
{event.suit.grade} - The space suit's grade
-
{event.suit.invariantName} - The invariant English name.
-
{event.suit.manufacturer} - The space suit's manufacturer, as an object
-
{event.suit.manufacturer.name} - The manufacturer name
-
{event.suit.manufacturer.phoneticname} - The phonetic name of the manufacturer, if it is known
-
{event.suit.name} - The localized name.
-
{event.suit.price} - The space suit's standard grade 1 price
To respond to this event in VoiceAttack, create a command entitled ((EDDI suit 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 suit purchased grade} - The space suit's grade
-
{INT:EDDI suit purchased mods} - The suit's modifications (as objects)
-
{TXT:EDDI suit purchased mods <index> invariant name} - The invariant English name.
-
{TXT:EDDI suit purchased mods <index> name} - The localized name.
-
{INT:EDDI suit purchased price} - The price paid for the space suit
-
{INT:EDDI suit purchased suit grade} - The space suit's grade
-
{TXT:EDDI suit purchased suit invariant name} - The invariant English name.
-
{TXT:EDDI suit purchased suit manufacturer name} - The manufacturer name
-
{TXT:EDDI suit purchased suit manufacturer phoneticname} - The phonetic name of the manufacturer, if it is known
-
{TXT:EDDI suit purchased suit name} - The localized name.
-
{DEC:EDDI suit purchased suit price} - The space suit's standard grade 1 price
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.