Skip to content

Colonisation contribution event

T'kael edited this page Apr 27, 2025 · 1 revision

Triggered when contributing commodities towards construction in colonised star system.

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.contributions} - The commodities and amounts you have contributed

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

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

  • {event.marketID} - The numeric market ID of the location receiving your contribution

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

The following VoiceAttack variables are available for this event:

  • {INT:EDDI colonisation contribution contributions} - The commodities and amounts you have contributed

  • {INT:EDDI colonisation contribution contributions <index> amount}

  • {TXT:EDDI colonisation contribution contributions <index> commodity}

  • {DEC:EDDI colonisation contribution market id} - The numeric market ID of the location receiving your contribution

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

Clone this wiki locally