Skip to content

Ship repaired event

T'kael edited this page Jun 9, 2024 · 12 revisions

Triggered when you repair your ship.

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.items} - The non-module items repaired (e.g. 'All', 'Ship Integrity', 'Hull', 'Paint')

  • {event.items[<index>]}

  • {event.modules} - Module objects representing module items repaired

  • {event.modules[<index>].ammoinclip}

  • {event.modules[<index>].ammoinhopper}

  • {event.modules[<index>].class}

  • {event.modules[<index>].clipcapacity}

  • {event.modules[<index>].enabled}

  • {event.modules[<index>].engineerlevel}

  • {event.modules[<index>].engineerquality}

  • {event.modules[<index>].grade}

  • {event.modules[<index>].health}

  • {event.modules[<index>].hoppercapacity}

  • {event.modules[<index>].hot}

  • {event.modules[<index>].invariantName}

  • {event.modules[<index>].modification}

  • {event.modules[<index>].modified}

  • {event.modules[<index>].mount}

  • {event.modules[<index>].name}

  • {event.modules[<index>].position}

  • {event.modules[<index>].power}

  • {event.modules[<index>].price}

  • {event.modules[<index>].priority}

  • {event.modules[<index>].value}

  • {event.price} - The price of the repair

To respond to this event in VoiceAttack, create a command entitled ((EDDI ship repaired)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {INT:EDDI ship repaired items} - The non-module items repaired (e.g. 'All', 'Ship Integrity', 'Hull', 'Paint')

  • {TXT:EDDI ship repaired items <index>}

  • {INT:EDDI ship repaired modules} - Module objects representing module items repaired

  • {INT:EDDI ship repaired modules <index> ammoinclip}

  • {INT:EDDI ship repaired modules <index> ammoinhopper}

  • {INT:EDDI ship repaired modules <index> class}

  • {INT:EDDI ship repaired modules <index> clipcapacity}

  • {BOOL:EDDI ship repaired modules <index> enabled}

  • {INT:EDDI ship repaired modules <index> engineerlevel}

  • {DEC:EDDI ship repaired modules <index> engineerquality}

  • {TXT:EDDI ship repaired modules <index> grade}

  • {DEC:EDDI ship repaired modules <index> health}

  • {INT:EDDI ship repaired modules <index> hoppercapacity}

  • {BOOL:EDDI ship repaired modules <index> hot}

  • {TXT:EDDI ship repaired modules <index> invariant name}

  • {TXT:EDDI ship repaired modules <index> modification}

  • {BOOL:EDDI ship repaired modules <index> modified}

  • {TXT:EDDI ship repaired modules <index> mount}

  • {TXT:EDDI ship repaired modules <index> name}

  • {INT:EDDI ship repaired modules <index> position}

  • {DEC:EDDI ship repaired modules <index> power}

  • {DEC:EDDI ship repaired modules <index> price}

  • {INT:EDDI ship repaired modules <index> priority}

  • {DEC:EDDI ship repaired modules <index> value}

  • {DEC:EDDI ship repaired price} - The price of the repair

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

Clone this wiki locally