@battle-racing/br-common-lib 6.2.1-rc.2 → 6.2.1-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/data/all-tutorial-steps.js +15 -4
  2. package/dist/domains/command/Command.schema.d.ts +10 -22
  3. package/dist/domains/damage/Damage.schema.d.ts +2 -2
  4. package/dist/domains/flow/Flow.schema.d.ts +4 -8
  5. package/dist/domains/hardware/screen/Screen.const.d.ts +8 -0
  6. package/dist/domains/hardware/screen/Screen.const.js +9 -1
  7. package/dist/domains/hardware/screen/ScreenTutorial.schema.d.ts +2 -2
  8. package/dist/domains/hardware/screen/ScreenTutorial.schema.js +1 -3
  9. package/dist/domains/hardware/sound/Sound.const.d.ts +0 -4
  10. package/dist/domains/hardware/sound/Sound.const.js +1 -5
  11. package/dist/domains/hardware/sound/Sound.schema.d.ts +2 -6
  12. package/dist/domains/hardware/sound/Sound.schema.js +0 -1
  13. package/dist/domains/powerUp/PowerUp.schema.d.ts +12 -24
  14. package/dist/domains/sounds/Sounds.const.d.ts +2 -2
  15. package/dist/domains/sounds/Sounds.const.js +2 -2
  16. package/dist/domains/sounds/Sounds.schema.d.ts +2 -2
  17. package/dist/domains/tutorial/Tutorial.schema.d.ts +4 -7
  18. package/dist/domains/tutorial/Tutorial.schema.js +1 -4
  19. package/dist/domains/tutorial/Tutorial.types.d.ts +1 -2
  20. package/dist/domains/tutorial/TutorialConfig.schema.d.ts +15 -105
  21. package/dist/domains/tutorial/TutorialConfig.schema.js +0 -2
  22. package/package.json +1 -1
  23. package/src/data/all-tutorial-steps.ts +16 -5
  24. package/src/domains/hardware/screen/Screen.const.ts +10 -0
  25. package/src/domains/hardware/screen/ScreenTutorial.schema.ts +1 -3
  26. package/src/domains/hardware/sound/Sound.const.ts +0 -5
  27. package/src/domains/hardware/sound/Sound.schema.ts +1 -2
  28. package/src/domains/sounds/Sounds.const.ts +2 -2
  29. package/src/domains/tutorial/Tutorial.schema.ts +0 -4
  30. package/src/domains/tutorial/Tutorial.types.ts +0 -2
  31. package/src/domains/tutorial/TutorialConfig.schema.ts +0 -2
@@ -22,6 +22,15 @@ const stopKartCommands = [
22
22
  { module: 'speed', action: 'change', params: { speed: 0, forUnlimitedTime: true } },
23
23
  { module: 'speed', action: 'deactivate' },
24
24
  ];
25
+ const buttonFeedbackCommands = [
26
+ {
27
+ module: 'sound',
28
+ action: 'play',
29
+ params: {
30
+ soundName: domains_1.SOUND_NAME.TUTORIAL_BUTTON_PRESS,
31
+ },
32
+ },
33
+ ];
25
34
  // The step fires the nitro, after it ends the speed module goes back to its default speed
