-
Notifications
You must be signed in to change notification settings - Fork 91
Module stored event
Triggered when you store a module.
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.cost} - The cost of storage (if any)
-
{event.engineermodifications} - The name of the modification blueprint
-
{event.module} - The module (object) being stored
-
{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.replacementmodule} - The module (object) replacement (if a core module)
-
{event.replacementmodule.ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last
Loadoutevent -
{event.replacementmodule.ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last
Loadoutevent -
{event.replacementmodule.class} - numeric class of the module
-
{event.replacementmodule.clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold
-
{event.replacementmodule.enabled} - whether the module is enabled
-
{event.replacementmodule.engineerlevel} - the level of the engineering modification
-
{event.replacementmodule.engineerquality} - the percent quality of the engineering modification
-
{event.replacementmodule.grade} - letter grade of the module
-
{event.replacementmodule.health} - the last reported health of the module, as a percentage
-
{event.replacementmodule.hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store
-
{event.replacementmodule.hot} - whether the module is legally 'hot'
-
{event.replacementmodule.invariantName} - The invariant English name.
-
{event.replacementmodule.mercPrice} - the price paid for the module, in merc coins
-
{event.replacementmodule.modification} - the localized name of the engineering modification
-
{event.replacementmodule.modified} - whether the module has been modified
-
{event.replacementmodule.mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)
-
{event.replacementmodule.name} - The localized name.
-
{event.replacementmodule.position} - the position of the module in the
Modulespanel, sorted according to power usage -
{event.replacementmodule.power} - the power consumption of the module, measured in MegaWatts (MW)
-
{event.replacementmodule.price} - the price paid for the module, in credits
-
{event.replacementmodule.priority} - the power priority of the module
-
{event.replacementmodule.value} - base value of the module, in credits
-
{event.ship} - The ship from which the module was stored
-
{event.shipid} - The ID of the ship from which the module was stored
-
{event.slot} - The outfitting slot
To respond to this event in VoiceAttack, create a command entitled ((EDDI module stored)). 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 stored cost} - The cost of storage (if any)
-
{TXT:EDDI module stored engineermodifications} - The name of the modification blueprint
-
{INT:EDDI module stored module ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last
Loadoutevent -
{INT:EDDI module stored module ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last
Loadoutevent -
{INT:EDDI module stored module class} - numeric class of the module
-
{INT:EDDI module stored module clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold
-
{BOOL:EDDI module stored module enabled} - whether the module is enabled
-
{INT:EDDI module stored module engineerlevel} - the level of the engineering modification
-
{DEC:EDDI module stored module engineerquality} - the percent quality of the engineering modification
-
{TXT:EDDI module stored module grade} - letter grade of the module
-
{DEC:EDDI module stored module health} - the last reported health of the module, as a percentage
-
{INT:EDDI module stored module hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store
-
{BOOL:EDDI module stored module hot} - whether the module is legally 'hot'
-
{TXT:EDDI module stored module invariant name} - The invariant English name.
-
{DEC:EDDI module stored module merc price} - the price paid for the module, in merc coins
-
{TXT:EDDI module stored module modification} - the localized name of the engineering modification
-
{BOOL:EDDI module stored module modified} - whether the module has been modified
-
{TXT:EDDI module stored module mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)
-
{TXT:EDDI module stored module name} - The localized name.
-
{INT:EDDI module stored module position} - the position of the module in the
Modulespanel, sorted according to power usage -
{DEC:EDDI module stored module power} - the power consumption of the module, measured in MegaWatts (MW)
-
{DEC:EDDI module stored module price} - the price paid for the module, in credits
-
{INT:EDDI module stored module priority} - the power priority of the module
-
{DEC:EDDI module stored module value} - base value of the module, in credits
-
{INT:EDDI module stored replacementmodule ammoinclip} - only for weapons, this defines the amount of ammunition present in the clip during the last
Loadoutevent -
{INT:EDDI module stored replacementmodule ammoinhopper} - only for weapons, this defines the amount of ammunition present in the hopper during the last
Loadoutevent -
{INT:EDDI module stored replacementmodule class} - numeric class of the module
-
{INT:EDDI module stored replacementmodule clipcapacity} - only for weapons, this defines the maximum amount of ammunition the clip can hold
-
{BOOL:EDDI module stored replacementmodule enabled} - whether the module is enabled
-
{INT:EDDI module stored replacementmodule engineerlevel} - the level of the engineering modification
-
{DEC:EDDI module stored replacementmodule engineerquality} - the percent quality of the engineering modification
-
{TXT:EDDI module stored replacementmodule grade} - letter grade of the module
-
{DEC:EDDI module stored replacementmodule health} - the last reported health of the module, as a percentage
-
{INT:EDDI module stored replacementmodule hoppercapacity} - only for weapons, this defines the maximum amount of ammunition the hopper can store
-
{BOOL:EDDI module stored replacementmodule hot} - whether the module is legally 'hot'
-
{TXT:EDDI module stored replacementmodule invariant name} - The invariant English name.
-
{DEC:EDDI module stored replacementmodule merc price} - the price paid for the module, in merc coins
-
{TXT:EDDI module stored replacementmodule modification} - the localized name of the engineering modification
-
{BOOL:EDDI module stored replacementmodule modified} - whether the module has been modified
-
{TXT:EDDI module stored replacementmodule mount} - only for weapons, this defines the type of mount (fixed, gimballed, turreted)
-
{TXT:EDDI module stored replacementmodule name} - The localized name.
-
{INT:EDDI module stored replacementmodule position} - the position of the module in the
Modulespanel, sorted according to power usage -
{DEC:EDDI module stored replacementmodule power} - the power consumption of the module, measured in MegaWatts (MW)
-
{DEC:EDDI module stored replacementmodule price} - the price paid for the module, in credits
-
{INT:EDDI module stored replacementmodule priority} - the power priority of the module
-
{DEC:EDDI module stored replacementmodule value} - base value of the module, in credits
-
{TXT:EDDI module stored ship} - The ship from which the module was stored
-
{INT:EDDI module stored shipid} - The ID of the ship from which the module was stored
-
{TXT:EDDI module stored slot} - The outfitting slot
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.