@@ -270,48 +270,48 @@ Stepping through how we're using each setting:
270
270
271
271
` show_tokens:`
272
272
273
- : link this achievement to it's light on the playfield.
273
+ link this achievement to it's light on the playfield.
274
274
275
- `show_when_selected : flash`
275
+ `show_when_selected : flash`:
276
276
277
- : Plays the show called "flash" when this achievement is selected.
278
- Note that the default "flash" show is 1 sec on / 1 sec off. While
279
- you can play it faster, the original Addams Family flashed the
280
- lights more like .75s on / .25 off, so you'd probably want to
281
- create a custom version of the "flash" show for TAF that flashed
282
- them more like the original version.
277
+ Plays the show called "flash" when this achievement is selected.
278
+ Note that the default "flash" show is 1 sec on / 1 sec off. While
279
+ you can play it faster, the original Addams Family flashed the
280
+ lights more like .75s on / .25 off, so you'd probably want to
281
+ create a custom version of the "flash" show for TAF that flashed
282
+ them more like the original version.
283
283
284
- `show_when_completed : on`
284
+ `show_when_completed : on`:
285
285
286
- : Plays the show called "on" when this achievement is complete
286
+ Plays the show called "on" when this achievement is complete
287
287
288
- `events_when_started : award_thing_multiball`
288
+ `events_when_started : award_thing_multiball`:
289
289
290
- : Posts an event called *award_thing_multiball* when this achievement
291
- is started. We'll use this as the start event for the Thing
292
- Multiball mode.
290
+ Posts an event called *award_thing_multiball* when this achievement
291
+ is started. We'll use this as the start event for the Thing
292
+ Multiball mode.
293
293
294
- `enable_events : initialize_mansion, reset_mansion`
294
+ `enable_events : initialize_mansion, reset_mansion`:
295
295
296
- : Enables this achievement when either of the events
297
- *initialize_mansion* or *reset_mansion* is posted. Prior to that,
298
- this achievement will be disabled.
296
+ Enables this achievement when either of the events
297
+ *initialize_mansion* or *reset_mansion* is posted. Prior to that,
298
+ this achievement will be disabled.
299
299
300
- `complete_events : award_thing_multiball`
300
+ `complete_events : award_thing_multiball`:
301
301
302
- : Watches for the event *award_thing_multiball*, and when it sees it,
303
- it marks this achievement as complete. Notice this is the same event
304
- that this achievement posts when it starts. In other words, we've
305
- configured it so the achievement is complete as soon as it starts!
306
- This is by design, because the rules state that once an achievement
307
- is awarded, the chair can be relit immediately, and it's possible
308
- to receive the next award even while the mode from the prior award
309
- is still running.
302
+ Watches for the event *award_thing_multiball*, and when it sees it,
303
+ it marks this achievement as complete. Notice this is the same event
304
+ that this achievement posts when it starts. In other words, we've
305
+ configured it so the achievement is complete as soon as it starts!
306
+ This is by design, because the rules state that once an achievement
307
+ is awarded, the chair can be relit immediately, and it's possible
308
+ to receive the next award even while the mode from the prior award
309
+ is still running.
310
310
311
- `reset_events : reset_mansion`
311
+ `reset_events : reset_mansion`:
312
312
313
- : Watches for an event called *reset_mansion* that will reset this
314
- achievement back to its initial (disabled) state.
313
+ Watches for an event called *reset_mansion* that will reset this
314
+ achievement back to its initial (disabled) state.
315
315
316
316
This achievements configuration takes care of the following rules :
317
317
@@ -383,80 +383,78 @@ achievement_groups:
383
383
384
384
Let's look at each of these settings :
385
385
386
- ` achievements:`
386
+ `achievements:` :
387
387
388
- : This is just the list of the 12 achievements that make up this
389
- group.
388
+ This is just the list of the 12 achievements that make up this group.
390
389
391
- ` show_tokens:`
390
+ `show_tokens:` :
392
391
393
- : These are the show tokens for the group itself. In this case
394
- it's the yellow light on the electric chair, since this light
395
- turns on and off to indicate whether the chair or swamp can be shot
396
- to award the currently selected item.
392
+ These are the show tokens for the group itself. In this case
393
+ it's the yellow light on the electric chair, since this light
394
+ turns on and off to indicate whether the chair or swamp can be shot
395
+ to award the currently selected item.
397
396
398
- `auto_select : yes`
397
+ `auto_select : yes`:
399
398
400
- : This is used to make sure that one achievement is selected at all
401
- times. If the currently selected achievement is completed, the
402
- achievement group will notice that there is no currently selected
403
- achievement and it will pick one from random from the remaining
404
- achievements (those that are "enabled").
399
+ This is used to make sure that one achievement is selected at all
400
+ times. If the currently selected achievement is completed, the
401
+ achievement group will notice that there is no currently selected
402
+ achievement and it will pick one from random from the remaining
403
+ achievements (those that are "enabled").
405
404
406
- `events_when_all_completed : select_tour_mansion`
405
+ `events_when_all_completed : select_tour_mansion`:
407
406
408
- : Posts an event called *select_tour_mansion* once all 12 achievements
409
- in this group in complete. We'll use this later to light the "tour
410
- mansion" award.
407
+ Posts an event called *select_tour_mansion* once all 12 achievements
408
+ in this group in complete. We'll use this later to light the "tour
409
+ mansion" award.
411
410
412
- `enable_while_no_achievement_started : no`
411
+ `enable_while_no_achievement_started : no`:
413
412
414
- : In our case, we do not want to automatically enable the achievement
415
- group when no achievement is started, because the rules for Addams
416
- Family say that the player has to shoot the center ramp or right
417
- inlane to light the chair (which is enabling this achievement
418
- group).
413
+ In our case, we do not want to automatically enable the achievement
414
+ group when no achievement is started, because the rules for Addams
415
+ Family say that the player has to shoot the center ramp or right
416
+ inlane to light the chair (which is enabling this achievement group).
419
417
420
- `show_when_enabled : on`
418
+ `show_when_enabled : on`:
421
419
422
- : This plays the show called "on" when the achievement group is in
423
- the enabled state. This will have the effect of turning on the
424
- yellow chair light (from the `show_tokens:` section) when the
425
- achievement group is enabled and the selected item can be awarded.
420
+ This plays the show called "on" when the achievement group is in
421
+ the enabled state. This will have the effect of turning on the
422
+ yellow chair light (from the `show_tokens:` section) when the
423
+ achievement group is enabled and the selected item can be awarded.
426
424
427
- `select_random_achievement_events : sw_jet`
425
+ `select_random_achievement_events : sw_jet`:
428
426
429
- : In Addams Family, each pop bumper hit changes the currently selected
430
- mansion award. To make this happen, we added a tag called "jet" to
431
- the five pop bumper switches. (That will post an event called
432
- *sw_jet* any time one of these switches is hit. Then we add that
433
- event name here which will cause this achievement group to change
434
- the currently selected award.
427
+ In Addams Family, each pop bumper hit changes the currently selected
428
+ mansion award. To make this happen, we added a tag called "jet" to
429
+ the five pop bumper switches. (That will post an event called
430
+ *sw_jet* any time one of these switches is hit. Then we add that
431
+ event name here which will cause this achievement group to change
432
+ the currently selected award.
435
433
436
- `allow_selection_change_while_disabled : yes`
434
+ `allow_selection_change_while_disabled : yes`:
437
435
438
- : The pop bumper hits to change the current selection happens
439
- regardless of whether the group is enabled (e.g. the chair is lit)
440
- or not, so we use this setting to allow that selection change to
441
- happen at any time.
436
+ The pop bumper hits to change the current selection happens
437
+ regardless of whether the group is enabled (e.g. the chair is lit)
438
+ or not, so we use this setting to allow that selection change to
439
+ happen at any time.
442
440
443
- `start_selected_events : balldevice_electric_chair_ball_enter, balldevice_swamp_kickout_ball_enter, award_mansion_from_bear`
441
+ `start_selected_events : balldevice_electric_chair_ball_enter, balldevice_swamp_kickout_ball_enter, award_mansion_from_bear`:
444
442
445
- : A shot to either the electric chair or the swamp kickout will award
446
- the selected achievement.
443
+ A shot to either the electric chair or the swamp kickout will award
444
+ the selected achievement.
447
445
448
- `enable_events : light_chair`
446
+ `enable_events : light_chair`:
449
447
450
- : When an event called *light_chair* is posted, this achievement group
451
- will be enabled (which will turn on the chair light and allow the
452
- selected achievement to be started via the `start_selected_events:`.
448
+ When an event called *light_chair* is posted, this achievement group
449
+ will be enabled (which will turn on the chair light and allow the
450
+ selected achievement to be started via the `start_selected_events:`.
453
451
454
- `disable_events : unlight_chair`
452
+ `disable_events : unlight_chair`:
455
453
456
- : When an event called *unlight_chair* is posted, this achievement group
457
- will be disabled. The chair light will turn off, and the
458
- ` start_selected_events:` will not cause the current selected
459
- achievement to start.
454
+ When an event called *unlight_chair* is posted, this achievement group
455
+ will be disabled. The chair light will turn off, and the
456
+ ` start_selected_events:` will not cause the current selected
457
+ achievement to start.
460
458
461
459
This step takes care of :
462
460
0 commit comments