added SpanshAttack.announceTripTime and associated stuff

You are now able to get the exact time you’ve spend on your plotted
neutron trip, complete with the option to automatically tell you your
time at the end of the route.

closes #3
This commit is contained in:
alterNERDtive 2019-08-27 23:24:10 +02:00
parent cdaac3f828
commit 411bda4b94
3 changed files with 4149 additions and 1700 deletions

View file

@ -102,13 +102,20 @@ cleared. If you want to prematurely end your trip, call the
### Announcing Jumps Left ###
You can have VoiceAttack tell you the amount of jumps left on the current route
by invoking `SpanshAttack.getJumpsLeft` or saying
by invoking `SpanshAttack.announceJumpsLeft` or saying
`how many [neutron;] jumps [are;] left?`.
**Note**: Because its pretty much impossible to calculate a 100% accurate value
for the total jumps left, it will just tell you the jump count _from the current
neutron waypoint_.
### Announce elapsed time on the trip ###
SpanshAttack keeps track of your start time, even if you have the option to time
your trip turned off. This way you can get the time youve been jumping with the
`SpanshAttack.announceTripTime` or
`how long have i been [jumping;on this trip;on this neutron trip]?` commands.
### Helper Functions ###
The profile contains a lot of helper functions that get called by the
@ -127,6 +134,8 @@ if you have imported SpanshAttack.
* Elite.pasteKey (string): the key used for pasting into Elite. On QWERTY this
is `v`. Default: `v`.
* SpanshAttack.timeTrip: whether to automatically tell you at the end of a trip
how long it to you to get there. Default: false.
* SpanshAttack.announceWaypoints (boolean): whether to announce each waypoint of
the neutron route. Default: true.
* SpanshAttack.announceJumpsLeft (string): `;`-separated list of remaining jumps

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff