Module retrieved event - EDCD/EDDI GitHub Wiki
Triggered when you fetch a previously stored 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 retrieval
-
{event.engineermodifications} - The name of the modification blueprint
-
{event.module} - The module (object) retrieved from storage
-
{event.module.ammoinclip}
-
{event.module.ammoinhopper}
-
{event.module.class}
-
{event.module.clipcapacity}
-
{event.module.enabled}
-
{event.module.engineerlevel}
-
{event.module.engineerquality}
-
{event.module.grade}
-
{event.module.health}
-
{event.module.hoppercapacity}
-
{event.module.hot}
-
{event.module.invariantName}
-
{event.module.modification}
-
{event.module.modified}
-
{event.module.mount}
-
{event.module.name}
-
{event.module.position}
-
{event.module.power}
-
{event.module.price}
-
{event.module.priority}
-
{event.module.value}
-
{event.ship} - The ship for which the module was retrieved
-
{event.shipid} - The ID of the ship for which the module was retrieved
-
{event.slot} - The outfitting slot
-
{event.swapoutmodule} - The module (object) swapped out (if the slot was not empty)
-
{event.swapoutmodule.ammoinclip}
-
{event.swapoutmodule.ammoinhopper}
-
{event.swapoutmodule.class}
-
{event.swapoutmodule.clipcapacity}
-
{event.swapoutmodule.enabled}
-
{event.swapoutmodule.engineerlevel}
-
{event.swapoutmodule.engineerquality}
-
{event.swapoutmodule.grade}
-
{event.swapoutmodule.health}
-
{event.swapoutmodule.hoppercapacity}
-
{event.swapoutmodule.hot}
-
{event.swapoutmodule.invariantName}
-
{event.swapoutmodule.modification}
-
{event.swapoutmodule.modified}
-
{event.swapoutmodule.mount}
-
{event.swapoutmodule.name}
-
{event.swapoutmodule.position}
-
{event.swapoutmodule.power}
-
{event.swapoutmodule.price}
-
{event.swapoutmodule.priority}
-
{event.swapoutmodule.value}
To respond to this event in VoiceAttack, create a command entitled ((EDDI module retrieved)). 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 retrieved cost} - The cost of retrieval
-
{TXT:EDDI module retrieved engineermodifications} - The name of the modification blueprint
-
{INT:EDDI module retrieved module ammoinclip}
-
{INT:EDDI module retrieved module ammoinhopper}
-
{INT:EDDI module retrieved module class}
-
{INT:EDDI module retrieved module clipcapacity}
-
{BOOL:EDDI module retrieved module enabled}
-
{INT:EDDI module retrieved module engineerlevel}
-
{DEC:EDDI module retrieved module engineerquality}
-
{TXT:EDDI module retrieved module grade}
-
{DEC:EDDI module retrieved module health}
-
{INT:EDDI module retrieved module hoppercapacity}
-
{BOOL:EDDI module retrieved module hot}
-
{TXT:EDDI module retrieved module invariant name}
-
{TXT:EDDI module retrieved module modification}
-
{BOOL:EDDI module retrieved module modified}
-
{TXT:EDDI module retrieved module mount}
-
{TXT:EDDI module retrieved module name}
-
{INT:EDDI module retrieved module position}
-
{DEC:EDDI module retrieved module power}
-
{DEC:EDDI module retrieved module price}
-
{INT:EDDI module retrieved module priority}
-
{DEC:EDDI module retrieved module value}
-
{TXT:EDDI module retrieved ship} - The ship for which the module was retrieved
-
{INT:EDDI module retrieved shipid} - The ID of the ship for which the module was retrieved
-
{TXT:EDDI module retrieved slot} - The outfitting slot
-
{INT:EDDI module retrieved swapoutmodule ammoinclip}
-
{INT:EDDI module retrieved swapoutmodule ammoinhopper}
-
{INT:EDDI module retrieved swapoutmodule class}
-
{INT:EDDI module retrieved swapoutmodule clipcapacity}
-
{BOOL:EDDI module retrieved swapoutmodule enabled}
-
{INT:EDDI module retrieved swapoutmodule engineerlevel}
-
{DEC:EDDI module retrieved swapoutmodule engineerquality}
-
{TXT:EDDI module retrieved swapoutmodule grade}
-
{DEC:EDDI module retrieved swapoutmodule health}
-
{INT:EDDI module retrieved swapoutmodule hoppercapacity}
-
{BOOL:EDDI module retrieved swapoutmodule hot}
-
{TXT:EDDI module retrieved swapoutmodule invariant name}
-
{TXT:EDDI module retrieved swapoutmodule modification}
-
{BOOL:EDDI module retrieved swapoutmodule modified}
-
{TXT:EDDI module retrieved swapoutmodule mount}
-
{TXT:EDDI module retrieved swapoutmodule name}
-
{INT:EDDI module retrieved swapoutmodule position}
-
{DEC:EDDI module retrieved swapoutmodule power}
-
{DEC:EDDI module retrieved swapoutmodule price}
-
{INT:EDDI module retrieved swapoutmodule priority}
-
{DEC:EDDI module retrieved swapoutmodule value}
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.