Skip to content

Commit 3b8ca13

Browse files
committed
break up machine var reference list by section
1 parent 05f6a2c commit 3b8ca13

File tree

1 file changed

+38
-16
lines changed

1 file changed

+38
-16
lines changed

docs/machine_vars/index.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,42 +51,64 @@ as a string, in the latter case using the dot notation you access the value itse
5151
* [machine_vars: Config Reference](../config/machine_vars.md)
5252
* [variable_player: Config Reference](../config/variable_player.md)
5353

54+
## Built-in Machine Variables
55+
5456
You can create your own machine variables in your configs. There are
5557
also several machine variables that are automatically created. Here's a
5658
list of the machine variables that are "built in" and available for
57-
use in your configs:
59+
use in your configs, grouped by feature set:
60+
61+
#### MPF general info
62+
63+
* [mpf_extended_version](mpf_extended_version.md)
64+
* [mpf_version](mpf_version.md)
65+
* [python_version](python_version.md)
66+
* [platform](platform.md)
67+
* [platform_machine](platform_machine.md)
68+
* [platform_release](platform_release.md)
69+
* [platform_system](platform_system.md)
70+
* [platform_version](platform_version.md)
71+
72+
#### Previous game scores
73+
74+
* [player(x)_score](playerx_score.md)
75+
76+
#### High scores
77+
78+
* [(high_score_category)(position)_label](high_score_categoryposition_label.md)
79+
* [(high_score_category)(position)_name](high_score_categoryposition_name.md)
80+
* [(high_score_category)(position)_value](high_score_categoryposition_value.md)
81+
* [(high_score_category)(position)\_(variable_type)_(variable)](high_score_categoryposition_variabletype_variable.md)
82+
83+
#### Credit management (if not on free play)
5884

5985
* [credit_units](credit_units.md)
6086
* [credits_denominator](credits_denominator.md)
6187
* [credits_numerator](credits_numerator.md)
6288
* [credits_string](credits_string.md)
6389
* [credits_value](credits_value.md)
6490
* [credits_whole_num](credits_whole_num.md)
91+
92+
#### MPF-MC version information (pre-MPF 0.80)
93+
94+
* [mc_extended_version](mc_extended_version.md)
95+
* [mc_version](mc_version.md)
96+
97+
## Platform-specific machine variables
98+
99+
Some platforms will also add additional machine variables based on
100+
how they are set up. Some examples:
101+
65102
* [fast_(x)_firmware](fast_x_firmware.md)
66103
* [fast_(x)_model](fast_x_model.md)
67-
* [(high_score_category)(position)_label](high_score_categoryposition_label.md)
68-
* [(high_score_category)(position)_name](high_score_categoryposition_name.md)
69-
* [(high_score_category)(position)_value](high_score_categoryposition_value.md)
70-
* [(high_score_category)(position)\_(variable_type)_(variable)](high_score_categoryposition_variabletype_variable.md)
71104
* [lisy_api_version](lisy_api_version.md)
72105
* [lisy_hardware](lisy_hardware.md)
73106
* [lisy_version](lisy_version.md)
74-
* [mc_extended_version](mc_extended_version.md)
75-
* [mc_version](mc_version.md)
76-
* [mpf_extended_version](mpf_extended_version.md)
77-
* [mpf_version](mpf_version.md)
78107
* [p_roc_hardware_version](p_roc_hardware_version.md)
79108
* [p_roc_revision](p_roc_revision.md)
80109
* [p_roc_version](p_roc_version.md)
81110
* [pkone_firmware](pkone_firmware.md)
82111
* [pkone_hardware](pkone_hardware.md)
83-
* [platform](platform.md)
84-
* [platform_machine](platform_machine.md)
85-
* [platform_release](platform_release.md)
86-
* [platform_system](platform_system.md)
87-
* [platform_version](platform_version.md)
88-
* [player(x)_score](playerx_score.md)
89-
* [python_version](python_version.md)
90112

91113
## Related Events
92114

0 commit comments

Comments
 (0)