bonus (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:
    - bonus
    - mode1

machine:
    min_balls: 0

game:
  balls_per_game: 10  # we have a lot of bonus tests to run :)

switches:
    s_start:
        number:
        tags: start

player_vars:
    bonus_multiplier:
        initial_value: 1

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_settings:
  keep_multiplier: True
  bonus_entries:
      - event: bonus_ramps
        score: 1000
        player_score_entry: ramps
        reset_player_score_entry: True
        skip_if_zero: false
      - event: bonus_modes
        score: 5000
        player_score_entry: modes
        reset_player_score_entry: False
#config_version=5
mode:
    start_events: start_mode1
    stop_events: stop_mode1
    priority: 200

variable_player:
    hit_target:
        score: 1337
    score_ramps:
        ramps: 1
    score_modes:
        modes: 1
    add_multiplier:
        bonus_multiplier: 1