Skip to content

Module purchased event

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

Triggered when you purchase a module in 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.buymodule} - The module (object) purchased

  • {event.buymodule.ammoinclip}

  • {event.buymodule.ammoinhopper}

  • {event.buymodule.class}

  • {event.buymodule.clipcapacity}

  • {event.buymodule.enabled}

  • {event.buymodule.engineerlevel}

  • {event.buymodule.engineerquality}

  • {event.buymodule.grade}

  • {event.buymodule.health}

  • {event.buymodule.hoppercapacity}

  • {event.buymodule.hot}

  • {event.buymodule.invariantName}

  • {event.buymodule.modification}

  • {event.buymodule.modified}

  • {event.buymodule.mount}

  • {event.buymodule.name}

  • {event.buymodule.position}

  • {event.buymodule.power}

  • {event.buymodule.price}

  • {event.buymodule.priority}

  • {event.buymodule.value}

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

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

  • {event.sellmodule.ammoinclip}

  • {event.sellmodule.ammoinhopper}

  • {event.sellmodule.class}

  • {event.sellmodule.clipcapacity}

  • {event.sellmodule.enabled}

  • {event.sellmodule.engineerlevel}

  • {event.sellmodule.engineerquality}

  • {event.sellmodule.grade}

  • {event.sellmodule.health}

  • {event.sellmodule.hoppercapacity}

  • {event.sellmodule.hot}

  • {event.sellmodule.invariantName}

  • {event.sellmodule.modification}

  • {event.sellmodule.modified}

  • {event.sellmodule.mount}

  • {event.sellmodule.name}

  • {event.sellmodule.position}

  • {event.sellmodule.power}

  • {event.sellmodule.price}

  • {event.sellmodule.priority}

  • {event.sellmodule.value}

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

  • {event.storedmodule.ammoinhopper}

  • {event.storedmodule.class}

  • {event.storedmodule.clipcapacity}

  • {event.storedmodule.enabled}

  • {event.storedmodule.engineerlevel}

  • {event.storedmodule.engineerquality}

  • {event.storedmodule.grade}

  • {event.storedmodule.health}

  • {event.storedmodule.hoppercapacity}

  • {event.storedmodule.hot}

  • {event.storedmodule.invariantName}

  • {event.storedmodule.modification}

  • {event.storedmodule.modified}

  • {event.storedmodule.mount}

  • {event.storedmodule.name}

  • {event.storedmodule.position}

  • {event.storedmodule.power}

  • {event.storedmodule.price}

  • {event.storedmodule.priority}

  • {event.storedmodule.value}

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:

  • {INT:EDDI module purchased buymodule ammoinclip}

  • {INT:EDDI module purchased buymodule ammoinhopper}

  • {INT:EDDI module purchased buymodule class}

  • {INT:EDDI module purchased buymodule clipcapacity}

  • {BOOL:EDDI module purchased buymodule enabled}

  • {INT:EDDI module purchased buymodule engineerlevel}

  • {DEC:EDDI module purchased buymodule engineerquality}

  • {TXT:EDDI module purchased buymodule grade}

  • {DEC:EDDI module purchased buymodule health}

  • {INT:EDDI module purchased buymodule hoppercapacity}

  • {BOOL:EDDI module purchased buymodule hot}

  • {TXT:EDDI module purchased buymodule invariant name}

  • {TXT:EDDI module purchased buymodule modification}

  • {BOOL:EDDI module purchased buymodule modified}

  • {TXT:EDDI module purchased buymodule mount}

  • {TXT:EDDI module purchased buymodule name}

  • {INT:EDDI module purchased buymodule position}

  • {DEC:EDDI module purchased buymodule power}

  • {DEC:EDDI module purchased buymodule price}

  • {INT:EDDI module purchased buymodule priority}

  • {DEC:EDDI module purchased buymodule value}

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

  • {INT:EDDI module purchased sellmodule ammoinclip}

  • {INT:EDDI module purchased sellmodule ammoinhopper}

  • {INT:EDDI module purchased sellmodule class}

  • {INT:EDDI module purchased sellmodule clipcapacity}

  • {BOOL:EDDI module purchased sellmodule enabled}

  • {INT:EDDI module purchased sellmodule engineerlevel}

  • {DEC:EDDI module purchased sellmodule engineerquality}

  • {TXT:EDDI module purchased sellmodule grade}

  • {DEC:EDDI module purchased sellmodule health}

  • {INT:EDDI module purchased sellmodule hoppercapacity}

  • {BOOL:EDDI module purchased sellmodule hot}

  • {TXT:EDDI module purchased sellmodule invariant name}

  • {TXT:EDDI module purchased sellmodule modification}

  • {BOOL:EDDI module purchased sellmodule modified}

  • {TXT:EDDI module purchased sellmodule mount}

  • {TXT:EDDI module purchased sellmodule name}

  • {INT:EDDI module purchased sellmodule position}

  • {DEC:EDDI module purchased sellmodule power}

  • {DEC:EDDI module purchased sellmodule price}

  • {INT:EDDI module purchased sellmodule priority}

  • {DEC:EDDI module purchased sellmodule value}

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

  • {INT:EDDI module purchased storedmodule ammoinhopper}

  • {INT:EDDI module purchased storedmodule class}

  • {INT:EDDI module purchased storedmodule clipcapacity}

  • {BOOL:EDDI module purchased storedmodule enabled}

  • {INT:EDDI module purchased storedmodule engineerlevel}

  • {DEC:EDDI module purchased storedmodule engineerquality}

  • {TXT:EDDI module purchased storedmodule grade}

  • {DEC:EDDI module purchased storedmodule health}

  • {INT:EDDI module purchased storedmodule hoppercapacity}

  • {BOOL:EDDI module purchased storedmodule hot}

  • {TXT:EDDI module purchased storedmodule invariant name}

  • {TXT:EDDI module purchased storedmodule modification}

  • {BOOL:EDDI module purchased storedmodule modified}

  • {TXT:EDDI module purchased storedmodule mount}

  • {TXT:EDDI module purchased storedmodule name}

  • {INT:EDDI module purchased storedmodule position}

  • {DEC:EDDI module purchased storedmodule power}

  • {DEC:EDDI module purchased storedmodule price}

  • {INT:EDDI module purchased storedmodule priority}

  • {DEC:EDDI module purchased storedmodule value}

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

Clone this wiki locally