-
Notifications
You must be signed in to change notification settings - Fork 82
Synthesised event
Triggered when you synthesise something from materials.
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.materials} - Materials used in the synthesis (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.synthesis} - The thing that has been synthesised
To respond to this event in VoiceAttack, create a command entitled ((EDDI synthesised)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI synthesised materials} - Materials used in the synthesis (as objects)
-
{INT:EDDI synthesised materials <index> amount}
-
{TXT:EDDI synthesised materials <index> category}
-
{INT:EDDI synthesised materials <index> desired}
-
{TXT:EDDI synthesised materials <index> material}
-
{INT:EDDI synthesised materials <index> maximum}
-
{INT:EDDI synthesised materials <index> minimum}
-
{TXT:EDDI synthesised materials <index> rarity invariant name}
-
{INT:EDDI synthesised materials <index> rarity level}
-
{TXT:EDDI synthesised materials <index> rarity name}
-
{TXT:EDDI synthesised synthesis} - The thing that has been synthesised
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.