-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yml
40 lines (37 loc) · 1009 Bytes
/
example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ships:
mining:
- "STARSTAR-1"
- "STARSTAR-2"
actions: # actions are per ship
mine: # Definition of the action "mine"
steps:
- orbit
- extract:
fail-fast: false
- navigate:
destination:
trait: "MARKETPLACE"
- dock
- refuel
- sellall
- navigate:
destination:
type: "ASTEROID_FIELD"
- refuel
triggers:
on_start: # performed when the program is first run
mining: # specifies that the ship group "mining" is to be controlled
concurrent: true # Run the actions for each ship at the same time (default is one after another)
steps: # what to perform to each ship
- navigate:
destination:
type: "ASTEROID_FIELD"
- action: # Execute the action named "mine"
name: mine
repeat:
interval: 68 # interval in seconds
# condition:
# type: greater
# first:
# variable: CREDITS
# second: 100000