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