Skip to content

Module sold event

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

Triggered when selling a module to outfitting.

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.module} - The module (object) being sold

  • {event.module.ammoinclip}

  • {event.module.ammoinhopper}

  • {event.module.class}

  • {event.module.clipcapacity}

  • {event.module.enabled}

  • {event.module.engineerlevel}

  • {event.module.engineerquality}

  • {event.module.grade}

  • {event.module.health}

  • {event.module.hoppercapacity}

  • {event.module.hot}

  • {event.module.invariantName}

  • {event.module.modification}

  • {event.module.modified}

  • {event.module.mount}

  • {event.module.name}

  • {event.module.position}

  • {event.module.power}

  • {event.module.price}

  • {event.module.priority}

  • {event.module.value}

  • {event.price} - The price of the module being sold

  • {event.ship} - The ship from which the module was sold

  • {event.shipid} - The ID of the ship from which the module was sold

  • {event.slot} - The outfitting slot

To respond to this event in VoiceAttack, create a command entitled ((EDDI module 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 module sold module ammoinclip}

  • {INT:EDDI module sold module ammoinhopper}

  • {INT:EDDI module sold module class}

  • {INT:EDDI module sold module clipcapacity}

  • {BOOL:EDDI module sold module enabled}

  • {INT:EDDI module sold module engineerlevel}

  • {DEC:EDDI module sold module engineerquality}

  • {TXT:EDDI module sold module grade}

  • {DEC:EDDI module sold module health}

  • {INT:EDDI module sold module hoppercapacity}

  • {BOOL:EDDI module sold module hot}

  • {TXT:EDDI module sold module invariant name}

  • {TXT:EDDI module sold module modification}

  • {BOOL:EDDI module sold module modified}

  • {TXT:EDDI module sold module mount}

  • {TXT:EDDI module sold module name}

  • {INT:EDDI module sold module position}

  • {DEC:EDDI module sold module power}

  • {DEC:EDDI module sold module price}

  • {INT:EDDI module sold module priority}

  • {DEC:EDDI module sold module value}

  • {DEC:EDDI module sold price} - The price of the module being sold

  • {TXT:EDDI module sold ship} - The ship from which the module was sold

  • {INT:EDDI module sold shipid} - The ID of the ship from which the module was sold

  • {TXT:EDDI module sold slot} - The outfitting slot

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

Clone this wiki locally