Repository navigation
Suit sold event
Triggered when you sell 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 space suit's sell price
-
{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 sold)). 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 sold grade} - The space suit's grade
-
{INT:EDDI suit sold mods} - The suit's modifications (as objects)
-
{TXT:EDDI suit sold mods <index> invariant name} - The invariant English name.
-
{TXT:EDDI suit sold mods <index> name} - The localized name.
-
{INT:EDDI suit sold price} - The space suit's sell price
-
{INT:EDDI suit sold suit grade} - The space suit's grade
-
{TXT:EDDI suit sold suit invariant name} - The invariant English name.
-
{TXT:EDDI suit sold suit manufacturer name} - The manufacturer name
-
{TXT:EDDI suit sold suit manufacturer phoneticname} - The phonetic name of the manufacturer, if it is known
-
{TXT:EDDI suit sold suit name} - The localized name.
-
{DEC:EDDI suit sold 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.