Skip to content

Commit 8bafa3d

Browse files
authored
Merge pull request #595 from bosh/queue_event_list
Queue event list
2 parents 6a681ee + b6b9579 commit 8bafa3d

12 files changed

+479
-312
lines changed

docs/events/index.md

Lines changed: 346 additions & 311 deletions
Large diffs are not rendered by default.

docs/events/init_phase_1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ title: init_phase_1
99

1010
Posted during the initial boot up of MPF.
1111

12+
This is a queue event. The machine init phase 1
13+
will not be complete until the queue is cleared.
14+
1215
--8<-- "event_no_keywords_notice.md"

docs/events/init_phase_2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ title: init_phase_2
99

1010
Posted during the initial boot up of MPF.
1111

12+
This is a queue event. The machine init phase 2
13+
will not be complete until the queue is cleared.
14+
1215
--8<-- "event_no_keywords_notice.md"

docs/events/init_phase_3.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ title: init_phase_3
99

1010
Posted during the initial boot up of MPF.
1111

12+
This is a queue event. The machine init phase 3
13+
will not be complete until the queue is cleared.
14+
1215
--8<-- "event_no_keywords_notice.md"

docs/events/init_phase_4.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ title: init_phase_4
99

1010
Posted during the initial boot up of MPF.
1111

12+
This is a queue event. The machine init phase 4
13+
will not be complete until the queue is cleared.
14+
1215
--8<-- "event_no_keywords_notice.md"

docs/events/init_phase_5.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ title: init_phase_5
99

1010
Posted during the initial boot up of MPF.
1111

12+
This is a queue event. The machine init phase 5
13+
will not be complete until the queue is cleared.
14+
1215
--8<-- "event_no_keywords_notice.md"

docs/events/match_has_match.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: match_has_match
99

1010
At least one player has a match.
1111

12+
This is a queue event. The match mode match_has_match
13+
will not be complete until the queue is cleared.
14+
1215
## Keyword arguments
1316

1417
(See the [Conditional Events](overview/conditional.md)

docs/events/match_no_match.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: match_no_match
99

1010
All players missed the match number.
1111

12+
This is a queue event. The match mode match_no_match
13+
will not be complete until the queue is cleared.
14+
1215
## Keyword arguments
1316

1417
(See the [Conditional Events](overview/conditional.md)
@@ -33,4 +36,4 @@ Winner number
3336

3437
#### `winners`:
3538

36-
Number of winners (always 0 here)
39+
Number of winners (always 0 here as there are no matches)

docs/events/overview/event_types.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ You can create your own queue events with the
4747
[queue_relay_player:](../../config/queue_relay_player.md) config file
4848
sections.
4949

50+
Queue Events are categorized in the Events Reference by their device
51+
or other grouping type, but are also listed together in the
52+
[Queue Events event listing page](../queue_events/index.md).
53+
5054
## Note for Programmers
5155

5256
If you're a programmer and familiar with Python, you'll notice in the
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: balldevice_(name)_ball_eject_attempt
3+
---
4+
5+
# balldevice_(name)\_ball_eject_attempt
6+
7+
8+
--8<-- "event.md"
9+
10+
Event is posted by [ball_devices:](../../config/ball_devices.md)
11+
12+
The ball device called (name) is attempting to eject a ball (or
13+
balls). This is a queue event. The eject will not actually be attempted
14+
until the queue is cleared.
15+
16+
## Keyword arguments
17+
18+
(See the [Conditional Events](../overview/conditional.md)
19+
guide for details for how to create entries in your config file that
20+
only respond to certain combinations of the arguments below.)
21+
22+
#### `balls`:
23+
24+
The number of balls that are to be ejected.
25+
26+
#### `mechanical_eject`:
27+
28+
Boolean as to whether this is a mechanical eject.
29+
30+
#### `num_attempts`:
31+
32+
How many eject attempts have been tried so far.
33+
34+
#### `source`:
35+
36+
The source device that will be ejecting the balls.
37+
38+
#### `target`:
39+
40+
The target ball device that will receive these balls.

0 commit comments

Comments
 (0)