-
Notifications
You must be signed in to change notification settings - Fork 81
Asteroid prospected event
Triggered when using a prospecting drone.
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.commodities} - A list of objects describing the contents of the asteroid
-
{event.commodities[<index>].commodity}
-
{event.commodities[<index>].percentage}
-
{event.materialcontent} - The material content of the asteroid (high, medium, or low)
-
{event.motherlode} - The asteroid's motherlode (if any)
-
{event.remaining} - The percentage of the asteroid's contents which remain available for surface mining
To respond to this event in VoiceAttack, create a command entitled ((EDDI asteroid prospected)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI asteroid prospected commodities} - A list of objects describing the contents of the asteroid
-
{TXT:EDDI asteroid prospected commodities <index> commodity}
-
{DEC:EDDI asteroid prospected commodities <index> percentage}
-
{TXT:EDDI asteroid prospected materialcontent} - The material content of the asteroid (high, medium, or low)
-
{TXT:EDDI asteroid prospected motherlode} - The asteroid's motherlode (if any)
-
{DEC:EDDI asteroid prospected remaining} - The percentage of the asteroid's contents which remain available for surface mining
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.