26
35
  const returnToFinishCommands = [
27
36
  {
@@ -202,10 +211,6 @@ exports.allTutorialConfig = {
202
211
  id: domains_1.TUTORIAL_PHASE_ID.CONTROLS_AND_HUD,
203
212
  name: 'Controls and HUD',
204
213
  index: 1,
205
- inputFeedbackSound: {
206
- soundName: domains_1.SOUND_NAME.TUTORIAL_BUTTON_PRESS,
207
- channel: domains_1.SOUND_CHANNEL.EFFECT,
208
- },
209
214
  steps: [
210
215
  {
211
216
  id: 'step_wheel_0_of_2',
@@ -238,6 +243,7 @@ exports.allTutorialConfig = {
238
243
  },
239
244
  triggerCommands: [
240
245
  ...stopKartCommands,
246
+ ...buttonFeedbackCommands,
241
247
  {
242
248
  module: 'screen',
243
249
  action: 'showTutorialView',
@@ -258,6 +264,7 @@ exports.allTutorialConfig = {
258
264
  },
259
265
  triggerCommands: [
260
266
  ...stopKartCommands,
267
+ ...buttonFeedbackCommands,
261
268
  {
262
269
  module: 'screen',
263
270
  action: 'showTutorialView',
@@ -320,6 +327,7 @@ exports.allTutorialConfig = {
320
327
  },
321
328
  triggerCommands: [
322
329
  ...stopKartCommands,
330
+ ...buttonFeedbackCommands,
323
331
  {
324
332
  module: 'screen',
325
333
  action: 'showTutorialView',
@@ -341,6 +349,7 @@ exports.allTutorialConfig = {
341
349
  },
342
350
  triggerCommands: [
343
351
  ...stopKartCommands,
352
+ ...buttonFeedbackCommands,
344
353
  {
345
354
  module: 'screen',
346
355
  action: 'showTutorialView',
@@ -362,6 +371,7 @@ exports.allTutorialConfig = {
362
371
  },
363
372
  triggerCommands: [
364
373
  ...stopKartCommands,
374
+ ...buttonFeedbackCommands,
365
375
  {
366
376
  module: 'screen',
367
377
  action: 'showTutorialView',
@@ -390,6 +400,7 @@ exports.allTutorialConfig = {
390
400
  },
391
401
  triggerCommands: [
392
402
  ...startDrivingCommands,
403
+ ...buttonFeedbackCommands,
393
404
  {
394
405
  module: 'screen',
395
406
  action: 'showTutorialView',
@@ -53,18 +53,14 @@ export declare const playSoundActionCommandOptionsSchema: z.ZodObject<{
53
53
  readonly SYSTEM_STARTED: "system_started.mp3";
54
54
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
55
55
  readonly WINNER_LAUGH: "winner_laugh.mp3";
56
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
56
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
57
57
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
58
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
58
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
59
59
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
60
60
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
61
61
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
62
62
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
63
63
  }>;
64
- channel: z.ZodOptional<z.ZodEnum<{
65
- readonly MAIN: "main";
66
- readonly EFFECT: "effect";
67
- }>>;
68
64
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
69
65
  }, z.core.$strip>;
70
66
  export declare const soundModuleCommandSchema: z.ZodObject<{
@@ -95,18 +91,14 @@ export declare const soundModuleCommandSchema: z.ZodObject<{
95
91
  readonly SYSTEM_STARTED: "system_started.mp3";
96
92
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
97
93
  readonly WINNER_LAUGH: "winner_laugh.mp3";
98
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
94
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
99
95
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
100
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
96
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
101
97
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
102
98
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
103
99
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
104
100
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
105
101
  }>;
106
- channel: z.ZodOptional<z.ZodEnum<{
107
- readonly MAIN: "main";
108
- readonly EFFECT: "effect";
109
- }>>;
110
102
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
111
103
  }, z.core.$strip>;
112
104
  }, z.core.$strip>;
@@ -984,7 +976,7 @@ export declare const screenModuleCommandSchema: z.ZodUnion<readonly [z.ZodObject
984
976
  revision: z.ZodOptional<z.ZodNumber>;
985
977
  presentationRevision: z.ZodOptional<z.ZodNumber>;
986
978
  step: z.ZodLiteral<"TutorialCompleted">;
987
- hud: z.ZodOptional<z.ZodObject<{
979
+ hud: z.ZodObject<{
988
980
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
989
981
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
990
982
  current: z.ZodNullable<z.ZodNumber>;
@@ -1010,7 +1002,7 @@ export declare const screenModuleCommandSchema: z.ZodUnion<readonly [z.ZodObject
1010
1002
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
1011
1003
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
1012
1004
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1013
- }, z.core.$strip>>;
1005
+ }, z.core.$strip>;
1014
1006
  }, z.core.$strip>], "step">;
1015
1007
  }, z.core.$strip>, z.ZodObject<{
1016
1008
  module: z.ZodLiteral<"screen">;
@@ -1971,7 +1963,7 @@ export declare const allCommandsConfigSchema: z.ZodIntersection<z.ZodUnion<reado
1971
1963
  revision: z.ZodOptional<z.ZodNumber>;
1972
1964
  presentationRevision: z.ZodOptional<z.ZodNumber>;
1973
1965
  step: z.ZodLiteral<"TutorialCompleted">;
1974
- hud: z.ZodOptional<z.ZodObject<{
1966
+ hud: z.ZodObject<{
1975
1967
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1976
1968
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
1977
1969
  current: z.ZodNullable<z.ZodNumber>;
@@ -1997,7 +1989,7 @@ export declare const allCommandsConfigSchema: z.ZodIntersection<z.ZodUnion<reado
1997
1989
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
1998
1990
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
1999
1991
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2000
- }, z.core.$strip>>;
1992
+ }, z.core.$strip>;
2001
1993
  }, z.core.$strip>], "step">;
2002
1994
  }, z.core.$strip>, z.ZodObject<{
2003
1995
  module: z.ZodLiteral<"screen">;
@@ -2063,18 +2055,14 @@ export declare const allCommandsConfigSchema: z.ZodIntersection<z.ZodUnion<reado
2063
2055
  readonly SYSTEM_STARTED: "system_started.mp3";
2064
2056
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
2065
2057
  readonly WINNER_LAUGH: "winner_laugh.mp3";
2066
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
2058
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
2067
2059
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
2068
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
2060
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
2069
2061
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
2070
2062
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
2071
2063
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
2072
2064
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
2073
2065
  }>;
2074
- channel: z.ZodOptional<z.ZodEnum<{
2075
- readonly MAIN: "main";
2076
- readonly EFFECT: "effect";
2077
- }>>;
2078
2066
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
2079
2067
  }, z.core.$strip>;
2080
2068
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -60,9 +60,9 @@ export declare const damageSchema: z.ZodObject<{
60
60
  readonly SYSTEM_STARTED: "system_started.mp3";
61
61
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
62
62
  readonly WINNER_LAUGH: "winner_laugh.mp3";
63
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
63
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
64
64
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
65
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
65
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
66
66
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
67
67
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
68
68
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
@@ -891,7 +891,7 @@ export declare const flowSchema: z.ZodObject<{
891
891
  revision: z.ZodOptional<z.ZodNumber>;
892
892
  presentationRevision: z.ZodOptional<z.ZodNumber>;
893
893
  step: z.ZodLiteral<"TutorialCompleted">;
894
- hud: z.ZodOptional<z.ZodObject<{
894
+ hud: z.ZodObject<{
895
895
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
896
896
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
897
897
  current: z.ZodNullable<z.ZodNumber>;
@@ -917,7 +917,7 @@ export declare const flowSchema: z.ZodObject<{
917
917
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
918
918
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
919
919
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
920
- }, z.core.$strip>>;
920
+ }, z.core.$strip>;
921
921
  }, z.core.$strip>], "step">;
922
922
  }, z.core.$strip>, z.ZodObject<{
923
923
  module: z.ZodLiteral<"screen">;
@@ -983,18 +983,14 @@ export declare const flowSchema: z.ZodObject<{
983
983
  readonly SYSTEM_STARTED: "system_started.mp3";
984
984
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
985
985
  readonly WINNER_LAUGH: "winner_laugh.mp3";
986
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
986
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
987
987
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
988
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
988
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
989
989
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
990
990
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
991
991
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
992
992
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
993
993
  }>;
994
- channel: z.ZodOptional<z.ZodEnum<{
995
- readonly MAIN: "main";
996
- readonly EFFECT: "effect";
997
- }>>;
998
994
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
999
995
  }, z.core.$strip>;
1000
996
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -15,3 +15,11 @@ export declare const SCREEN_VIEW: {
15
15
  readonly BATTLE: "Battle";
16
16
  readonly DEBUG: "Debug";
17
17
  };
18
+ export declare const SCREEN_STANDBY_SAFETY_CAROUSEL: {
19
+ readonly SLIDE_DURATION_MS: 4000;
20
+ readonly SLIDES: {
21
+ readonly HOME: "Home";
22
+ readonly PERSONAL_ITEMS: "PersonalItems";
23
+ readonly SEAT_BELT: "SeatBelt";
24
+ };
25
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SCREEN_VIEW = exports.SCREEN_STATUS = void 0;
3
+ exports.SCREEN_STANDBY_SAFETY_CAROUSEL = exports.SCREEN_VIEW = exports.SCREEN_STATUS = void 0;
4
4
  exports.SCREEN_STATUS = {
5
5
  ACTIVATED: 'Activated',
6
6
  DEACTIVATED: 'Deactivated',
@@ -18,3 +18,11 @@ exports.SCREEN_VIEW = {
18
18
  BATTLE: 'Battle',
19
19
  DEBUG: 'Debug',
20
20
  };
21
+ exports.SCREEN_STANDBY_SAFETY_CAROUSEL = {
22
+ SLIDE_DURATION_MS: 4000,
23
+ SLIDES: {
24
+ HOME: 'Home',
25
+ PERSONAL_ITEMS: 'PersonalItems',
26
+ SEAT_BELT: 'SeatBelt',
27
+ },
28
+ };
@@ -391,7 +391,7 @@ export declare const screenTutorialViewInputSchema: z.ZodDiscriminatedUnion<[z.Z
391
391
  revision: z.ZodOptional<z.ZodNumber>;
392
392
  presentationRevision: z.ZodOptional<z.ZodNumber>;
393
393
  step: z.ZodLiteral<"TutorialCompleted">;
394
- hud: z.ZodOptional<z.ZodObject<{
394
+ hud: z.ZodObject<{
395
395
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
396
396
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
397
397
  current: z.ZodNullable<z.ZodNumber>;
@@ -417,5 +417,5 @@ export declare const screenTutorialViewInputSchema: z.ZodDiscriminatedUnion<[z.Z
417
417
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
418
418
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
419
419
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
420
- }, z.core.$strip>>;
420
+ }, z.core.$strip>;
421
421
  }, z.core.$strip>], "step">;
@@ -50,7 +50,5 @@ exports.screenTutorialViewInputSchema = zod_1.z.discriminatedUnion('step', [
50
50
  createHudTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.POWER_UP_ROULETTE),
51
51
  createHudTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.POWER_UP_NITRO_READY),
52
52
  createHudTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.POWER_UP_RETURN_TO_HUD),
53
- createStaticTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED).extend({
54
- hud: exports.screenTutorialHudSchema.optional(),
55
- }),
53
+ createHudTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED),
56
54
  ]);
@@ -1,10 +1,6 @@
1
1
  export declare const PLAY_SOUND_DURATION: {
2
2
  readonly INFINITE: "infinite";
3
3
  };
4
- export declare const SOUND_CHANNEL: {
5
- readonly MAIN: "main";
6
- readonly EFFECT: "effect";
7
- };
8
4
  export declare const SOUND_ACTION_COMMAND: {
9
5
  readonly PLAY: "Play";
10
6
  };
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SOUND_ACTION_COMMAND = exports.SOUND_CHANNEL = exports.PLAY_SOUND_DURATION = void 0;
3
+ exports.SOUND_ACTION_COMMAND = exports.PLAY_SOUND_DURATION = void 0;
4
4
  exports.PLAY_SOUND_DURATION = {
5
5
  INFINITE: 'infinite',
6
6
  };
7
- exports.SOUND_CHANNEL = {
8
- MAIN: 'main',
9
- EFFECT: 'effect',
10
- };
11
7
  exports.SOUND_ACTION_COMMAND = {
12
8
  PLAY: 'Play',
13
9
  };
@@ -27,17 +27,13 @@ export declare const playSoundOptionsSchema: z.ZodObject<{
27
27
  readonly SYSTEM_STARTED: "system_started.mp3";
28
28
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
29
29
  readonly WINNER_LAUGH: "winner_laugh.mp3";
30
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
30
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
31
31
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
32
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
32
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
33
33
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
34
34
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
35
35
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
36
36
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
37
37
  }>;
38
38
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>>;
39
- channel: z.ZodOptional<z.ZodEnum<{
40
- readonly MAIN: "main";
41
- readonly EFFECT: "effect";
42
- }>>;
43
39
  }, z.core.$strip>;
@@ -8,5 +8,4 @@ exports.soundActionCommandSchema = zod_1.z.enum(Sound_const_1.SOUND_ACTION_COMMA
8
8
  exports.playSoundOptionsSchema = zod_1.z.object({
9
9
  soundName: sounds_1.soundNameSchema,
10
10
  durationMs: zod_1.z.union([zod_1.z.number(), zod_1.z.literal(Sound_const_1.PLAY_SOUND_DURATION.INFINITE)]).optional(),
11
- channel: zod_1.z.enum(Sound_const_1.SOUND_CHANNEL).optional(),
12
11
  });
@@ -887,7 +887,7 @@ export declare const powerUpCommandSchema: z.ZodIntersection<z.ZodUnion<readonly
887
887
  revision: z.ZodOptional<z.ZodNumber>;
888
888
  presentationRevision: z.ZodOptional<z.ZodNumber>;
889
889
  step: z.ZodLiteral<"TutorialCompleted">;
890
- hud: z.ZodOptional<z.ZodObject<{
890
+ hud: z.ZodObject<{
891
891
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
892
892
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
893
893
  current: z.ZodNullable<z.ZodNumber>;
@@ -913,7 +913,7 @@ export declare const powerUpCommandSchema: z.ZodIntersection<z.ZodUnion<readonly
913
913
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
914
914
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
915
915
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
916
- }, z.core.$strip>>;
916
+ }, z.core.$strip>;
917
917
  }, z.core.$strip>], "step">;
918
918
  }, z.core.$strip>, z.ZodObject<{
919
919
  module: z.ZodLiteral<"screen">;
@@ -979,18 +979,14 @@ export declare const powerUpCommandSchema: z.ZodIntersection<z.ZodUnion<readonly
979
979
  readonly SYSTEM_STARTED: "system_started.mp3";
980
980
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
981
981
  readonly WINNER_LAUGH: "winner_laugh.mp3";
982
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
982
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
983
983
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
984
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
984
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
985
985
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
986
986
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
987
987
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
988
988
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
989
989
  }>;
990
- channel: z.ZodOptional<z.ZodEnum<{
991
- readonly MAIN: "main";
992
- readonly EFFECT: "effect";
993
- }>>;
994
990
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
995
991
  }, z.core.$strip>;
996
992
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -1935,7 +1931,7 @@ export declare const powerUpSchema: z.ZodObject<{
1935
1931
  revision: z.ZodOptional<z.ZodNumber>;
1936
1932
  presentationRevision: z.ZodOptional<z.ZodNumber>;
1937
1933
  step: z.ZodLiteral<"TutorialCompleted">;
1938
- hud: z.ZodOptional<z.ZodObject<{
1934
+ hud: z.ZodObject<{
1939
1935
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1940
1936
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
1941
1937
  current: z.ZodNullable<z.ZodNumber>;
@@ -1961,7 +1957,7 @@ export declare const powerUpSchema: z.ZodObject<{
1961
1957
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
1962
1958
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
1963
1959
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1964
- }, z.core.$strip>>;
1960
+ }, z.core.$strip>;
1965
1961
  }, z.core.$strip>], "step">;
1966
1962
  }, z.core.$strip>, z.ZodObject<{
1967
1963
  module: z.ZodLiteral<"screen">;
@@ -2027,18 +2023,14 @@ export declare const powerUpSchema: z.ZodObject<{
2027
2023
  readonly SYSTEM_STARTED: "system_started.mp3";
2028
2024
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
2029
2025
  readonly WINNER_LAUGH: "winner_laugh.mp3";
2030
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
2026
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
2031
2027
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
2032
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
2028
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
2033
2029
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
2034
2030
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
2035
2031
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
2036
2032
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
2037
2033
  }>;
2038
- channel: z.ZodOptional<z.ZodEnum<{
2039
- readonly MAIN: "main";
2040
- readonly EFFECT: "effect";
2041
- }>>;
2042
2034
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
2043
2035
  }, z.core.$strip>;
2044
2036
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -2963,7 +2955,7 @@ export declare const powerUpSchema: z.ZodObject<{
2963
2955
  revision: z.ZodOptional<z.ZodNumber>;
2964
2956
  presentationRevision: z.ZodOptional<z.ZodNumber>;
2965
2957
  step: z.ZodLiteral<"TutorialCompleted">;
2966
- hud: z.ZodOptional<z.ZodObject<{
2958
+ hud: z.ZodObject<{
2967
2959
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
2968
2960
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
2969
2961
  current: z.ZodNullable<z.ZodNumber>;
@@ -2989,7 +2981,7 @@ export declare const powerUpSchema: z.ZodObject<{
2989
2981
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
2990
2982
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
2991
2983
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2992
- }, z.core.$strip>>;
2984
+ }, z.core.$strip>;
2993
2985
  }, z.core.$strip>], "step">;
2994
2986
  }, z.core.$strip>, z.ZodObject<{
2995
2987
  module: z.ZodLiteral<"screen">;
@@ -3055,18 +3047,14 @@ export declare const powerUpSchema: z.ZodObject<{
3055
3047
  readonly SYSTEM_STARTED: "system_started.mp3";
3056
3048
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
3057
3049
  readonly WINNER_LAUGH: "winner_laugh.mp3";
3058
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
3050
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
3059
3051
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
3060
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
3052
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
3061
3053
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
3062
3054
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
3063
3055
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
3064
3056
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
3065
3057
  }>;
3066
- channel: z.ZodOptional<z.ZodEnum<{
3067
- readonly MAIN: "main";
3068
- readonly EFFECT: "effect";
3069
- }>>;
3070
3058
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
3071
3059
  }, z.core.$strip>;
3072
3060
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -22,9 +22,9 @@ export declare const SOUND_NAME: {
22
22
  readonly SYSTEM_STARTED: "system_started.mp3";
23
23
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
24
24
  readonly WINNER_LAUGH: "winner_laugh.mp3";
25
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
25
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
26
26
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
27
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
27
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
28
28
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
29
29
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
30
30
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
@@ -25,9 +25,9 @@ exports.SOUND_NAME = {
25
25
  SYSTEM_STARTED: 'system_started.mp3',
26
26
  WARNING_ALERT_THIS_IS_NOT_A_TEST: 'warning_alert_this_is_not_a_test.mp3',
27
27
  WINNER_LAUGH: 'winner_laugh.mp3',
28
- TUTORIAL_COUNTDOWN: 'tutorial/3,2,1 GO.mp3',
28
+ TUTORIAL_COUNTDOWN: 'tutorial/3_2_1_go.mp3',
29
29
  TUTORIAL_WELCOME: 'tutorial/welcome_to_battle_racing.mp3',
30
- TUTORIAL_SECURE_BELONGINGS: 'tutorial/secure_belongins.mp3',
30
+ TUTORIAL_SECURE_BELONGINGS: 'tutorial/secure_belongings.mp3',
31
31
  TUTORIAL_BUCKLE_UP: 'tutorial/buckle_up.mp3',
32
32
  TUTORIAL_GAS_PEDAL: 'tutorial/gas_pedal.mp3',
33
33
  TUTORIAL_BUTTON_PRESS: 'tutorial/button_press.mp3',
@@ -23,9 +23,9 @@ export declare const soundNameSchema: z.ZodEnum<{
23
23
  readonly SYSTEM_STARTED: "system_started.mp3";
24
24
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
25
25
  readonly WINNER_LAUGH: "winner_laugh.mp3";
26
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
26
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
27
27
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
28
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
28
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
29
29
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
30
30
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
31
31
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const tutorialScreenStepSchema: z.ZodEnum<{
3
3
  Countdown: "Countdown";
4
- Welcome: "Welcome";
5
4
  PersonalItems: "PersonalItems";
6
5
  SeatBelt: "SeatBelt";
6
+ Welcome: "Welcome";
7
7
  Pedal: "Pedal";
8
8
  DriveToControls: "DriveToControls";
9
9
  WheelControls0Of2: "WheelControls0Of2";
@@ -73,9 +73,9 @@ export declare const tutorialKartSnapshotSchema: z.ZodObject<{
73
73
  }>;
74
74
  currentStep: z.ZodEnum<{
75
75
  Countdown: "Countdown";
76
- Welcome: "Welcome";
77
76
  PersonalItems: "PersonalItems";
78
77
  SeatBelt: "SeatBelt";
78
+ Welcome: "Welcome";
79
79
  Pedal: "Pedal";
80
80
  DriveToControls: "DriveToControls";
81
81
  WheelControls0Of2: "WheelControls0Of2";
@@ -190,9 +190,9 @@ export declare const tutorialParticipantSchema: z.ZodObject<{
190
190
  }>;
191
191
  currentStep: z.ZodEnum<{
192
192
  Countdown: "Countdown";
193
- Welcome: "Welcome";
194
193
  PersonalItems: "PersonalItems";
195
194
  SeatBelt: "SeatBelt";
195
+ Welcome: "Welcome";
196
196
  Pedal: "Pedal";
197
197
  DriveToControls: "DriveToControls";
198
198
  WheelControls0Of2: "WheelControls0Of2";
@@ -260,9 +260,9 @@ export declare const tutorialSessionSchema: z.ZodObject<{
260
260
  }>;
261
261
  currentStep: z.ZodEnum<{
262
262
  Countdown: "Countdown";
263
- Welcome: "Welcome";
264
263
  PersonalItems: "PersonalItems";
265
264
  SeatBelt: "SeatBelt";
265
+ Welcome: "Welcome";
266
266
  Pedal: "Pedal";
267
267
  DriveToControls: "DriveToControls";
268
268
  WheelControls0Of2: "WheelControls0Of2";
@@ -331,6 +331,3 @@ export declare const startBattleTutorialSchema: z.ZodObject<{
331
331
  speedConfig: z.ZodOptional<z.ZodNumber>;
332
332
  }, z.core.$strip>>;
333
333
  }, z.core.$strip>;
334
- export declare const skipTutorialKartSchema: z.ZodObject<{
335
- tutorialSessionId: z.ZodString;
336
- }, z.core.$strip>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.skipTutorialKartSchema = exports.startBattleTutorialSchema = exports.startRaceTutorialSchema = exports.tutorialSessionSchema = exports.tutorialParticipantSchema = exports.tutorialConfigurationSchema = exports.tutorialInputSignalSchema = exports.tutorialSteeringWheelButtonPressedSchema = exports.tutorialKartEventBaseSchema = exports.tutorialInputSignalTypeSchema = exports.tutorialKartSnapshotSchema = exports.tutorialCheckpointTargetSchema = exports.tutorialInputButtonSchema = exports.tutorialSteeringWheelButtonSchema = exports.tutorialListenEventOnSchema = exports.tutorialPhaseIdSchema = exports.tutorialStatusSchema = exports.tutorialScreenStepSchema = void 0;
3
+ exports.startBattleTutorialSchema = exports.startRaceTutorialSchema = exports.tutorialSessionSchema = exports.tutorialParticipantSchema = exports.tutorialConfigurationSchema = exports.tutorialInputSignalSchema = exports.tutorialSteeringWheelButtonPressedSchema = exports.tutorialKartEventBaseSchema = exports.tutorialInputSignalTypeSchema = exports.tutorialKartSnapshotSchema = exports.tutorialCheckpointTargetSchema = exports.tutorialInputButtonSchema = exports.tutorialSteeringWheelButtonSchema = exports.tutorialListenEventOnSchema = exports.tutorialPhaseIdSchema = exports.tutorialStatusSchema = exports.tutorialScreenStepSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const Battle_schema_1 = require("../game/battle/Battle.schema");
6
6
  const Game_schema_1 = require("../game/Game.schema");
@@ -138,6 +138,3 @@ const startTutorialOptionsSchema = zod_1.z.object({
138
138
  });
139
139
  exports.startRaceTutorialSchema = Race_schema_1.startRaceSchema.extend(startTutorialOptionsSchema.shape);
140
140
  exports.startBattleTutorialSchema = Battle_schema_1.startBattleSchema.extend(startTutorialOptionsSchema.shape);
141
- exports.skipTutorialKartSchema = zod_1.z.object({
142
- tutorialSessionId: zod_1.z.string().min(1),
143
- });
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { tutorialInputSignalSchema, tutorialInputSignalTypeSchema, tutorialKartSnapshotSchema, tutorialListenEventOnSchema, tutorialCheckpointTargetSchema, tutorialPhaseIdSchema, tutorialScreenStepSchema, tutorialStatusSchema, tutorialSteeringWheelButtonPressedSchema, tutorialSteeringWheelButtonSchema, tutorialInputButtonSchema, tutorialConfigurationSchema, tutorialParticipantSchema, tutorialSessionSchema, startRaceTutorialSchema, startBattleTutorialSchema, skipTutorialKartSchema } from './Tutorial.schema';
2
+ import { tutorialInputSignalSchema, tutorialInputSignalTypeSchema, tutorialKartSnapshotSchema, tutorialListenEventOnSchema, tutorialCheckpointTargetSchema, tutorialPhaseIdSchema, tutorialScreenStepSchema, tutorialStatusSchema, tutorialSteeringWheelButtonPressedSchema, tutorialSteeringWheelButtonSchema, tutorialInputButtonSchema, tutorialConfigurationSchema, tutorialParticipantSchema, tutorialSessionSchema, startRaceTutorialSchema, startBattleTutorialSchema } from './Tutorial.schema';
3
3
  export type TutorialScreenStep = z.infer<typeof tutorialScreenStepSchema>;
4
4
  export type TutorialStatus = z.infer<typeof tutorialStatusSchema>;
5
5
  export type TutorialPhaseId = z.infer<typeof tutorialPhaseIdSchema>;
@@ -16,4 +16,3 @@ export type TutorialParticipant = z.infer<typeof tutorialParticipantSchema>;
16
16
  export type TutorialSession = z.infer<typeof tutorialSessionSchema>;
17
17
  export type StartRaceTutorial = z.infer<typeof startRaceTutorialSchema>;
18
18
  export type StartBattleTutorial = z.infer<typeof startBattleTutorialSchema>;
19
- export type SkipTutorialKart = z.infer<typeof skipTutorialKartSchema>;
@@ -50,9 +50,9 @@ export declare const tutorialStepConfigSchema: z.ZodObject<{
50
50
  name: z.ZodString;
51
51
  screenStep: z.ZodEnum<{
52
52
  Countdown: "Countdown";
53
- Welcome: "Welcome";
54
53
  PersonalItems: "PersonalItems";
55
54
  SeatBelt: "SeatBelt";
55
+ Welcome: "Welcome";
56
56
  Pedal: "Pedal";
57
57
  DriveToControls: "DriveToControls";
58
58
  WheelControls0Of2: "WheelControls0Of2";
@@ -978,7 +978,7 @@ export declare const tutorialStepConfigSchema: z.ZodObject<{
978
978
  revision: z.ZodOptional<z.ZodNumber>;
979
979
  presentationRevision: z.ZodOptional<z.ZodNumber>;
980
980
  step: z.ZodLiteral<"TutorialCompleted">;
981
- hud: z.ZodOptional<z.ZodObject<{
981
+ hud: z.ZodObject<{
982
982
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
983
983
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
984
984
  current: z.ZodNullable<z.ZodNumber>;
@@ -1004,7 +1004,7 @@ export declare const tutorialStepConfigSchema: z.ZodObject<{
1004
1004
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
1005
1005
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
1006
1006
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1007
- }, z.core.$strip>>;
1007
+ }, z.core.$strip>;
1008
1008
  }, z.core.$strip>], "step">;
1009
1009
  }, z.core.$strip>, z.ZodObject<{
1010
1010
  module: z.ZodLiteral<"screen">;
@@ -1070,18 +1070,14 @@ export declare const tutorialStepConfigSchema: z.ZodObject<{
1070
1070
  readonly SYSTEM_STARTED: "system_started.mp3";
1071
1071
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
1072
1072
  readonly WINNER_LAUGH: "winner_laugh.mp3";
1073
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
1073
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
1074
1074
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
1075
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
1075
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
1076
1076
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
1077
1077
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
1078
1078
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
1079
1079
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
1080
1080
  }>;
1081
- channel: z.ZodOptional<z.ZodEnum<{
1082
- readonly MAIN: "main";
1083
- readonly EFFECT: "effect";
1084
- }>>;
1085
1081
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
1086
1082
  }, z.core.$strip>;
1087
1083
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -1129,54 +1125,15 @@ export declare const tutorialPhaseConfigSchema: z.ZodObject<{
1129
1125
  }>;
1130
1126
  name: z.ZodString;
1131
1127
  index: z.ZodNumber;
1132
- inputFeedbackSound: z.ZodOptional<z.ZodObject<{
1133
- soundName: z.ZodEnum<{
1134
- readonly BATTLE_GOD_ACTIVATION: "battle_god_activation.mp3";
1135
- readonly BATTLE_LASER_ACTIVATION: "battle_laser_activation.mp3";
1136
- readonly BATTLE_LASER_DAMAGE: "battle_laser_damage.mp3";
1137
- readonly BATTLE_PULSE_ACTIVATION: "battle_pulse_activation.mp3";
1138
- readonly BATTLE_PULSE_DAMAGE: "battle_pulse_damage.mp3";
1139
- readonly BATTLE_SHIELD_ACTIVATION: "battle_shield_activation.mp3";
1140
- readonly BATTLE_SHOT_ACTIVATION: "battle_shot_activation.mp3";
1141
- readonly BATTLE_SHOT_DAMAGE: "battle_shot_damage.mp3";
1142
- readonly BATTLE_STAR_DAMAGE: "battle_star_damage.mp3";
1143
- readonly BATTLE_TRAP_ACTIVATION: "battle_trap_activation.mp3";
1144
- readonly BATTLE_TRAP_DAMAGE: "battle_trap_damage.mp3";
1145
- readonly BATTLE_TURBO_ACTIVATION: "battle_turbo_activation.mp3";
1146
- readonly COUNTDOWN_3_2_1: "countdown_3_2_1.mp3";
1147
- readonly EMERGENCY_ALERT: "emergency_alert.mp3";
1148
- readonly ENGINE_START: "engine_start.mp3";
1149
- readonly FINAL_LAP_MARIO_KART: "final_lap_mario_kart.mp3";
1150
- readonly KART_SKIDING: "kart_skiding.mp3";
1151
- readonly PICK_COIN_X2: "pick_coin_x2.mp3";
1152
- readonly POWER_UP_SELECTION: "power_up_selection.mp3";
1153
- readonly SAD_TRUMPET_LOSER: "sad_trumpet_loser.mp3";
1154
- readonly SYSTEM_STARTED: "system_started.mp3";
1155
- readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
1156
- readonly WINNER_LAUGH: "winner_laugh.mp3";
1157
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
1158
- readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
1159
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
1160
- readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
1161
- readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
1162
- readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
1163
- readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
1164
- }>;
1165
- durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>>;
1166
- channel: z.ZodOptional<z.ZodEnum<{
1167
- readonly MAIN: "main";
1168
- readonly EFFECT: "effect";
1169
- }>>;
1170
- }, z.core.$strip>>;
1171
1128
  steps: z.ZodArray<z.ZodObject<{
1172
1129
  id: z.ZodString;
1173
1130
  index: z.ZodNumber;
1174
1131
  name: z.ZodString;
1175
1132
  screenStep: z.ZodEnum<{
1176
1133
  Countdown: "Countdown";
1177
- Welcome: "Welcome";
1178
1134
  PersonalItems: "PersonalItems";
1179
1135
  SeatBelt: "SeatBelt";
1136
+ Welcome: "Welcome";
1180
1137
  Pedal: "Pedal";
1181
1138
  DriveToControls: "DriveToControls";
1182
1139
  WheelControls0Of2: "WheelControls0Of2";
@@ -2102,7 +2059,7 @@ export declare const tutorialPhaseConfigSchema: z.ZodObject<{
2102
2059
  revision: z.ZodOptional<z.ZodNumber>;
2103
2060
  presentationRevision: z.ZodOptional<z.ZodNumber>;
2104
2061
  step: z.ZodLiteral<"TutorialCompleted">;
2105
- hud: z.ZodOptional<z.ZodObject<{
2062
+ hud: z.ZodObject<{
2106
2063
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
2107
2064
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
2108
2065
  current: z.ZodNullable<z.ZodNumber>;
@@ -2128,7 +2085,7 @@ export declare const tutorialPhaseConfigSchema: z.ZodObject<{
2128
2085
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
2129
2086
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
2130
2087
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2131
- }, z.core.$strip>>;
2088
+ }, z.core.$strip>;
2132
2089
  }, z.core.$strip>], "step">;
2133
2090
  }, z.core.$strip>, z.ZodObject<{
2134
2091
  module: z.ZodLiteral<"screen">;
@@ -2194,18 +2151,14 @@ export declare const tutorialPhaseConfigSchema: z.ZodObject<{
2194
2151
  readonly SYSTEM_STARTED: "system_started.mp3";
2195
2152
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
2196
2153
  readonly WINNER_LAUGH: "winner_laugh.mp3";
2197
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
2154
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
2198
2155
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
2199
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
2156
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
2200
2157
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
2201
2158
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
2202
2159
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
2203
2160
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
2204
2161
  }>;
2205
- channel: z.ZodOptional<z.ZodEnum<{
2206
- readonly MAIN: "main";
2207
- readonly EFFECT: "effect";
2208
- }>>;
2209
2162
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
2210
2163
  }, z.core.$strip>;
2211
2164
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -2257,54 +2210,15 @@ export declare const tutorialMasterConfigSchema: z.ZodObject<{
2257
2210
  }>;
2258
2211
  name: z.ZodString;
2259
2212
  index: z.ZodNumber;
2260
- inputFeedbackSound: z.ZodOptional<z.ZodObject<{
2261
- soundName: z.ZodEnum<{
2262
- readonly BATTLE_GOD_ACTIVATION: "battle_god_activation.mp3";
2263
- readonly BATTLE_LASER_ACTIVATION: "battle_laser_activation.mp3";
2264
- readonly BATTLE_LASER_DAMAGE: "battle_laser_damage.mp3";
2265
- readonly BATTLE_PULSE_ACTIVATION: "battle_pulse_activation.mp3";
2266
- readonly BATTLE_PULSE_DAMAGE: "battle_pulse_damage.mp3";
2267
- readonly BATTLE_SHIELD_ACTIVATION: "battle_shield_activation.mp3";
2268
- readonly BATTLE_SHOT_ACTIVATION: "battle_shot_activation.mp3";
2269
- readonly BATTLE_SHOT_DAMAGE: "battle_shot_damage.mp3";
2270
- readonly BATTLE_STAR_DAMAGE: "battle_star_damage.mp3";
2271
- readonly BATTLE_TRAP_ACTIVATION: "battle_trap_activation.mp3";
2272
- readonly BATTLE_TRAP_DAMAGE: "battle_trap_damage.mp3";
2273
- readonly BATTLE_TURBO_ACTIVATION: "battle_turbo_activation.mp3";
2274
- readonly COUNTDOWN_3_2_1: "countdown_3_2_1.mp3";
2275
- readonly EMERGENCY_ALERT: "emergency_alert.mp3";
2276
- readonly ENGINE_START: "engine_start.mp3";
2277
- readonly FINAL_LAP_MARIO_KART: "final_lap_mario_kart.mp3";
2278
- readonly KART_SKIDING: "kart_skiding.mp3";
2279
- readonly PICK_COIN_X2: "pick_coin_x2.mp3";
2280
- readonly POWER_UP_SELECTION: "power_up_selection.mp3";
2281
- readonly SAD_TRUMPET_LOSER: "sad_trumpet_loser.mp3";
2282
- readonly SYSTEM_STARTED: "system_started.mp3";
2283
- readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
2284
- readonly WINNER_LAUGH: "winner_laugh.mp3";
2285
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
2286
- readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
2287
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
2288
- readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
2289
- readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
2290
- readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
2291
- readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
2292
- }>;
2293
- durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>>;
2294
- channel: z.ZodOptional<z.ZodEnum<{
2295
- readonly MAIN: "main";
2296
- readonly EFFECT: "effect";
2297
- }>>;
2298
- }, z.core.$strip>>;
2299
2213
  steps: z.ZodArray<z.ZodObject<{
2300
2214
  id: z.ZodString;
2301
2215
  index: z.ZodNumber;
2302
2216
  name: z.ZodString;
2303
2217
  screenStep: z.ZodEnum<{
2304
2218
  Countdown: "Countdown";
2305
- Welcome: "Welcome";
2306
2219
  PersonalItems: "PersonalItems";
2307
2220
  SeatBelt: "SeatBelt";
2221
+ Welcome: "Welcome";
2308
2222
  Pedal: "Pedal";
2309
2223
  DriveToControls: "DriveToControls";
2310
2224
  WheelControls0Of2: "WheelControls0Of2";
@@ -3230,7 +3144,7 @@ export declare const tutorialMasterConfigSchema: z.ZodObject<{
3230
3144
  revision: z.ZodOptional<z.ZodNumber>;
3231
3145
  presentationRevision: z.ZodOptional<z.ZodNumber>;
3232
3146
  step: z.ZodLiteral<"TutorialCompleted">;
3233
- hud: z.ZodOptional<z.ZodObject<{
3147
+ hud: z.ZodObject<{
3234
3148
  coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
3235
3149
  position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
3236
3150
  current: z.ZodNullable<z.ZodNumber>;
@@ -3256,7 +3170,7 @@ export declare const tutorialMasterConfigSchema: z.ZodObject<{
3256
3170
  readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
3257
3171
  }>, z.ZodLiteral<"Clear PowerUp">]>>>;
3258
3172
  powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3259
- }, z.core.$strip>>;
3173
+ }, z.core.$strip>;
3260
3174
  }, z.core.$strip>], "step">;
3261
3175
  }, z.core.$strip>, z.ZodObject<{
3262
3176
  module: z.ZodLiteral<"screen">;
@@ -3322,18 +3236,14 @@ export declare const tutorialMasterConfigSchema: z.ZodObject<{
3322
3236
  readonly SYSTEM_STARTED: "system_started.mp3";
3323
3237
  readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
3324
3238
  readonly WINNER_LAUGH: "winner_laugh.mp3";
3325
- readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
3239
+ readonly TUTORIAL_COUNTDOWN: "tutorial/3_2_1_go.mp3";
3326
3240
  readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
3327
- readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
3241
+ readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongings.mp3";
3328
3242
  readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
3329
3243
  readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
3330
3244
  readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
3331
3245
  readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
3332
3246
  }>;
3333
- channel: z.ZodOptional<z.ZodEnum<{
3334
- readonly MAIN: "main";
3335
- readonly EFFECT: "effect";
3336
- }>>;
3337
3247
  durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
3338
3248
  }, z.core.$strip>;
3339
3249
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tutorialMasterConfigSchema = exports.tutorialPhaseConfigSchema = exports.tutorialStepConfigSchema = exports.tutorialListenEventSchema = exports.tutorialCheckpointListenEventSchema = exports.tutorialWheelButtonListenEventSchema = exports.tutorialOperatorListenEventSchema = exports.tutorialTimeoutListenEventSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const Command_schema_1 = require("../command/Command.schema");
6
- const sound_1 = require("../hardware/sound");
7
6
  const Tutorial_const_1 = require("./Tutorial.const");
8
7
  const Tutorial_schema_1 = require("./Tutorial.schema");
9
8
  exports.tutorialTimeoutListenEventSchema = zod_1.z.object({
@@ -40,7 +39,6 @@ exports.tutorialPhaseConfigSchema = zod_1.z.object({
40
39
  id: Tutorial_schema_1.tutorialPhaseIdSchema,
41
40
  name: zod_1.z.string().min(1),
42
41
  index: zod_1.z.number().int().nonnegative(),
43
- inputFeedbackSound: sound_1.playSoundOptionsSchema.optional(),
44
42
  steps: zod_1.z.array(exports.tutorialStepConfigSchema).min(1),
45
43
  });
46
44
  exports.tutorialMasterConfigSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battle-racing/br-common-lib",
3
- "version": "6.2.1-rc.2",
3
+ "version": "6.2.1-rc.4",
4
4
  "description": "Common library for all Battle Racing Repositorios",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -2,7 +2,6 @@ import {
2
2
  AllCommandsConfig,
3
3
  PLAY_SOUND_DURATION,
4
4
  POWER_UP_NAME,
5
- SOUND_CHANNEL,
6
5
  SOUND_NAME,
7
6
  ScreenTutorialHud,
8
7
  TUTORIAL_LISTEN_EVENT_ON,
@@ -37,6 +36,16 @@ const stopKartCommands: AllCommandsConfig[] = [
37
36
  { module: 'speed', action: 'deactivate' },
38
37
  ];
39
38
 
39
+ const buttonFeedbackCommands: AllCommandsConfig[] = [
40
+ {
41
+ module: 'sound',
42
+ action: 'play',
43
+ params: {
44
+ soundName: SOUND_NAME.TUTORIAL_BUTTON_PRESS,
45
+ },
46
+ },
47
+ ];
48
+
40
49
  // The step fires the nitro, after it ends the speed module goes back to its default speed
41
50
  const returnToFinishCommands: AllCommandsConfig[] = [
42
51
  {
@@ -218,10 +227,6 @@ export const allTutorialConfig: TutorialMasterConfig = {
218
227
  id: TUTORIAL_PHASE_ID.CONTROLS_AND_HUD,
219
228
  name: 'Controls and HUD',
220
229
  index: 1,
221
- inputFeedbackSound: {
222
- soundName: SOUND_NAME.TUTORIAL_BUTTON_PRESS,
223
- channel: SOUND_CHANNEL.EFFECT,
224
- },
225
230
  steps: [
226
231
  {
227
232
  id: 'step_wheel_0_of_2',
@@ -254,6 +259,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
254
259
  },
255
260
  triggerCommands: [
256
261
  ...stopKartCommands,
262
+ ...buttonFeedbackCommands,
257
263
  {
258
264
  module: 'screen',
259
265
  action: 'showTutorialView',
@@ -274,6 +280,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
274
280
  },
275
281
  triggerCommands: [
276
282
  ...stopKartCommands,
283
+ ...buttonFeedbackCommands,
277
284
  {
278
285
  module: 'screen',
279
286
  action: 'showTutorialView',
@@ -336,6 +343,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
336
343
  },
337
344
  triggerCommands: [
338
345
  ...stopKartCommands,
346
+ ...buttonFeedbackCommands,
339
347
  {
340
348
  module: 'screen',
341
349
  action: 'showTutorialView',
@@ -357,6 +365,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
357
365
  },
358
366
  triggerCommands: [
359
367
  ...stopKartCommands,
368
+ ...buttonFeedbackCommands,
360
369
  {
361
370
  module: 'screen',
362
371
  action: 'showTutorialView',
@@ -378,6 +387,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
378
387
  },
379
388
  triggerCommands: [
380
389
  ...stopKartCommands,
390
+ ...buttonFeedbackCommands,
381
391
  {
382
392
  module: 'screen',
383
393
  action: 'showTutorialView',
@@ -406,6 +416,7 @@ export const allTutorialConfig: TutorialMasterConfig = {
406
416
  },
407
417
  triggerCommands: [
408
418
  ...startDrivingCommands,
419
+ ...buttonFeedbackCommands,
409
420
  {
410
421
  module: 'screen',
411
422
  action: 'showTutorialView',
@@ -16,3 +16,13 @@ export const SCREEN_VIEW = {
16
16
  BATTLE: 'Battle',
17
17
  DEBUG: 'Debug',
18
18
  } as const;
19
+
20
+ export const SCREEN_STANDBY_SAFETY_CAROUSEL = {
21
+ SLIDE_DURATION_MS: 4000,
22
+ SLIDES: {
23
+ HOME: 'Home',
24
+ PERSONAL_ITEMS: 'PersonalItems',
25
+ SEAT_BELT: 'SeatBelt',
26
+ },
27
+ } as const;
28
+
@@ -60,7 +60,5 @@ export const screenTutorialViewInputSchema = z.discriminatedUnion('step', [
60
60
  createHudTutorialStepSchema(TUTORIAL_SCREEN_STEP.POWER_UP_NITRO_READY),
61
61
  createHudTutorialStepSchema(TUTORIAL_SCREEN_STEP.POWER_UP_RETURN_TO_HUD),
62
62
 
63
- createStaticTutorialStepSchema(TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED).extend({
64
- hud: screenTutorialHudSchema.optional(),
65
- }),
63
+ createHudTutorialStepSchema(TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED),
66
64
  ]);
@@ -2,11 +2,6 @@ export const PLAY_SOUND_DURATION = {
2
2
  INFINITE: 'infinite',
3
3
  } as const;
4
4
 
5
- export const SOUND_CHANNEL = {
6
- MAIN: 'main',
7
- EFFECT: 'effect',
8
- } as const;
9
-
10
5
  export const SOUND_ACTION_COMMAND = {
11
6
  PLAY: 'Play',
12
7
  } as const;
@@ -1,11 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { soundNameSchema } from '../../sounds'; // Import from domains/sounds
3
- import { PLAY_SOUND_DURATION, SOUND_ACTION_COMMAND, SOUND_CHANNEL } from './Sound.const';
3
+ import { PLAY_SOUND_DURATION, SOUND_ACTION_COMMAND } from './Sound.const';
4
4
 
5
5
  export const soundActionCommandSchema = z.enum(SOUND_ACTION_COMMAND);
6
6
 
7
7
  export const playSoundOptionsSchema = z.object({
8
8
  soundName: soundNameSchema,
9
9
  durationMs: z.union([z.number(), z.literal(PLAY_SOUND_DURATION.INFINITE)]).optional(),
10
- channel: z.enum(SOUND_CHANNEL).optional(),
11
10
  });
@@ -22,9 +22,9 @@ export const SOUND_NAME = {
22
22
  SYSTEM_STARTED: 'system_started.mp3',
23
23
  WARNING_ALERT_THIS_IS_NOT_A_TEST: 'warning_alert_this_is_not_a_test.mp3',
24
24
  WINNER_LAUGH: 'winner_laugh.mp3',
25
- TUTORIAL_COUNTDOWN: 'tutorial/3,2,1 GO.mp3',
25
+ TUTORIAL_COUNTDOWN: 'tutorial/3_2_1_go.mp3',
26
26
  TUTORIAL_WELCOME: 'tutorial/welcome_to_battle_racing.mp3',
27
- TUTORIAL_SECURE_BELONGINGS: 'tutorial/secure_belongins.mp3',
27
+ TUTORIAL_SECURE_BELONGINGS: 'tutorial/secure_belongings.mp3',
28
28
  TUTORIAL_BUCKLE_UP: 'tutorial/buckle_up.mp3',
29
29
  TUTORIAL_GAS_PEDAL: 'tutorial/gas_pedal.mp3',
30
30
  TUTORIAL_BUTTON_PRESS: 'tutorial/button_press.mp3',
@@ -161,7 +161,3 @@ const startTutorialOptionsSchema = z.object({
161
161
  export const startRaceTutorialSchema = startRaceSchema.extend(startTutorialOptionsSchema.shape);
162
162
 
163
163
  export const startBattleTutorialSchema = startBattleSchema.extend(startTutorialOptionsSchema.shape);
164
-
165
- export const skipTutorialKartSchema = z.object({
166
- tutorialSessionId: z.string().min(1),
167
- });
@@ -16,7 +16,6 @@ import {
16
16
  tutorialSessionSchema,
17
17
  startRaceTutorialSchema,
18
18
  startBattleTutorialSchema,
19
- skipTutorialKartSchema,
20
19
  } from './Tutorial.schema';
21
20
 
22
21
  export type TutorialScreenStep = z.infer<typeof tutorialScreenStepSchema>;
@@ -35,4 +34,3 @@ export type TutorialParticipant = z.infer<typeof tutorialParticipantSchema>;
35
34
  export type TutorialSession = z.infer<typeof tutorialSessionSchema>;
36
35
  export type StartRaceTutorial = z.infer<typeof startRaceTutorialSchema>;
37
36
  export type StartBattleTutorial = z.infer<typeof startBattleTutorialSchema>;
38
- export type SkipTutorialKart = z.infer<typeof skipTutorialKartSchema>;
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { allCommandsConfigSchema } from '../command/Command.schema';
3
- import { playSoundOptionsSchema } from '../hardware/sound';
4
3
  import { TUTORIAL_LISTEN_EVENT_ON } from './Tutorial.const';
5
4
  import {
6
5
  tutorialCheckpointTargetSchema,
@@ -49,7 +48,6 @@ export const tutorialPhaseConfigSchema = z.object({
49
48
  id: tutorialPhaseIdSchema,
50
49
  name: z.string().min(1),
51
50
  index: z.number().int().nonnegative(),
52
- inputFeedbackSound: playSoundOptionsSchema.optional(),
53
51
  steps: z.array(tutorialStepConfigSchema).min(1),
54
52
  });
55
53