event_manager (example config files)¶
Machine config examples¶
Here are some example machine-wide config files that show real-world examples of how these configs are used.
#config_version=5
event_player:
test_event_player1:
- test_event_player2
- test_event_player3
test_event_player_delayed:
- test_event_player2|2s
- test_event_player3:2s
random_event_player:
test_random_event_player1:
events:
- test_random_event_player2
- test_random_event_player3
scope: machine
modes:
- test_mode
- game_mode
Mode config examples¶
Here are some example mode config files that go along with the machine-wide config above.
Note that there are multiple mode config examples here. You might not necessarily use more than one in your machine.
#config_version=5
mode:
start_events: game_mode_start
stop_events: game_mode_end
random_event_player:
test_random_event_player_mode2:
- out1
- out2
#config_version=5
mode:
start_events: test_mode_start
stop_events: test_mode_end
game_mode: False
event_player:
test_event_player_mode1:
- test_event_player_mode2
- test_event_player_mode3
random_event_player:
test_random_event_player_mode1:
scope: machine
events:
- test_random_event_player_mode2
- test_random_event_player_mode3
test_random_event_player_weighted:
scope: machine
force_different: False
force_all: False
events:
out3: 1
out4: 1000