Skip to content

Commit 8264932

Browse files
committed
move template_setting to includes and use it instead of repeating text
and add the note to diverters:activation_time per missionpinball/mpf@f94494b1 / 0.57.4
1 parent 0b4ce88 commit 8264932

File tree

11 files changed

+15
-35
lines changed

11 files changed

+15
-35
lines changed

docs/config/bonus.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ Controls whether the bonus_multiplier player variable should be reset
9191
keep the bonus. (e.g. default is to reset it). Conditional values are
9292
supported.
9393

94-
Also note that you can use
95-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
96-
configurable.
94+
--8<-- "template_setting.md"
9795

9896
## bonus_entries:
9997

docs/config/credits.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ The maximum number of credits you want to allow on the machine. Note
121121
that pinball machines can't prevent players from adding money to
122122
machines, so be careful with this.
123123

124-
Also note that you can use
125-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
126-
configurable.
124+
--8<-- "template_setting.md"
127125

128126
### persist_credits_while_off_time:
129127

@@ -192,9 +190,7 @@ are no currency symbols here or anything. A value of .25 could be 0.25
192190
dollars or 0.25 Euros or 0.25 Francs---it really doesn't matter. The
193191
key is that it's 0.25 of whatever monetary system you have.
194192

195-
Also note that you can use
196-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
197-
configurable.
193+
--8<-- "template_setting.md"
198194

199195
### price_tier_template
200196

@@ -240,9 +236,7 @@ credits:
240236

241237
Price for number of `credits`.
242238

243-
Also note that you can use
244-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
245-
configurable.
239+
--8<-- "template_setting.md"
246240

247241
### Optional settings
248242

docs/config/diverters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ value of zero (or omitting this setting) means this diverter does not
154154
timeout, and it will stay active until it's disabled or you manually
155155
deactivate it.
156156

157+
--8<-- "template_setting.md"
158+
157159
### allow_multiple_concurrent_ejects_to_same_side:
158160

159161
Single value, type: `boolean` (`true`/`false`). Default: `true`

docs/config/game.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ Single value, type: `integer` or `template`
7272
How many balls the game is. Typically it's 3 or 5 but it can be
7373
anything. MPF doesn't care.
7474

75-
Also note that you can use
76-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
77-
configurable.
75+
--8<-- "template_setting.md"
7876

7977
### end_ball_event:
8078

@@ -100,14 +98,11 @@ Single value, type: `integer` or `template`
10098

10199
Controls the maximum number of players that can play a game.
102100

103-
Also note that you can use
104-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
105-
configurable.
101+
--8<-- "template_setting.md"
106102

107103
### start_game_event:
108104

109-
Single event. The device will add an handler for this event. Defaults to
110-
empty.
105+
Single event. The device will add an handler for this event. Defaults to empty.
111106

112107
Event to request to start a game. Same as `start_game_switch_tag` but
113108
using an event instead of a switch tag (see below for details).

docs/config/playfields.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ Single value, type: `boolean` (`true`/`false`). Defaults to empty.
130130
Enable ball_search by default. Use with care during development since
131131
coils may hurt you. Should be enabled in any production machine.
132132

133-
Also note that you can use
134-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
135-
configurable.
133+
--8<-- "template_setting.md"
136134

137135
### console_log:
138136

docs/config/rgb_dmds.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ A brightness multiplier for the DMD (because RGB DMDs are crazy bright).
106106
Note that brightness is closely related to gamma (see above). You'll
107107
probably want to adjust both of them together.
108108

109-
Also note that you can use
110-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
111-
configurable.
109+
--8<-- "template_setting.md"
112110

113111
### only_send_changes:
114112

docs/config/template_setting.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/config/tilt.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ Single value, type: `integer` or `template`
116116

117117
Number of warnings until the machine tilts.
118118

119-
Also note that you can use
120-
[dynamic values](instructions/dynamic_values.md) here if you want to do math or use settings to make this
121-
configurable.
119+
--8<-- "template_setting.md"
122120

123121
## Related How To guides
124122

docs/config/timers.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@ tick down ten times a second.
195195

196196
#### Using dynamic value templates:
197197

198-
Also note that you can use [dynamic values](instructions/dynamic_values.md)
199-
here if you want to do math or use settings to make this configurable.
198+
--8<-- "template_setting.md"
200199

201200
Even though the other option is to use a time string, when using a dynamic value
202201
you must resolve the value to a floating point value representing the number of seconds.

includes/template_setting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Also note that you can use [dynamic values](instructions/dynamic_values.md)
2+
here if you want to do math or use settings to make this configurable.

0 commit comments

Comments
 (0)