Skip to content

Commit 30cf83e

Browse files
committed
Fixed spellbook page titles
1 parent db73dc7 commit 30cf83e

File tree

7 files changed

+357
-119
lines changed

7 files changed

+357
-119
lines changed

src/main/resources/data/unicopia/spellbook/chapters/air_magic.json

+45-15
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@
55
"content": {
66
"pages": [
77
{
8-
"title": "gui.unicopia.spellbook.chapter.air.p1.title",
8+
"title": {
9+
"translate": "gui.unicopia.spellbook.chapter.air.p1.title"
10+
},
911
"level": 1,
1012
"elements": [
1113
{ "x": 15, "y": -10, "width": 128, "height": 128, "texture": "unicopia:textures/gui/container/pages/air_magic.png" }
1214
]
1315
},
1416
{
15-
"title": "gui.unicopia.spellbook.chapter.air.p2.title",
17+
"title": {
18+
"translate": "gui.unicopia.spellbook.chapter.air.p2.title"
19+
},
1620
"level": 1,
1721
"elements": [
1822
"gui.unicopia.spellbook.chapter.air.p1.1.body",
@@ -30,7 +34,9 @@
3034
},
3135

3236
{
33-
"title": "gui.unicopia.spellbook.chapter.air.p3.title",
37+
"title": {
38+
"translate": "gui.unicopia.spellbook.chapter.air.p3.title"
39+
},
3440
"level": 0,
3541
"elements": [
3642
"gui.unicopia.spellbook.chapter.air.p3.1.body",
@@ -39,7 +45,9 @@
3945
]
4046
},
4147
{
42-
"title": "gui.unicopia.spellbook.chapter.air.p4.title",
48+
"title": {
49+
"translate": "gui.unicopia.spellbook.chapter.air.p4.title"
50+
},
4351
"level": 3,
4452
"elements": [
4553
"gui.unicopia.spellbook.chapter.air.p4.1.body",
@@ -60,7 +68,9 @@
6068
]
6169
},
6270
{
63-
"title": "spell.unicopia.catapult",
71+
"title": {
72+
"translate": "spell.unicopia.catapult"
73+
},
6474
"level": 4,
6575
"elements": [
6676
"gui.unicopia.spellbook.chapter.air.catapult.1.body",
@@ -86,7 +96,9 @@
8696
]
8797
},
8898
{
89-
"title": "spell.unicopia.bubble",
99+
"title": {
100+
"translate": "spell.unicopia.bubble"
101+
},
90102
"level": 2,
91103
"elements": [
92104
"gui.unicopia.spellbook.chapter.air.bubble.1.body",
@@ -111,30 +123,38 @@
111123
]
112124
},
113125
{
114-
"title": "gui.unicopia.spellbook.chapter.air.p7.title",
126+
"title": {
127+
"translate": "gui.unicopia.spellbook.chapter.air.p7.title"
128+
},
115129
"level": 4,
116130
"elements": [
117131
"gui.unicopia.spellbook.chapter.air.p7.1.body",
118132
"gui.unicopia.spellbook.chapter.air.p7.2.body"
119133
]
120134
},
121135
{
122-
"title": "gui.unicopia.spellbook.chapter.air.p8.title",
136+
"title": {
137+
"translate": "gui.unicopia.spellbook.chapter.air.p8.title"
138+
},
123139
"level": 5,
124140
"elements": [
125141
"gui.unicopia.spellbook.chapter.air.p8.1.body"
126142
]
127143
},
128144
{
129-
"title": "gui.unicopia.spellbook.chapter.air.p9.title",
145+
"title": {
146+
"translate": "gui.unicopia.spellbook.chapter.air.p9.title"
147+
},
130148
"level": 6,
131149
"elements": [
132150
"gui.unicopia.spellbook.chapter.air.p9.1.body",
133151
"gui.unicopia.spellbook.chapter.air.p9.2.body"
134152
]
135153
},
136154
{
137-
"title": "gui.unicopia.spellbook.chapter.air.p10.title",
155+
"title": {
156+
"translate": "gui.unicopia.spellbook.chapter.air.p10.title"
157+
},
138158
"level": 7,
139159
"elements": [
140160
"gui.unicopia.spellbook.chapter.air.p10.1.body",
@@ -144,7 +164,9 @@
144164
]
145165
},
146166
{
147-
"title": "spell.unicopia.feather_fall",
167+
"title": {
168+
"translate": "spell.unicopia.feather_fall"
169+
},
148170
"level": 5,
149171
"elements": [
150172
"gui.unicopia.spellbook.chapter.air.feather_fall.1.body",
@@ -171,7 +193,9 @@
171193
]
172194
},
173195
{
174-
"title": "gui.unicopia.spellbook.chapter.air.p12.title",
196+
"title": {
197+
"translate": "gui.unicopia.spellbook.chapter.air.p12.title"
198+
},
175199
"level": 6,
176200
"elements": [
177201
"gui.unicopia.spellbook.chapter.air.p12.1.body",
@@ -182,15 +206,19 @@
182206
},
183207
{ },
184208
{
185-
"title": "gui.unicopia.spellbook.chapter.air.p13.title",
209+
"title": {
210+
"translate": "gui.unicopia.spellbook.chapter.air.p13.title"
211+
},
186212
"level": 7,
187213
"elements": [
188214
"gui.unicopia.spellbook.chapter.air.p13.1.body",
189215
"gui.unicopia.spellbook.chapter.air.p13.2.body"
190216
]
191217
},
192218
{
193-
"title": "gui.unicopia.spellbook.chapter.air.p14.title",
219+
"title": {
220+
"translate": "gui.unicopia.spellbook.chapter.air.p14.title"
221+
},
194222
"level": 7,
195223
"elements": [
196224
"gui.unicopia.spellbook.chapter.air.p14.1.body",
@@ -199,7 +227,9 @@
199227
]
200228
},
201229
{
202-
"title": "gui.unicopia.spellbook.chapter.air.p15.title",
230+
"title": {
231+
"translate": "gui.unicopia.spellbook.chapter.air.p15.title"
232+
},
203233
"level": 8,
204234
"elements": [
205235
"gui.unicopia.spellbook.chapter.air.p15.1.body",

0 commit comments

Comments
 (0)