@battle-racing/br-common-lib 6.2.1-rc.1 → 6.2.1-rc.2
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.
- package/dist/data/all-tutorial-steps.js +44 -4
- package/dist/domains/command/Command.schema.d.ts +84 -3
- package/dist/domains/command/Command.schema.js +1 -1
- package/dist/domains/damage/Damage.schema.d.ts +5 -0
- package/dist/domains/flow/Flow.schema.d.ts +37 -1
- package/dist/domains/hardware/screen/ScreenTutorial.schema.d.ts +27 -0
- package/dist/domains/hardware/screen/ScreenTutorial.schema.js +3 -1
- package/dist/domains/hardware/sound/Sound.const.d.ts +4 -0
- package/dist/domains/hardware/sound/Sound.const.js +5 -1
- package/dist/domains/hardware/sound/Sound.schema.d.ts +9 -0
- package/dist/domains/hardware/sound/Sound.schema.js +1 -0
- package/dist/domains/powerUp/PowerUp.schema.d.ts +111 -3
- package/dist/domains/sounds/Sounds.const.d.ts +5 -0
- package/dist/domains/sounds/Sounds.const.js +5 -0
- package/dist/domains/sounds/Sounds.schema.d.ts +5 -0
- package/dist/domains/tutorial/Tutorial.const.d.ts +1 -0
- package/dist/domains/tutorial/Tutorial.const.js +1 -0
- package/dist/domains/tutorial/Tutorial.schema.d.ts +10 -0
- package/dist/domains/tutorial/Tutorial.schema.js +9 -2
- package/dist/domains/tutorial/Tutorial.types.d.ts +2 -1
- package/dist/domains/tutorial/TutorialConfig.schema.d.ts +200 -3
- package/dist/domains/tutorial/TutorialConfig.schema.js +7 -1
- package/package.json +1 -1
- package/src/data/all-tutorial-steps.ts +46 -4
- package/src/domains/command/Command.schema.ts +1 -1
- package/src/domains/hardware/screen/ScreenTutorial.schema.ts +3 -1
- package/src/domains/hardware/sound/Sound.const.ts +5 -0
- package/src/domains/hardware/sound/Sound.schema.ts +2 -1
- package/src/domains/sounds/Sounds.const.ts +5 -0
- package/src/domains/tutorial/Tutorial.const.ts +1 -0
- package/src/domains/tutorial/Tutorial.schema.ts +9 -1
- package/src/domains/tutorial/Tutorial.types.ts +2 -0
- package/src/domains/tutorial/TutorialConfig.schema.ts +7 -0
|
@@ -58,6 +58,13 @@ exports.allTutorialConfig = {
|
|
|
58
58
|
step: domains_1.TUTORIAL_SCREEN_STEP.COUNTDOWN,
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
|
+
{
|
|
62
|
+
module: 'sound',
|
|
63
|
+
action: 'play',
|
|
64
|
+
params: {
|
|
65
|
+
soundName: domains_1.SOUND_NAME.TUTORIAL_COUNTDOWN,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
61
68
|
],
|
|
62
69
|
},
|
|
63
70
|
{
|
|
@@ -67,7 +74,7 @@ exports.allTutorialConfig = {
|
|
|
67
74
|
screenStep: domains_1.TUTORIAL_SCREEN_STEP.WELCOME,
|
|
68
75
|
listenEvent: {
|
|
69
76
|
on: domains_1.TUTORIAL_LISTEN_EVENT_ON.TIMEOUT,
|
|
70
|
-
durationMs:
|
|
77
|
+
durationMs: 5000,
|
|
71
78
|
},
|
|
72
79
|
triggerCommands: [
|
|
73
80
|
...stopKartCommands,
|
|
@@ -94,7 +101,7 @@ exports.allTutorialConfig = {
|
|
|
94
101
|
screenStep: domains_1.TUTORIAL_SCREEN_STEP.PERSONAL_ITEMS,
|
|
95
102
|
listenEvent: {
|
|
96
103
|
on: domains_1.TUTORIAL_LISTEN_EVENT_ON.TIMEOUT,
|
|
97
|
-
durationMs:
|
|
104
|
+
durationMs: 5000,
|
|
98
105
|
},
|
|
99
106
|
triggerCommands: [
|
|
100
107
|
...stopKartCommands,
|
|
@@ -105,6 +112,13 @@ exports.allTutorialConfig = {
|
|
|
105
112
|
step: domains_1.TUTORIAL_SCREEN_STEP.PERSONAL_ITEMS,
|
|
106
113
|
},
|
|
107
114
|
},
|
|
115
|
+
{
|
|
116
|
+
module: 'sound',
|
|
117
|
+
action: 'play',
|
|
118
|
+
params: {
|
|
119
|
+
soundName: domains_1.SOUND_NAME.TUTORIAL_SECURE_BELONGINGS,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
108
122
|
],
|
|
109
123
|
},
|
|
110
124
|
{
|
|
@@ -125,6 +139,13 @@ exports.allTutorialConfig = {
|
|
|
125
139
|
step: domains_1.TUTORIAL_SCREEN_STEP.SEAT_BELT,
|
|
126
140
|
},
|
|
127
141
|
},
|
|
142
|
+
{
|
|
143
|
+
module: 'sound',
|
|
144
|
+
action: 'play',
|
|
145
|
+
params: {
|
|
146
|
+
soundName: domains_1.SOUND_NAME.TUTORIAL_BUCKLE_UP,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
128
149
|
],
|
|
129
150
|
},
|
|
130
151
|
{
|
|
@@ -181,6 +202,10 @@ exports.allTutorialConfig = {
|
|
|
181
202
|
id: domains_1.TUTORIAL_PHASE_ID.CONTROLS_AND_HUD,
|
|
182
203
|
name: 'Controls and HUD',
|
|
183
204
|
index: 1,
|
|
205
|
+
inputFeedbackSound: {
|
|
206
|
+
soundName: domains_1.SOUND_NAME.TUTORIAL_BUTTON_PRESS,
|
|
207
|
+
channel: domains_1.SOUND_CHANNEL.EFFECT,
|
|
208
|
+
},
|
|
184
209
|
steps: [
|
|
185
210
|
{
|
|
186
211
|
id: 'step_wheel_0_of_2',
|
|
@@ -415,6 +440,13 @@ exports.allTutorialConfig = {
|
|
|
415
440
|
hud: defaultTutorialHud,
|
|
416
441
|
},
|
|
417
442
|
},
|
|
443
|
+
{
|
|
444
|
+
module: 'sound',
|
|
445
|
+
action: 'play',
|
|
446
|
+
params: {
|
|
447
|
+
soundName: domains_1.SOUND_NAME.POWER_UP_SELECTION,
|
|
448
|
+
},
|
|
449
|
+
},
|
|
418
450
|
],
|
|
419
451
|
},
|
|
420
452
|
{
|
|
@@ -452,8 +484,7 @@ exports.allTutorialConfig = {
|
|
|
452
484
|
name: 'Tutorial Completed Screen',
|
|
453
485
|
screenStep: domains_1.TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED,
|
|
454
486
|
listenEvent: {
|
|
455
|
-
on: domains_1.TUTORIAL_LISTEN_EVENT_ON.
|
|
456
|
-
durationMs: 5000,
|
|
487
|
+
on: domains_1.TUTORIAL_LISTEN_EVENT_ON.OPERATOR,
|
|
457
488
|
},
|
|
458
489
|
triggerCommands: [
|
|
459
490
|
...stopKartCommands,
|
|
@@ -462,6 +493,15 @@ exports.allTutorialConfig = {
|
|
|
462
493
|
action: 'showTutorialView',
|
|
463
494
|
params: {
|
|
464
495
|
step: domains_1.TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED,
|
|
496
|
+
hud: defaultTutorialHud,
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
module: 'sound',
|
|
501
|
+
action: 'play',
|
|
502
|
+
params: {
|
|
503
|
+
soundName: domains_1.SOUND_NAME.TUTORIAL_FINAL,
|
|
504
|
+
durationMs: domains_1.PLAY_SOUND_DURATION.INFINITE,
|
|
465
505
|
},
|
|
466
506
|
},
|
|
467
507
|
],
|
|
@@ -53,10 +53,19 @@ 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
57
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
58
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
59
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
57
60
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
61
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
62
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
58
63
|
}>;
|
|
59
|
-
|
|
64
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
readonly MAIN: "main";
|
|
66
|
+
readonly EFFECT: "effect";
|
|
67
|
+
}>>;
|
|
68
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
60
69
|
}, z.core.$strip>;
|
|
61
70
|
export declare const soundModuleCommandSchema: z.ZodObject<{
|
|
62
71
|
module: z.ZodLiteral<"sound">;
|
|
@@ -86,10 +95,19 @@ export declare const soundModuleCommandSchema: z.ZodObject<{
|
|
|
86
95
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
87
96
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
88
97
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
98
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
89
99
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
100
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
101
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
90
102
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
103
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
104
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
91
105
|
}>;
|
|
92
|
-
|
|
106
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
readonly MAIN: "main";
|
|
108
|
+
readonly EFFECT: "effect";
|
|
109
|
+
}>>;
|
|
110
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
93
111
|
}, z.core.$strip>;
|
|
94
112
|
}, z.core.$strip>;
|
|
95
113
|
export declare const ballSensorDiskThrowerModuleCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -966,6 +984,33 @@ export declare const screenModuleCommandSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
966
984
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
967
985
|
presentationRevision: z.ZodOptional<z.ZodNumber>;
|
|
968
986
|
step: z.ZodLiteral<"TutorialCompleted">;
|
|
987
|
+
hud: z.ZodOptional<z.ZodObject<{
|
|
988
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
989
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
990
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
991
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
992
|
+
}, z.core.$strip>>>;
|
|
993
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
994
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
995
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
996
|
+
}, z.core.$strip>>>;
|
|
997
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
998
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
999
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1000
|
+
}, z.core.$strip>>>;
|
|
1001
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1002
|
+
readonly BATTLE_GOD: "Battle God";
|
|
1003
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
1004
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
1005
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
1006
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
1007
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
1008
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
1009
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
1010
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
1011
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
1012
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1013
|
+
}, z.core.$strip>>;
|
|
969
1014
|
}, z.core.$strip>], "step">;
|
|
970
1015
|
}, z.core.$strip>, z.ZodObject<{
|
|
971
1016
|
module: z.ZodLiteral<"screen">;
|
|
@@ -1926,6 +1971,33 @@ export declare const allCommandsConfigSchema: z.ZodIntersection<z.ZodUnion<reado
|
|
|
1926
1971
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
1927
1972
|
presentationRevision: z.ZodOptional<z.ZodNumber>;
|
|
1928
1973
|
step: z.ZodLiteral<"TutorialCompleted">;
|
|
1974
|
+
hud: z.ZodOptional<z.ZodObject<{
|
|
1975
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1976
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1977
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
1978
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
1979
|
+
}, z.core.$strip>>>;
|
|
1980
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1981
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
1982
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
1983
|
+
}, z.core.$strip>>>;
|
|
1984
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1985
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1986
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1987
|
+
}, z.core.$strip>>>;
|
|
1988
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1989
|
+
readonly BATTLE_GOD: "Battle God";
|
|
1990
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
1991
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
1992
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
1993
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
1994
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
1995
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
1996
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
1997
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
1998
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
1999
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2000
|
+
}, z.core.$strip>>;
|
|
1929
2001
|
}, z.core.$strip>], "step">;
|
|
1930
2002
|
}, z.core.$strip>, z.ZodObject<{
|
|
1931
2003
|
module: z.ZodLiteral<"screen">;
|
|
@@ -1991,10 +2063,19 @@ export declare const allCommandsConfigSchema: z.ZodIntersection<z.ZodUnion<reado
|
|
|
1991
2063
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
1992
2064
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
1993
2065
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
2066
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
1994
2067
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
2068
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
2069
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
1995
2070
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
2071
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
2072
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
1996
2073
|
}>;
|
|
1997
|
-
|
|
2074
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
2075
|
+
readonly MAIN: "main";
|
|
2076
|
+
readonly EFFECT: "effect";
|
|
2077
|
+
}>>;
|
|
2078
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
1998
2079
|
}, z.core.$strip>;
|
|
1999
2080
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2000
2081
|
module: z.ZodLiteral<"emergency">;
|
|
@@ -26,7 +26,7 @@ exports.speedModuleCommandSchema = zod_1.z.union([
|
|
|
26
26
|
]);
|
|
27
27
|
// --- Sound Commands ---
|
|
28
28
|
exports.playSoundActionCommandOptionsSchema = hardware_1.playSoundOptionsSchema.omit({ durationMs: true }).extend({
|
|
29
|
-
durationMs:
|
|
29
|
+
durationMs: zod_1.z.union([hardware_1.playSoundOptionsSchema.shape.durationMs.unwrap(), utils_1.arithmeticExpressionSchema]).optional(),
|
|
30
30
|
});
|
|
31
31
|
exports.soundModuleCommandSchema = zod_1.z.object({
|
|
32
32
|
module: zod_1.z.literal('sound'),
|
|
@@ -60,8 +60,13 @@ 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
64
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
65
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
66
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
64
67
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
68
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
69
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
65
70
|
}>;
|
|
66
71
|
rgbEffect: z.ZodEnum<{
|
|
67
72
|
readonly SHOW_COLOR_KART: "Show Color Kart";
|
|
@@ -891,6 +891,33 @@ 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<{
|
|
895
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
896
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
897
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
898
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
899
|
+
}, z.core.$strip>>>;
|
|
900
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
901
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
902
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
903
|
+
}, z.core.$strip>>>;
|
|
904
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
905
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
906
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
907
|
+
}, z.core.$strip>>>;
|
|
908
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
909
|
+
readonly BATTLE_GOD: "Battle God";
|
|
910
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
911
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
912
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
913
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
914
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
915
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
916
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
917
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
918
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
919
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
920
|
+
}, z.core.$strip>>;
|
|
894
921
|
}, z.core.$strip>], "step">;
|
|
895
922
|
}, z.core.$strip>, z.ZodObject<{
|
|
896
923
|
module: z.ZodLiteral<"screen">;
|
|
@@ -956,10 +983,19 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
956
983
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
957
984
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
958
985
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
986
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
959
987
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
988
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
989
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
960
990
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
991
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
992
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
961
993
|
}>;
|
|
962
|
-
|
|
994
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
995
|
+
readonly MAIN: "main";
|
|
996
|
+
readonly EFFECT: "effect";
|
|
997
|
+
}>>;
|
|
998
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
963
999
|
}, z.core.$strip>;
|
|
964
1000
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
965
1001
|
module: z.ZodLiteral<"emergency">;
|
|
@@ -391,4 +391,31 @@ 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<{
|
|
395
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
396
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
397
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
398
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
400
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
401
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
402
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
403
|
+
}, z.core.$strip>>>;
|
|
404
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
405
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
406
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
407
|
+
}, z.core.$strip>>>;
|
|
408
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
409
|
+
readonly BATTLE_GOD: "Battle God";
|
|
410
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
411
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
412
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
413
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
414
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
415
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
416
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
417
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
418
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
419
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
394
421
|
}, z.core.$strip>], "step">;
|
|
@@ -50,5 +50,7 @@ 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)
|
|
53
|
+
createStaticTutorialStepSchema(Tutorial_const_1.TUTORIAL_SCREEN_STEP.TUTORIAL_COMPLETED).extend({
|
|
54
|
+
hud: exports.screenTutorialHudSchema.optional(),
|
|
55
|
+
}),
|
|
54
56
|
]);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SOUND_ACTION_COMMAND = exports.PLAY_SOUND_DURATION = void 0;
|
|
3
|
+
exports.SOUND_ACTION_COMMAND = exports.SOUND_CHANNEL = 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
|
+
};
|
|
7
11
|
exports.SOUND_ACTION_COMMAND = {
|
|
8
12
|
PLAY: 'Play',
|
|
9
13
|
};
|
|
@@ -27,8 +27,17 @@ 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
31
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
32
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
33
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
31
34
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
35
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
36
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
32
37
|
}>;
|
|
33
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
|
+
}>>;
|
|
34
43
|
}, z.core.$strip>;
|
|
@@ -8,4 +8,5 @@ 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(),
|
|
11
12
|
});
|
|
@@ -887,6 +887,33 @@ 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<{
|
|
891
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
892
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
893
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
894
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
895
|
+
}, z.core.$strip>>>;
|
|
896
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
897
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
898
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
899
|
+
}, z.core.$strip>>>;
|
|
900
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
901
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
902
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
903
|
+
}, z.core.$strip>>>;
|
|
904
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
905
|
+
readonly BATTLE_GOD: "Battle God";
|
|
906
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
907
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
908
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
909
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
910
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
911
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
912
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
913
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
914
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
915
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
890
917
|
}, z.core.$strip>], "step">;
|
|
891
918
|
}, z.core.$strip>, z.ZodObject<{
|
|
892
919
|
module: z.ZodLiteral<"screen">;
|
|
@@ -952,10 +979,19 @@ export declare const powerUpCommandSchema: z.ZodIntersection<z.ZodUnion<readonly
|
|
|
952
979
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
953
980
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
954
981
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
982
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
955
983
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
984
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
985
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
956
986
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
987
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
988
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
957
989
|
}>;
|
|
958
|
-
|
|
990
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
991
|
+
readonly MAIN: "main";
|
|
992
|
+
readonly EFFECT: "effect";
|
|
993
|
+
}>>;
|
|
994
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
959
995
|
}, z.core.$strip>;
|
|
960
996
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
961
997
|
module: z.ZodLiteral<"emergency">;
|
|
@@ -1899,6 +1935,33 @@ export declare const powerUpSchema: z.ZodObject<{
|
|
|
1899
1935
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
1900
1936
|
presentationRevision: z.ZodOptional<z.ZodNumber>;
|
|
1901
1937
|
step: z.ZodLiteral<"TutorialCompleted">;
|
|
1938
|
+
hud: z.ZodOptional<z.ZodObject<{
|
|
1939
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1940
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1941
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
1942
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
1943
|
+
}, z.core.$strip>>>;
|
|
1944
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1945
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
1946
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
1947
|
+
}, z.core.$strip>>>;
|
|
1948
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
1949
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1950
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1951
|
+
}, z.core.$strip>>>;
|
|
1952
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1953
|
+
readonly BATTLE_GOD: "Battle God";
|
|
1954
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
1955
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
1956
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
1957
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
1958
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
1959
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
1960
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
1961
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
1962
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
1963
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1964
|
+
}, z.core.$strip>>;
|
|
1902
1965
|
}, z.core.$strip>], "step">;
|
|
1903
1966
|
}, z.core.$strip>, z.ZodObject<{
|
|
1904
1967
|
module: z.ZodLiteral<"screen">;
|
|
@@ -1964,10 +2027,19 @@ export declare const powerUpSchema: z.ZodObject<{
|
|
|
1964
2027
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
1965
2028
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
1966
2029
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
2030
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
1967
2031
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
2032
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
2033
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
1968
2034
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
2035
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
2036
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
1969
2037
|
}>;
|
|
1970
|
-
|
|
2038
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
2039
|
+
readonly MAIN: "main";
|
|
2040
|
+
readonly EFFECT: "effect";
|
|
2041
|
+
}>>;
|
|
2042
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
1971
2043
|
}, z.core.$strip>;
|
|
1972
2044
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
1973
2045
|
module: z.ZodLiteral<"emergency">;
|
|
@@ -2891,6 +2963,33 @@ export declare const powerUpSchema: z.ZodObject<{
|
|
|
2891
2963
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
2892
2964
|
presentationRevision: z.ZodOptional<z.ZodNumber>;
|
|
2893
2965
|
step: z.ZodLiteral<"TutorialCompleted">;
|
|
2966
|
+
hud: z.ZodOptional<z.ZodObject<{
|
|
2967
|
+
coins: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2968
|
+
position: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
2969
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
2970
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
2971
|
+
}, z.core.$strip>>>;
|
|
2972
|
+
laps: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
2973
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
2974
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
2975
|
+
}, z.core.$strip>>>;
|
|
2976
|
+
gameTimeLeft: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
2977
|
+
minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2978
|
+
seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2979
|
+
}, z.core.$strip>>>;
|
|
2980
|
+
powerUp: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2981
|
+
readonly BATTLE_GOD: "Battle God";
|
|
2982
|
+
readonly BATTLE_STAR: "Battle Star";
|
|
2983
|
+
readonly BATTLE_SHOT: "Battle Shot";
|
|
2984
|
+
readonly BATTLE_NITRO: "Battle Nitro";
|
|
2985
|
+
readonly BATTLE_PULSE: "Battle Pulse";
|
|
2986
|
+
readonly BATTLE_TRAP: "Battle Trap";
|
|
2987
|
+
readonly BATTLE_SHIELD: "Battle Shield";
|
|
2988
|
+
readonly BATTLE_TURBO: "Battle Turbo";
|
|
2989
|
+
readonly BATTLE_BLUE_SHOT: "Battle Blue Shot";
|
|
2990
|
+
}>, z.ZodLiteral<"Clear PowerUp">]>>>;
|
|
2991
|
+
powerUpAnimationTimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2992
|
+
}, z.core.$strip>>;
|
|
2894
2993
|
}, z.core.$strip>], "step">;
|
|
2895
2994
|
}, z.core.$strip>, z.ZodObject<{
|
|
2896
2995
|
module: z.ZodLiteral<"screen">;
|
|
@@ -2956,10 +3055,19 @@ export declare const powerUpSchema: z.ZodObject<{
|
|
|
2956
3055
|
readonly SYSTEM_STARTED: "system_started.mp3";
|
|
2957
3056
|
readonly WARNING_ALERT_THIS_IS_NOT_A_TEST: "warning_alert_this_is_not_a_test.mp3";
|
|
2958
3057
|
readonly WINNER_LAUGH: "winner_laugh.mp3";
|
|
3058
|
+
readonly TUTORIAL_COUNTDOWN: "tutorial/3,2,1 GO.mp3";
|
|
2959
3059
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
3060
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
3061
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
2960
3062
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
3063
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
3064
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
2961
3065
|
}>;
|
|
2962
|
-
|
|
3066
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
3067
|
+
readonly MAIN: "main";
|
|
3068
|
+
readonly EFFECT: "effect";
|
|
3069
|
+
}>>;
|
|
3070
|
+
durationMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinite">]>, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>]>>;
|
|
2963
3071
|
}, z.core.$strip>;
|
|
2964
3072
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2965
3073
|
module: z.ZodLiteral<"emergency">;
|
|
@@ -22,6 +22,11 @@ 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
26
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
27
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
28
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
26
29
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
30
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
31
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
27
32
|
};
|
|
@@ -25,6 +25,11 @@ 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
29
|
TUTORIAL_WELCOME: 'tutorial/welcome_to_battle_racing.mp3',
|
|
30
|
+
TUTORIAL_SECURE_BELONGINGS: 'tutorial/secure_belongins.mp3',
|
|
31
|
+
TUTORIAL_BUCKLE_UP: 'tutorial/buckle_up.mp3',
|
|
29
32
|
TUTORIAL_GAS_PEDAL: 'tutorial/gas_pedal.mp3',
|
|
33
|
+
TUTORIAL_BUTTON_PRESS: 'tutorial/button_press.mp3',
|
|
34
|
+
TUTORIAL_FINAL: 'tutorial/final_tutorial.mp3',
|
|
30
35
|
};
|
|
@@ -23,6 +23,11 @@ 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
27
|
readonly TUTORIAL_WELCOME: "tutorial/welcome_to_battle_racing.mp3";
|
|
28
|
+
readonly TUTORIAL_SECURE_BELONGINGS: "tutorial/secure_belongins.mp3";
|
|
29
|
+
readonly TUTORIAL_BUCKLE_UP: "tutorial/buckle_up.mp3";
|
|
27
30
|
readonly TUTORIAL_GAS_PEDAL: "tutorial/gas_pedal.mp3";
|
|
31
|
+
readonly TUTORIAL_BUTTON_PRESS: "tutorial/button_press.mp3";
|
|
32
|
+
readonly TUTORIAL_FINAL: "tutorial/final_tutorial.mp3";
|
|
28
33
|
}>;
|