-
Notifications
You must be signed in to change notification settings - Fork 91
Module sold event
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} - only for weapons, this defines the amount of ammunition present in the clip during the last
Loadoutevent -
{event.module.ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last
Loadoutevent -
{event.module.class} - numeric class of the module
-
{event.module.clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold
-
{event.module.enabled} - whether the module is enabled
-
{event.module.engineerlevel} - the level of the engineering modification
-
{event.module.engineerquality} - the percent quality of the engineering modification
-
{event.module.grade} - letter grade of the module
-
{event.module.health} - the last reported health of the module, as a percentage
-
{event.module.hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store
-
{event.module.hot} - whether the module is legally 'hot'
-
{event.module.invariantName} - The invariant English name.
-
{event.module.mercPrice} - the price paid for the module, in merc coins
-
{event.module.modification} - the localized name of the engineering modification
-
{event.module.modified} - whether the module has been modified
-
{event.module.mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)
-
{event.module.name} - The localized name.
-
{event.module.position} - the position of the module in the
Modulespanel, sorted according to power usage -
{event.module.power} - the power consumption of the module, measured in MegaWatts (MW)
-
{event.module.price} - the price paid for the module, in credits
-
{event.module.priority} - the power priority of the module
-
{event.module.value} - base value of the module, in credits
-
{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} - only for weapons, this defines the amount of ammunition present in the clip during the last
Loadoutevent -
{INT:EDDI module sold module ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last
Loadoutevent -
{INT:EDDI module sold module class} - numeric class of the module
-
{INT:EDDI module sold module clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold
-
{BOOL:EDDI module sold module enabled} - whether the module is enabled
-
{INT:EDDI module sold module engineerlevel} - the level of the engineering modification
-
{DEC:EDDI module sold module engineerquality} - the percent quality of the engineering modification
-
{TXT:EDDI module sold module grade} - letter grade of the module
-
{DEC:EDDI module sold module health} - the last reported health of the module, as a percentage
-
{INT:EDDI module sold module hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store
-
{BOOL:EDDI module sold module hot} - whether the module is legally 'hot'
-
{TXT:EDDI module sold module invariant name} - The invariant English name.
-
{DEC:EDDI module sold module merc price} - the price paid for the module, in merc coins
-
{TXT:EDDI module sold module modification} - the localized name of the engineering modification
-
{BOOL:EDDI module sold module modified} - whether the module has been modified
-
{TXT:EDDI module sold module mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)
-
{TXT:EDDI module sold module name} - The localized name.
-
{INT:EDDI module sold module position} - the position of the module in the
Modulespanel, sorted according to power usage -
{DEC:EDDI module sold module power} - the power consumption of the module, measured in MegaWatts (MW)
-
{DEC:EDDI module sold module price} - the price paid for the module, in credits
-
{INT:EDDI module sold module priority} - the power priority of the module
-
{DEC:EDDI module sold module value} - base value of the module, in credits
-
{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.