extra_ball (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

modes:
    - mode1

playfields:
  playfield:
    default_source_device: bd_launcher
    tags: default

coils:
    eject_coil1:
        number:
    eject_coil2:
        number:

switches:
    s_trough1:
        number:
    s_trough2:
        number:
    s_ball_switch_launcher:
        number:

ball_devices:
    bd_trough:
        eject_coil: eject_coil1
        ball_switches: s_trough1, s_trough2
        debug: true
        confirm_eject_type: target
        eject_targets: bd_launcher
        tags: trough, drain, home
    bd_launcher:
        eject_coil: eject_coil2
        ball_switches: s_ball_switch_launcher
        debug: true
        confirm_eject_type: target
        eject_timeouts: 2s

extra_ball_groups:
  main:
    enabled: yes
    award_events: award_group_eb
    max_lit: 1
    max_per_ball: 2
  disabled_eb:
    enabled: no
  no_memory:
    lit_memory: false
    max_per_game: 2

event_player:
  ball_started{current_player.ball==1 and not is_extra_ball}: first_ball

Mode config examples

Here are some example mode config files that go along with the machine-wide config above.

#config_version=5
mode:
  start_events: start_mode1
  stop_events: stop_mode1

extra_balls:
    eb1:
        award_events: award_eb1
        max_per_game: 1
    eb2:
        light_events: light_eb2
        max_per_game: 2
    eb3:
        award_events: award_eb3
        enabled: false
    eb4:
        light_events: light_eb4
        enabled: false
    eb5:
        award_events: award_eb5
        light_events: light_eb5
        group: main
    eb6:
        light_events: light_eb6
        group: main
    eb7:
        light_events: light_eb7
        group: main
    eb8:
        light_events: light_eb8
        award_events: award_eb8
        group: disabled_eb
    eb9:
        group: no_memory
        light_events: light_eb9
        award_events: award_eb9
        max_per_game: None