Skip to content

Suit sold event

T'kael edited this page Apr 20, 2026 · 1 revision

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}

  • {event.mods[<index>].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}

  • {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}

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}

  • {TXT:EDDI suit sold mods <index> 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}

  • {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}

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally