Skip to content

Commit 00c0fca

Browse files
committed
feat: add some audio file and change sounds.json
1 parent dad54a6 commit 00c0fca

15 files changed

Lines changed: 190 additions & 1 deletion

src/main/java/zadudoder/spmhelper/tutorial/TutorialManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.ArrayList;
77

88
import static net.minecraft.world.World.*;
9+
import static zadudoder.spmhelper.utils.SoundManager.*;
910

1011
public class TutorialManager {
1112
public static boolean isEnabled;
@@ -19,6 +20,7 @@ public static void preTutorial() {
1920

2021
public static void startFullTutorial() {
2122
pullText("Включите частицы в настройках и направляйтесь в путь по ним.");
23+
playSound(start_tutorial_audio, 1.0f, 1.0f);
2224
startPNTutorial();
2325
}
2426

Lines changed: 188 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,194 @@
11
{
22
"start_tutorial_audio": {
33
"sounds": [
4-
"spmhelper:start_tutorial_audio"
4+
{
5+
"name": "spmhelper:tutorialaudio/del1tme/start_tutorial_audio",
6+
"stream": true
7+
}
8+
]
9+
},
10+
"pn_action_audio": {
11+
"sounds": [
12+
{
13+
"name": "spmhelper:tutorialaudio/del1tme/pn_action_audio",
14+
"stream": true
15+
}
16+
]
17+
},
18+
"cik_action_audio": {
19+
"sounds": [
20+
{
21+
"name": "spmhelper:tutorialaudio/del1tme/cik_action_audio",
22+
"stream": true
23+
}
24+
]
25+
},
26+
"bank_action_audio": {
27+
"sounds": [
28+
{
29+
"name": "spmhelper:tutorialaudio/del1tme/bank_action_audio",
30+
"stream": true
31+
}
32+
]
33+
},
34+
"gallery_action_audio": {
35+
"sounds": [
36+
{
37+
"name": "spmhelper:tutorialaudio/del1tme/gallery_action_audio",
38+
"stream": true
39+
}
40+
]
41+
},
42+
"law_court_action_audio": {
43+
"sounds": [
44+
{
45+
"name": "spmhelper:tutorialaudio/del1tme/law_court_action_audio",
46+
"stream": true
47+
}
48+
]
49+
},
50+
"hell_action_audio": {
51+
"sounds": [
52+
{
53+
"name": "spmhelper:tutorialaudio/del1tme/hell_action_audio",
54+
"stream": true
55+
}
56+
]
57+
},
58+
"start_talk_about_trade_audio": {
59+
"sounds": [
60+
{
61+
"name": "spmhelper:tutorialaudio/del1tme/start_talk_about_trade_audio",
62+
"stream": true
63+
}
64+
]
65+
},
66+
"fsb_action_audio": {
67+
"sounds": [
68+
{
69+
"name": "spmhelper:tutorialaudio/del1tme/fsb_action_audio",
70+
"stream": true
71+
}
72+
]
73+
},
74+
"go_to_biblioteka_audio": {
75+
"sounds": [
76+
{
77+
"name": "spmhelper:tutorialaudio/del1tme/go_to_biblioteka_audio",
78+
"stream": true
79+
}
80+
]
81+
},
82+
"go_to_spawn_audio": {
83+
"sounds": [
84+
{
85+
"name": "spmhelper:tutorialaudio/del1tme/go_to_spawn_audio",
86+
"stream": true
87+
}
88+
]
89+
},
90+
"end_tutorial_audio": {
91+
"sounds": [
92+
{
93+
"name": "spmhelper:tutorialaudio/del1tme/end_tutorial_audio",
94+
"stream": true
95+
}
96+
]
97+
},
98+
"start_tutorial_audio_f": {
99+
"sounds": [
100+
{
101+
"name": "spmhelper:tutorialaudio/multiforaaaaa/start_tutorial_audio",
102+
"stream": true
103+
}
104+
]
105+
},
106+
"pn_action_audio_f": {
107+
"sounds": [
108+
{
109+
"name": "spmhelper:tutorialaudio/multiforaaaaa/pn_action_audio",
110+
"stream": true
111+
}
112+
]
113+
},
114+
"cik_action_audio_f": {
115+
"sounds": [
116+
{
117+
"name": "spmhelper:tutorialaudio/multiforaaaaa/cik_action_audio",
118+
"stream": true
119+
}
120+
]
121+
},
122+
"bank_action_audio_f": {
123+
"sounds": [
124+
{
125+
"name": "spmhelper:tutorialaudio/multiforaaaaa/bank_action_audio",
126+
"stream": true
127+
}
128+
]
129+
},
130+
"gallery_action_audio_f": {
131+
"sounds": [
132+
{
133+
"name": "spmhelper:tutorialaudio/multiforaaaaa/gallery_action_audio",
134+
"stream": true
135+
}
136+
]
137+
},
138+
"law_court_action_audio_f": {
139+
"sounds": [
140+
{
141+
"name": "spmhelper:tutorialaudio/multiforaaaaa/law_court_action_audio",
142+
"stream": true
143+
}
144+
]
145+
},
146+
"hell_action_audio_f": {
147+
"sounds": [
148+
{
149+
"name": "spmhelper:tutorialaudio/multiforaaaaa/hell_action_audio",
150+
"stream": true
151+
}
152+
]
153+
},
154+
"start_talk_about_trade_audio_f": {
155+
"sounds": [
156+
{
157+
"name": "spmhelper:tutorialaudio/multiforaaaaa/start_talk_about_trade_audio",
158+
"stream": true
159+
}
160+
]
161+
},
162+
"fsb_action_audio_f": {
163+
"sounds": [
164+
{
165+
"name": "spmhelper:tutorialaudio/multiforaaaaa/fsb_action_audio",
166+
"stream": true
167+
}
168+
]
169+
},
170+
"go_to_biblioteka_audio_f": {
171+
"sounds": [
172+
{
173+
"name": "spmhelper:tutorialaudio/multiforaaaaa/go_to_biblioteka_audio",
174+
"stream": true
175+
}
176+
]
177+
},
178+
"go_to_spawn_audio_f": {
179+
"sounds": [
180+
{
181+
"name": "spmhelper:tutorialaudio/multiforaaaaa/go_to_spawn_audio",
182+
"stream": true
183+
}
184+
]
185+
},
186+
"end_tutorial_audio_f": {
187+
"sounds": [
188+
{
189+
"name": "spmhelper:tutorialaudio/multiforaaaaa/end_tutorial_audio",
190+
"stream": true
191+
}
5192
]
6193
}
7194
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)