Skip to content

Technology broker event

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

Triggered when using the Technology Broker to unlock new purchasable technology.

Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.

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.brokertype} - The technology broker's type (e.g. "Human")

  • {event.commodities} - The commodities and quantities used in the crafting (as objects)

  • {event.commodities[<index>].amount}

  • {event.commodities[<index>].commodity}

  • {event.items} - The items unlocked in the transaction (as objects)

  • {event.items[<index>].ammoinclip}

  • {event.items[<index>].ammoinhopper}

  • {event.items[<index>].class}

  • {event.items[<index>].clipcapacity}

  • {event.items[<index>].enabled}

  • {event.items[<index>].engineerlevel}

  • {event.items[<index>].engineerquality}

  • {event.items[<index>].grade}

  • {event.items[<index>].health}

  • {event.items[<index>].hoppercapacity}

  • {event.items[<index>].hot}

  • {event.items[<index>].invariantName}

  • {event.items[<index>].modification}

  • {event.items[<index>].modified}

  • {event.items[<index>].mount}

  • {event.items[<index>].name}

  • {event.items[<index>].position}

  • {event.items[<index>].power}

  • {event.items[<index>].price}

  • {event.items[<index>].priority}

  • {event.items[<index>].value}

  • {event.materials} - The materials and quantities used in the crafting (as objects)

  • {event.materials[<index>].amount}

  • {event.materials[<index>].category}

  • {event.materials[<index>].desired}

  • {event.materials[<index>].material}

  • {event.materials[<index>].maximum}

  • {event.materials[<index>].minimum}

  • {event.materials[<index>].Rarity}

  • {event.materials[<index>].Rarity.invariantName}

  • {event.materials[<index>].Rarity.level}

  • {event.materials[<index>].Rarity.name}

To respond to this event in VoiceAttack, create a command entitled ((EDDI technology broker)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI technology broker brokertype} - The technology broker's type (e.g. "Human")

  • {INT:EDDI technology broker commodities} - The commodities and quantities used in the crafting (as objects)

  • {INT:EDDI technology broker commodities <index> amount}

  • {TXT:EDDI technology broker commodities <index> commodity}

  • {INT:EDDI technology broker items} - The items unlocked in the transaction (as objects)

  • {INT:EDDI technology broker items <index> ammoinclip}

  • {INT:EDDI technology broker items <index> ammoinhopper}

  • {INT:EDDI technology broker items <index> class}

  • {INT:EDDI technology broker items <index> clipcapacity}

  • {BOOL:EDDI technology broker items <index> enabled}

  • {INT:EDDI technology broker items <index> engineerlevel}

  • {DEC:EDDI technology broker items <index> engineerquality}

  • {TXT:EDDI technology broker items <index> grade}

  • {DEC:EDDI technology broker items <index> health}

  • {INT:EDDI technology broker items <index> hoppercapacity}

  • {BOOL:EDDI technology broker items <index> hot}

  • {TXT:EDDI technology broker items <index> invariant name}

  • {TXT:EDDI technology broker items <index> modification}

  • {BOOL:EDDI technology broker items <index> modified}

  • {TXT:EDDI technology broker items <index> mount}

  • {TXT:EDDI technology broker items <index> name}

  • {INT:EDDI technology broker items <index> position}

  • {DEC:EDDI technology broker items <index> power}

  • {DEC:EDDI technology broker items <index> price}

  • {INT:EDDI technology broker items <index> priority}

  • {DEC:EDDI technology broker items <index> value}

  • {INT:EDDI technology broker materials} - The materials and quantities used in the crafting (as objects)

  • {INT:EDDI technology broker materials <index> amount}

  • {TXT:EDDI technology broker materials <index> category}

  • {INT:EDDI technology broker materials <index> desired}

  • {TXT:EDDI technology broker materials <index> material}

  • {INT:EDDI technology broker materials <index> maximum}

  • {INT:EDDI technology broker materials <index> minimum}

  • {TXT:EDDI technology broker materials <index> rarity invariant name}

  • {INT:EDDI technology broker materials <index> rarity level}

  • {TXT:EDDI technology broker materials <index> rarity name}

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

Clone this wiki locally