forked from geode-sdk/test-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod.json
430 lines (430 loc) · 9.4 KB
/
mod.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
{
"geode": "4.1.2",
"gd": {
"win": "2.2074",
"android": "2.2074",
"mac": "2.2074",
"ios": "2.2074"
},
"id": "geode.test-mod",
"name": ". Geode Test Mod",
"version": "v1.0.0",
"developer": "Geode Team",
"description": "Mod for Testing Geode Features",
"settings": {
"section-bools": {
"type": "title",
"name": "Boolean tests"
},
"test-bool-bare": {
"type": "bool",
"default": false
},
"test-bool-basic": {
"type": "bool",
"default": true,
"name": "Basic Bool Test",
"description": "Basic Bool Description with <cy>Colors</c>"
},
"test-bool-desktop": {
"type": "bool",
"default": false,
"name": "Desktop-Only Setting",
"platforms": ["win", "mac"]
},
"test-bool-mobile": {
"type": "bool",
"default": false,
"name": "Mobile-Only Setting",
"platforms": ["android"]
},
"test-bool-enable-if": {
"type": "bool",
"default": false,
"name": "Enable 'Basic Bool Test' to Toggle This",
"enable-if": "setting:test-bool-basic"
},
"test-bool-restart-required": {
"type": "bool",
"default": true,
"name": "Bool that requires restart",
"requires-restart": true
},
"test-bool-long-ass-name": {
"type": "bool",
"default": false,
"name": "Long ass name for boolean setting"
},
"test-bool-longer-ass-name": {
"type": "bool",
"default": false,
"name": "Longer ass name for boolean setting how does it cope"
},
"section-integers": {
"type": "title",
"name": "Integer tests"
},
"test-int-bare": {
"type": "int",
"default": 0
},
"test-int-basic": {
"type": "int",
"default": 5,
"name": "Basic Integer Test",
"description": "Basic <cr>Integer</c>",
"min": 0,
"max": 10
},
"test-int-only-min": {
"type": "int",
"default": 0,
"name": "Basic Integer with Only Min",
"min": 0
},
"test-int-full-controls": {
"type": "int",
"default": 45,
"min": 0,
"max": 100,
"name": "Integer All Controls",
"control": {
"slider": true,
"slider-step": 5,
"input": true,
"arrows": true,
"arrow-step": 1,
"big-arrows": true,
"big-arrow-step": 5
}
},
"test-int-only-slider": {
"type": "int",
"default": 0,
"min": 0,
"max": 32,
"name": "Integer Only Slider",
"control": {
"slider": true,
"input": false,
"arrows": false,
"big-arrows": false
}
},
"test-int-long-ass-name": {
"type": "int",
"default": 0,
"name": "Long ass name for int setting"
},
"test-int-longer-ass-name": {
"type": "int",
"default": 0,
"name": "Longer ass name for int setting how does it cope"
},
"section-floats": {
"type": "title",
"name": "Float tests"
},
"test-float-bare": {
"type": "float",
"default": 0
},
"test-float-basic": {
"type": "float",
"default": 5.3,
"name": "Basic floateger Test",
"description": "Basic <cr>floateger</c>",
"min": 0,
"max": 10
},
"test-float-only-min": {
"type": "float",
"default": 0,
"name": "Basic Float with Only Min",
"min": 0
},
"test-float-full-controls": {
"type": "float",
"default": 0.5,
"min": 0,
"max": 1,
"name": "Float All Controls",
"control": {
"slider": true,
"slider-step": 0.2,
"input": true,
"arrows": true,
"arrow-step": 0.1,
"big-arrows": true,
"big-arrow-step": 0.25
}
},
"test-float-only-slider": {
"type": "float",
"default": 0,
"min": 0,
"max": 32,
"name": "Float Only Slider",
"control": {
"slider": true,
"input": false,
"arrows": false,
"big-arrows": false
}
},
"test-float-long-ass-name": {
"type": "float",
"default": 0,
"name": "Long ass name for float setting"
},
"test-float-longer-ass-name": {
"type": "float",
"default": 0,
"name": "Longer ass name for float setting how does it cope"
},
"section-strings": {
"type": "title",
"name": "String tests"
},
"test-string-bare": {
"type": "string",
"default": ""
},
"test-string-basic": {
"type": "string",
"default": "abc",
"name": "Test String Only abc",
"description": "<cg>strign</c>",
"filter": "abcdefghjijklmnopqrstuvwxyz"
},
"test-string-regex": {
"type": "string",
"default": "abc",
"name": "Test String Regex [a-z0-9]+",
"match": "[a-z0-9]+"
},
"test-string-one-of": {
"type": "string",
"default": "Option #2",
"name": "One-Of Test String",
"one-of": ["Option #1", "Option #2", "Option but with a longer name #3", "O #4"]
},
"test-string-long-ass-name": {
"type": "string",
"default": "",
"name": "Long ass name for string setting"
},
"test-string-longer-ass-name": {
"type": "string",
"default": "",
"name": "Longer ass name for string setting how does it cope"
},
"section-paths": {
"type": "title",
"name": "Path tests"
},
"test-file-bare": {
"type": "file",
"default": ""
},
"test-folder-bare": {
"type": "folder",
"default": ""
},
"test-path-open-file": {
"type": "file",
"default": "{gd_dir}/GeometryDash.exe",
"name": "Test Open File",
"description": "this path should point to gd exe by default",
"control": {
"dialog": "open"
}
},
"test-path-save-file": {
"type": "file",
"default": "{gd_dir}/file.txt",
"name": "Test Save File",
"description": "this path should prompt the save file dialog",
"control": {
"dialog": "save"
}
},
"test-folder": {
"type": "folder",
"default": "{gd_dir}/geode",
"name": "Test Folder Geode Should Be",
"description": "this path should point to geode dir by default"
},
"test-file-filters": {
"type": "file",
"default": "{mod_config_dir}/level.gmd",
"name": "Test File Filters",
"control": {
"filters": [
{
"description": "GMD files",
"files": ["*.gmd", "*.gmd2"]
},
{
"description": "CMakeLists",
"files": ["CMakeLists.txt"]
}
]
}
},
"test-file-long-ass-name": {
"type": "file",
"default": "",
"name": "Long ass name for file setting"
},
"test-file-longer-ass-name": {
"type": "file",
"default": "",
"name": "Longer ass name for file setting how does it cope"
},
"section-colors": {
"type": "title",
"name": "Color tests"
},
"test-rgb-bare": {
"type": "rgb",
"default": "#000"
},
"test-color-bare": {
"type": "color",
"default": "#000"
},
"test-rgba-bare": {
"type": "rgba",
"default": "#0000"
},
"test-rgba-basic": {
"type": "rgba",
"default": "#ff0000ff",
"name": "Basic RGBA Setting",
"description": "Basic RGBA Setting"
},
"test-color-long-ass-name": {
"type": "color",
"default": "#000",
"name": "Long ass name for color setting"
},
"test-color-longer-ass-name": {
"type": "color",
"default": "#000",
"name": "Longer ass name for color setting how does it cope"
},
"section-custom": {
"type": "title",
"name": "Custom Setting Tests"
},
"test-custom-setting": {
"type": "custom:my-awesome-type",
"default": "valid-enum-value",
"name": "My Awesome Enum!"
},
"section-enable-if": {
"type": "title",
"name": "Enable If Tests"
},
"test-enable-if": {
"type": "bool",
"default": false,
"name": "Toggler #1"
},
"test-enable-if-2": {
"type": "bool",
"default": false,
"name": "Toggler #2"
},
"test-should-be-enabled": {
"type": "bool",
"default": true,
"name": "Toggle #1 to Enable",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-desc": {
"type": "bool",
"default": true,
"name": "Toggle #1 to Enable (Desc.)",
"enable-if": "test-enable-if",
"enable-if-description": "Please Enable the First Toggler!"
},
"test-should-be-enabled-explicit": {
"type": "bool",
"default": true,
"name": "Toggle #2 to Enable",
"enable-if": "setting:test-enable-if-2"
},
"test-should-be-enabled-super-explicit": {
"type": "bool",
"default": true,
"name": "Toggle #1 to Enable",
"enable-if": "setting:geode.test-mod/test-enable-if"
},
"test-should-be-enabled-other-mod": {
"type": "bool",
"default": true,
"name": "Toggle BE Setting to Enable",
"enable-if": "hjfod.betteredit/larger-color-menu"
},
"test-should-be-enabled-complex": {
"type": "bool",
"default": false,
"name": "Complicated Enable If Condition",
"enable-if": " loaded:hjfod.betteredit && (setting:test-enable-if||geode.test-mod/test-enable-if-2) "
},
"test-should-be-enabled-int": {
"type": "int",
"default": 0,
"enable-if": "test-enable-if",
"min": -5,
"max": 5,
"control": {
"big-arrows": true,
"slider": true
}
},
"test-should-be-enabled-float": {
"type": "float",
"default": 0,
"enable-if": "test-enable-if",
"min": -5,
"max": 5,
"control": {
"big-arrows": true,
"slider": true
}
},
"test-should-be-enabled-string": {
"type": "string",
"default": "",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-file": {
"type": "file",
"default": "",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-folder": {
"type": "folder",
"default": "",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-rgb": {
"type": "rgb",
"default": "#000",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-rgba": {
"type": "rgba",
"default": "#0000",
"enable-if": "test-enable-if"
},
"test-should-be-enabled-custom": {
"type": "custom:my-awesome-type",
"default": "valid-enum-value",
"enable-if": "test-enable-if"
}
}
}