text_strings:

Config file section

Valid in machine config files YES
Valid in mode config files YES

The text_strings: section of your config is where you define text strings which can be used in slides or widgets.

This is an example:

text_strings:
  greeting: HELLO PLAYER. THIS IS YOUR BALL (ball)
slides:
  slides_with_text:
    - type: text
      text: $greeting
This example is tested to be valid MPF and MPF-MC config. Additionally, our integration test passed. Click to show the test and full config.
text_strings:
  greeting: HELLO PLAYER. THIS IS YOUR BALL (ball)
slides:
  slides_with_text:
    - type: text
      text: $greeting
slide_player:
  game_started: slides_with_text
##! test
start_game
advance_time_and_run .1
assert_text_on_top_slide "HELLO PLAYER. THIS IS YOUR BALL 1"