Skip to content

Modification crafted event

Tkael edited this page Nov 25, 2022 · 11 revisions

Triggered when you craft a modification to a module.

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.blueprint} - The blueprint being crafted

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

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

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

  • {event.engineer} - The name of the engineer crafting the modification

  • {event.experimentaleffect} - The experimental effect being crafted, if applicable

  • {event.level} - The level of the blueprint being crafted

  • {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}

  • {event.module} - The module being crafted

  • {event.quality} - The progression of the blueprint at the current level, expressed as a percentage

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

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI modification crafted blueprint} - The blueprint being crafted

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

  • {INT:EDDI modification crafted commodities <index> amount}

  • {TXT:EDDI modification crafted commodities <index> commodity}

  • {TXT:EDDI modification crafted engineer} - The name of the engineer crafting the modification

  • {TXT:EDDI modification crafted experimentaleffect} - The experimental effect being crafted, if applicable

  • {INT:EDDI modification crafted level} - The level of the blueprint being crafted

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

  • {INT:EDDI modification crafted materials <index> amount}

  • {TXT:EDDI modification crafted materials <index> category}

  • {INT:EDDI modification crafted materials <index> desired}

  • {TXT:EDDI modification crafted materials <index> material}

  • {INT:EDDI modification crafted materials <index> maximum}

  • {INT:EDDI modification crafted materials <index> minimum}

  • {TXT:EDDI modification crafted materials <index> rarity invariant name}

  • {INT:EDDI modification crafted materials <index> rarity level}

  • {TXT:EDDI modification crafted materials <index> rarity name}

  • {TXT:EDDI modification crafted module} - The module being crafted

  • {DEC:EDDI modification crafted quality} - The progression of the blueprint at the current level, expressed as a percentage

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

Clone this wiki locally