Colonisation construction depot event - EDCD/EDDI GitHub Wiki
Triggered when progress is updated at the colonisation construction depot where you are docked.
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.isCompleted} - True if construction is completed
-
{event.isFailed} - True if construction is failed
-
{event.marketID} - The numeric market ID of the construction location
-
{event.needs} - The commodities and amounts needed to complete construction, ordered from most needed to least
-
{event.needs[<index>].amount}
-
{event.needs[<index>].commodity}
-
{event.progress} - The percent progress towards completion of the construction location
To respond to this event in VoiceAttack, create a command entitled ((EDDI colonisation construction depot)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{BOOL:EDDI colonisation construction depot is completed} - True if construction is completed
-
{BOOL:EDDI colonisation construction depot is failed} - True if construction is failed
-
{DEC:EDDI colonisation construction depot market id} - The numeric market ID of the construction location
-
{INT:EDDI colonisation construction depot needs} - The commodities and amounts needed to complete construction, ordered from most needed to least
-
{INT:EDDI colonisation construction depot needs <index> amount}
-
{TXT:EDDI colonisation construction depot needs <index> commodity}
-
{DEC:EDDI colonisation construction depot progress} - The percent progress towards completion of the construction location
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.