Skip to content

Module purchased event

T'kael edited this page Aug 2, 2026 · 11 revisions

Triggered when you purchase a module in outfitting to install on your ship.

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.buymercprice} - The price of the module being purchased, in merc coin, when applicable

  • {event.buymodule} - The module (object) purchased

  • {event.buymodule.ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {event.buymodule.ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {event.buymodule.class} - numeric class of the module

  • {event.buymodule.clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {event.buymodule.enabled} - whether the module is enabled

  • {event.buymodule.engineerlevel} - the level of the engineering modification

  • {event.buymodule.engineerquality} - the percent quality of the engineering modification

  • {event.buymodule.grade} - letter grade of the module

  • {event.buymodule.health} - the last reported health of the module, as a percentage

  • {event.buymodule.hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {event.buymodule.hot} - whether the module is legally 'hot'

  • {event.buymodule.invariantName} - The invariant English name.

  • {event.buymodule.mercPrice} - the price paid for the module, in merc coins

  • {event.buymodule.modification} - the localized name of the engineering modification

  • {event.buymodule.modified} - whether the module has been modified

  • {event.buymodule.mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {event.buymodule.name} - The localized name.

  • {event.buymodule.position} - the position of the module in the Modules panel, sorted according to power usage

  • {event.buymodule.power} - the power consumption of the module, measured in MegaWatts (MW)

  • {event.buymodule.price} - the price paid for the module, in credits

  • {event.buymodule.priority} - the power priority of the module

  • {event.buymodule.value} - base value of the module, in credits

  • {event.buyprice} - The price of the module being purchased, in credits

  • {event.sellmodule} - The module (object) being sold (if replacing an existing module)

  • {event.sellmodule.ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {event.sellmodule.ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {event.sellmodule.class} - numeric class of the module

  • {event.sellmodule.clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {event.sellmodule.enabled} - whether the module is enabled

  • {event.sellmodule.engineerlevel} - the level of the engineering modification

  • {event.sellmodule.engineerquality} - the percent quality of the engineering modification

  • {event.sellmodule.grade} - letter grade of the module

  • {event.sellmodule.health} - the last reported health of the module, as a percentage

  • {event.sellmodule.hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {event.sellmodule.hot} - whether the module is legally 'hot'

  • {event.sellmodule.invariantName} - The invariant English name.

  • {event.sellmodule.mercPrice} - the price paid for the module, in merc coins

  • {event.sellmodule.modification} - the localized name of the engineering modification

  • {event.sellmodule.modified} - whether the module has been modified

  • {event.sellmodule.mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {event.sellmodule.name} - The localized name.

  • {event.sellmodule.position} - the position of the module in the Modules panel, sorted according to power usage

  • {event.sellmodule.power} - the power consumption of the module, measured in MegaWatts (MW)

  • {event.sellmodule.price} - the price paid for the module, in credits

  • {event.sellmodule.priority} - the power priority of the module

  • {event.sellmodule.value} - base value of the module, in credits

  • {event.sellprice} - The price of the sold module (if replacing an existing module)

  • {event.ship} - The ship for which the module was purchased

  • {event.shipid} - The ID of the ship for which the module was purchased

  • {event.slot} - The outfitting slot

  • {event.storedmodule} - The module (object) being stored (if existing module stored)

  • {event.storedmodule.ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {event.storedmodule.ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {event.storedmodule.class} - numeric class of the module

  • {event.storedmodule.clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {event.storedmodule.enabled} - whether the module is enabled

  • {event.storedmodule.engineerlevel} - the level of the engineering modification

  • {event.storedmodule.engineerquality} - the percent quality of the engineering modification

  • {event.storedmodule.grade} - letter grade of the module

  • {event.storedmodule.health} - the last reported health of the module, as a percentage

  • {event.storedmodule.hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {event.storedmodule.hot} - whether the module is legally 'hot'

  • {event.storedmodule.invariantName} - The invariant English name.

  • {event.storedmodule.mercPrice} - the price paid for the module, in merc coins

  • {event.storedmodule.modification} - the localized name of the engineering modification

  • {event.storedmodule.modified} - whether the module has been modified

  • {event.storedmodule.mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {event.storedmodule.name} - The localized name.

  • {event.storedmodule.position} - the position of the module in the Modules panel, sorted according to power usage

  • {event.storedmodule.power} - the power consumption of the module, measured in MegaWatts (MW)

  • {event.storedmodule.price} - the price paid for the module, in credits

  • {event.storedmodule.priority} - the power priority of the module

  • {event.storedmodule.value} - base value of the module, in credits

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

The following VoiceAttack variables are available for this event:

  • {DEC:EDDI module purchased buymercprice} - The price of the module being purchased, in merc coin, when applicable

  • {INT:EDDI module purchased buymodule ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {INT:EDDI module purchased buymodule ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {INT:EDDI module purchased buymodule class} - numeric class of the module

  • {INT:EDDI module purchased buymodule clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {BOOL:EDDI module purchased buymodule enabled} - whether the module is enabled

  • {INT:EDDI module purchased buymodule engineerlevel} - the level of the engineering modification

  • {DEC:EDDI module purchased buymodule engineerquality} - the percent quality of the engineering modification

  • {TXT:EDDI module purchased buymodule grade} - letter grade of the module

  • {DEC:EDDI module purchased buymodule health} - the last reported health of the module, as a percentage

  • {INT:EDDI module purchased buymodule hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {BOOL:EDDI module purchased buymodule hot} - whether the module is legally 'hot'

  • {TXT:EDDI module purchased buymodule invariant name} - The invariant English name.

  • {DEC:EDDI module purchased buymodule merc price} - the price paid for the module, in merc coins

  • {TXT:EDDI module purchased buymodule modification} - the localized name of the engineering modification

  • {BOOL:EDDI module purchased buymodule modified} - whether the module has been modified

  • {TXT:EDDI module purchased buymodule mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {TXT:EDDI module purchased buymodule name} - The localized name.

  • {INT:EDDI module purchased buymodule position} - the position of the module in the Modules panel, sorted according to power usage

  • {DEC:EDDI module purchased buymodule power} - the power consumption of the module, measured in MegaWatts (MW)

  • {DEC:EDDI module purchased buymodule price} - the price paid for the module, in credits

  • {INT:EDDI module purchased buymodule priority} - the power priority of the module

  • {DEC:EDDI module purchased buymodule value} - base value of the module, in credits

  • {DEC:EDDI module purchased buyprice} - The price of the module being purchased, in credits

  • {INT:EDDI module purchased sellmodule ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {INT:EDDI module purchased sellmodule ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {INT:EDDI module purchased sellmodule class} - numeric class of the module

  • {INT:EDDI module purchased sellmodule clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {BOOL:EDDI module purchased sellmodule enabled} - whether the module is enabled

  • {INT:EDDI module purchased sellmodule engineerlevel} - the level of the engineering modification

  • {DEC:EDDI module purchased sellmodule engineerquality} - the percent quality of the engineering modification

  • {TXT:EDDI module purchased sellmodule grade} - letter grade of the module

  • {DEC:EDDI module purchased sellmodule health} - the last reported health of the module, as a percentage

  • {INT:EDDI module purchased sellmodule hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {BOOL:EDDI module purchased sellmodule hot} - whether the module is legally 'hot'

  • {TXT:EDDI module purchased sellmodule invariant name} - The invariant English name.

  • {DEC:EDDI module purchased sellmodule merc price} - the price paid for the module, in merc coins

  • {TXT:EDDI module purchased sellmodule modification} - the localized name of the engineering modification

  • {BOOL:EDDI module purchased sellmodule modified} - whether the module has been modified

  • {TXT:EDDI module purchased sellmodule mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {TXT:EDDI module purchased sellmodule name} - The localized name.

  • {INT:EDDI module purchased sellmodule position} - the position of the module in the Modules panel, sorted according to power usage

  • {DEC:EDDI module purchased sellmodule power} - the power consumption of the module, measured in MegaWatts (MW)

  • {DEC:EDDI module purchased sellmodule price} - the price paid for the module, in credits

  • {INT:EDDI module purchased sellmodule priority} - the power priority of the module

  • {DEC:EDDI module purchased sellmodule value} - base value of the module, in credits

  • {DEC:EDDI module purchased sellprice} - The price of the sold module (if replacing an existing module)

  • {TXT:EDDI module purchased ship} - The ship for which the module was purchased

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

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

  • {INT:EDDI module purchased storedmodule ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last Loadout event

  • {INT:EDDI module purchased storedmodule ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last Loadout event

  • {INT:EDDI module purchased storedmodule class} - numeric class of the module

  • {INT:EDDI module purchased storedmodule clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold

  • {BOOL:EDDI module purchased storedmodule enabled} - whether the module is enabled

  • {INT:EDDI module purchased storedmodule engineerlevel} - the level of the engineering modification

  • {DEC:EDDI module purchased storedmodule engineerquality} - the percent quality of the engineering modification

  • {TXT:EDDI module purchased storedmodule grade} - letter grade of the module

  • {DEC:EDDI module purchased storedmodule health} - the last reported health of the module, as a percentage

  • {INT:EDDI module purchased storedmodule hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store

  • {BOOL:EDDI module purchased storedmodule hot} - whether the module is legally 'hot'

  • {TXT:EDDI module purchased storedmodule invariant name} - The invariant English name.

  • {DEC:EDDI module purchased storedmodule merc price} - the price paid for the module, in merc coins

  • {TXT:EDDI module purchased storedmodule modification} - the localized name of the engineering modification

  • {BOOL:EDDI module purchased storedmodule modified} - whether the module has been modified

  • {TXT:EDDI module purchased storedmodule mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)

  • {TXT:EDDI module purchased storedmodule name} - The localized name.

  • {INT:EDDI module purchased storedmodule position} - the position of the module in the Modules panel, sorted according to power usage

  • {DEC:EDDI module purchased storedmodule power} - the power consumption of the module, measured in MegaWatts (MW)

  • {DEC:EDDI module purchased storedmodule price} - the price paid for the module, in credits

  • {INT:EDDI module purchased storedmodule priority} - the power priority of the module

  • {DEC:EDDI module purchased storedmodule value} - base value of the module, in credits

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

Clone this wiki locally