@@ -51,42 +51,64 @@ as a string, in the latter case using the dot notation you access the value itse
51
51
* [ machine_vars: Config Reference] ( ../config/machine_vars.md )
52
52
* [ variable_player: Config Reference] ( ../config/variable_player.md )
53
53
54
+ ## Built-in Machine Variables
55
+
54
56
You can create your own machine variables in your configs. There are
55
57
also several machine variables that are automatically created. Here's a
56
58
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)
58
84
59
85
* [ credit_units] ( credit_units.md )
60
86
* [ credits_denominator] ( credits_denominator.md )
61
87
* [ credits_numerator] ( credits_numerator.md )
62
88
* [ credits_string] ( credits_string.md )
63
89
* [ credits_value] ( credits_value.md )
64
90
* [ 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
+
65
102
* [ fast_ (x)_ firmware] ( fast_x_firmware.md )
66
103
* [ 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 )
71
104
* [ lisy_api_version] ( lisy_api_version.md )
72
105
* [ lisy_hardware] ( lisy_hardware.md )
73
106
* [ 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 )
78
107
* [ p_roc_hardware_version] ( p_roc_hardware_version.md )
79
108
* [ p_roc_revision] ( p_roc_revision.md )
80
109
* [ p_roc_version] ( p_roc_version.md )
81
110
* [ pkone_firmware] ( pkone_firmware.md )
82
111
* [ 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 )
90
112
91
113
## Related Events
92
114
0 commit comments