forked from HJfod/BetterEdit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.json
More file actions
633 lines (633 loc) · 21.1 KB
/
mod.json
File metadata and controls
633 lines (633 loc) · 21.1 KB
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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
{
"geode": "5.0.1",
"version": "6.10.0-beta.5",
"gd": {
"win": "2.2081",
"mac": "2.2081",
"android": "2.2081",
"ios": "2.2081"
},
"id": "hjfod.betteredit",
"name": "BetterEdit",
"developers": ["HJfod"],
"description": "The Ultimate Editor Mod",
"links": {
"homepage": "https://betteredit.pro",
"source": "https://github.com/HJfod/BetterEdit",
"community": "https://discord.gg/UGHDfzQtpz"
},
"dependencies": {
"geode.node-ids": "1.21.0",
"hjfod.gmd-api": "1.5.0",
"cvolton.level-id-api": "2.0.0",
"alphalaneous.editortab_api": "2.0.3"
},
"resources": {
"files": [
"scripts/*.js",
"scripts/*.mjs"
],
"spritesheets": {
"UISheet": [
"resources/*.png"
],
"ViewTabSheet": [
"resources/view/*.png"
]
},
"sprites": [
"resources/images/*.png"
]
},
"settings": {
"meta-section": {
"type": "title",
"name": "BetterEdit Settings"
},
"enable-changelog-popup": {
"type": "bool",
"name": "Show Changelog at Startup",
"description": "Show the <cj>Changelog</c> for new updates when starting up BetterEdit. Important updates that everyone should know about might override this behaviour, but if you disable this, you at least won't get changelogs for every single new Alpha version :) You can still always view the Changelog through the <cg>BetterEdit popup</c> in the <cj>Editor Pause Menu</c>",
"default": true
},
"level-section": {
"type": "title",
"name": "Level Settings"
},
"enable-auto-save": {
"type": "bool",
"name": "Enable Auto-Save",
"description": "Automatically saves the level in the editor at the specified rate, as well as creates a backup. The backups created by autosave get automatically deleted after 3 new ones have been created to avoid using too much disk space",
"default": true
},
"auto-save-rate": {
"type": "int",
"default": 10,
"min": 1,
"max": 60,
"name": "Auto-Save Rate (minutes)",
"description": "How often the level should be auto-saved.",
"control": {
"big-arrows": true
},
"enable-if": "enable-auto-save"
},
"quick-save": {
"type": "bool",
"default": true,
"name": "Quick Save",
"description": "Makes level saving faster by saving to a backup file rather than directly to the save file"
},
"copy-paste-from-clipboard": {
"type": "bool",
"default": true,
"name": "Copy & Paste to Clipboard",
"description": "Copy & paste objects to/from system clipboard. This means that when you copy objects, you can paste it in a text editor in its text representation, and also paste it in to the editor later"
},
"controls-section": {
"type": "title",
"name": "Mouse & Keybind Settings"
},
"enable-fixed-mouse-controls": {
"type": "bool",
"default": {
"win": true,
"mac": false
},
"name": "Improved Mouse Controls",
"description": "When enabled, you can scroll horizontally with Shift + Scroll Wheel & zoom with Control + Scroll Wheel",
"platforms": ["desktop"]
},
"mouse-move-on-zoom": {
"type": "bool",
"default": true,
"name": "Zoom Towards Cursor",
"description": "When enabled and while holding down the Control Key, zooming in the editor with the scroll wheel will be zoomed toward the cursor and not the center of the screen",
"platforms": ["desktop"],
"enable-if": "enable-fixed-mouse-controls"
},
"pinch-to-zoom": {
"type": "bool",
"default": true,
"name": "Pinch to Zoom",
"description": "When enabled, you can use two fingers to zoom",
"platforms": ["android"]
},
"scale-rotate-input-modifier-keys": {
"type": "bool",
"default": true,
"name": "Enable Shift/Control on Scale Input",
"description": "When holding the <cp>Shift</c> key, toggles snapping in the <co>Scale</c> and <cj>Rotate</c> controls, and when holding <cp>Control</c> toggles absolute position"
},
"ui-section": {
"type": "title",
"name": "UI Settings"
},
"scale-factor": {
"type": "float",
"default": 1.00,
"max": 1.00,
"min": 0.6,
"name": "Scale Factor",
"description": "The factor the UI should be scaled by. <cr>Requires re-entering the editor!</c>",
"control": {
"slider": true,
"slider-step": 0.025
}
},
"scale-pause": {
"type": "bool",
"default": true,
"name": "Scale Pause Menu",
"description": "Whether the editor pause menu should be scaled according to the scale factor aswell"
},
"scale-build-tabs": {
"type": "bool",
"default": true,
"name": "Scale Build Tabs",
"description": "Whether the tabs above the object selection area should be scaled according to the scale factor aswell"
},
"hide-trigger-ui": {
"type": "bool",
"default": false,
"name": "Hide Trigger Backgrounds",
"description": "Hides the <cc>backgrounds</c> on all triggers when using sliders, like with <cl>shader</c> triggers"
},
"show-zoom-text": {
"type": "bool",
"default": true,
"name": "Show Zoom Text",
"description": "When enabled, flashes the current zoom level as text when you zoom in / out in the editor"
},
"grid-size-controls": {
"type": "bool",
"default": true,
"name": "Show Grid Size Controls",
"description": "Shows controls in the UI for adjusting the size of the grid. <cr>Requires re-entering the editor!</c>",
"platforms": ["win", "android64"]
},
"show-grid-on-size-change": {
"type": "bool",
"default": true,
"name": "Show Grid on Size Change",
"description": "If the grid is currently hidden and you use the controls to change its size, its toggled on",
"platforms": ["win", "android64"],
"enable-if": "grid-size-controls"
},
"redesigned-uis-section": {
"type": "title",
"name": "Redesigned/Improved UIs"
},
"view-menu": {
"type": "bool",
"default": true,
"name": "Show View Tab",
"description": "Adds a new fourth tab to the editor with buttons from quickly toggling on/off the visibility of features"
},
"better-font-select": {
"type": "bool",
"default": true,
"name": "New Font Selection Menu",
"description": "Replaces the old font select screen with a better one with scrolling"
},
"new-edit-menu": {
"type": "bool",
"default": true,
"name": "New Edit Menu",
"description": "Changes the object moving menu to have the move button grouped directionally rather than in a list. <cr>Requires re-entering the editor!</c>"
},
"new-color-menu": {
"type": "bool",
"default": true,
"name": "New Color Menu",
"description": "Changes the object color selection menu to show more channels aswell as previews for colors and special colors"
},
"larger-color-menu": {
"type": "bool",
"default": {
"win": false,
"mac": false,
"android": true
},
"name": "Larger Color Menu",
"description": "If you're using the <cr>New Color Menu</c>, this makes the color channel buttons a bit larger",
"enable-if": "new-color-menu"
},
"group-summary": {
"type": "bool",
"default": true,
"name": "Group Summary Button",
"description": "Show a button for opening <co>Group Summary</c> in the editor toolbar. You can alternatively set a keybind for opening <co>Group Summary</c>.",
"enable-if-description": "This feature is Supporter-only, but will be free soon!"
},
"trigger-indicator-section": {
"type": "title",
"name": "Trigger Indicators",
"description": "<cj>Trigger Indicators</c> draw lines between triggers and their target objects"
},
"trigger-indicator-colors": {
"type": "string",
"one-of": ["None", "Selected Only", "All"],
"default": "Selected Only",
"name": "Trigger Indicators: Dynamic Colors",
"description": "Control whether <cj>Trigger Indicators</c> should be colored based on the trigger, or if they should just be white",
"enable-if-description": "This feature is Supporter-only, but will be free soon!"
},
"trigger-indicator-thickness": {
"type": "float",
"default": 2,
"min": 1,
"max": 10,
"control": {
"slider": true,
"slider-step": 0.1
},
"name": "Trigger Indicators: Line Thickness",
"description": "Control the width of the <cj>Trigger Indicators</c> lines",
"enable-if-description": "This feature is Supporter-only, but will be free soon!"
},
"trigger-indicator-opacity": {
"type": "float",
"default": 1,
"min": 0,
"max": 1,
"control": {
"slider": true,
"slider-step": 0.1,
"arrows": false,
"big-arrows": false
},
"name": "Trigger Indicators: Line Opacity",
"description": "Control the opacity of the <cj>Trigger Indicators</c> lines",
"enable-if-description": "This feature is Supporter-only, but will be free soon!"
},
"trigger-indicator-tickheads": {
"type": "bool",
"default": false,
"name": "Trigger Indicators: Arrow Heads",
"description": "If true, <cj>Trigger Indicators</c> have arrowheads at the end",
"enable-if-description": "This feature is Supporter-only, but will be free soon!"
},
"keybinds-section": {
"type": "title",
"name": "Keybinds"
},
"keybind-view-mode": {
"type": "keybind",
"name": "View Mode",
"description": "Toggle the View Tab",
"category": "editor",
"default": ["Four"],
"migrate-from": "hjfod.betteredit/view-mode"
},
"keybind-rotate-45-ccw": {
"type": "keybind",
"name": "Rotate 45 CCW",
"description": "Rotate the Selected Object(s) 45 Degrees Counter-Clockwise",
"category": "editor",
"default": ["Shift+Q"],
"migrate-from": "hjfod.betteredit/rotate-45-ccw"
},
"keybind-rotate-45-cw": {
"type": "keybind",
"name": "Rotate 45 CW",
"description": "Rotate the Selected Object(s) 45 Degrees Clockwise",
"category": "editor",
"default": ["Shift+E"],
"migrate-from": "hjfod.betteredit/rotate-45-cw"
},
"keybind-rotate-snap": {
"type": "keybind",
"name": "Rotate Snap",
"description": "Rotate the Selected Object(s) to Match Adjacent Slopes",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/rotate-snap"
},
"keybind-show-scale": {
"type": "keybind",
"name": "Toggle Scale Control",
"description": "Toggle the object scaling controls",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/show-scale"
},
"keybind-show-scale-xy": {
"type": "keybind",
"name": "Toggle Scale X/Y Control",
"description": "Toggle the object scaling by X/Y controls",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/show-scale-xy"
},
"keybind-save-level": {
"type": "keybind",
"name": "Save Level",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/save-level"
},
"keybind-pause-resume-playtest": {
"type": "keybind",
"name": "Pause/Resume Playtest",
"description": "Pauses or resumes the current playtest. Does not start playtesting",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/pause-resume-playtest"
},
"keybind-build-helper": {
"type": "keybind",
"name": "Build Helper",
"description": "Executes the <cy>Build Helper</c> feature, aka remaps Groud and Color IDs of the selected objects to unused ones",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/build-helper"
},
"keybind-create-loop": {
"type": "keybind",
"name": "Create loop",
"description": "Executes the <cy>Create Loop</c> feature, aka makes a Spawn Trigger loop",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/create-loop"
},
"keybind-align-x": {
"type": "keybind",
"name": "Align X",
"description": "Executes the <cy>Align X</c> feature, aka aligns all of the selected objects along the X axis",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/align-x"
},
"keybind-align-y": {
"type": "keybind",
"name": "Align Y",
"description": "Executes the <cy>Align Y</c> feature, aka aligns all of the selected objects along the Y axis",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/align-y"
},
"keybind-toggle-link-controls": {
"type": "keybind",
"name": "Toggle Link Controls",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/toggle-link-controls"
},
"keybind-open-edit-object": {
"type": "keybind",
"name": "Edit Object",
"description": "Open the <cb>Edit Object</c> popup for the selected objects",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/open-edit-object"
},
"keybind-open-edit-group": {
"type": "keybind",
"name": "Edit Group",
"description": "Open the <co>Edit Group</c> popup for the selected objects",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/open-edit-group"
},
"keybind-open-edit-special": {
"type": "keybind",
"name": "Edit Special",
"description": "Open the <cj>Edit Special</c> popup for the selected objects",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/open-edit-special"
},
"keybind-copy-values": {
"type": "keybind",
"name": "Copy Values",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/copy-values"
},
"keybind-paste-state": {
"type": "keybind",
"name": "Paste State",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/paste-state"
},
"keybind-paste-color": {
"type": "keybind",
"name": "Paste Color",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/paste-color"
},
"keybind-enlarge-grid-size": {
"type": "keybind",
"name": "Increase Grid Size",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/enlarge-grid-size"
},
"keybind-ensmallen-grid-size": {
"type": "keybind",
"name": "Decrease Grid Size",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/ensmallen-grid-size"
},
"keybind-select-all": {
"type": "keybind",
"name": "Select All",
"description": "Select All Object(s)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/select-all"
},
"keybind-select-all-left": {
"type": "keybind",
"name": "Select All Left",
"description": "Select All Object(s) Left of the Screen",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/select-all-left"
},
"keybind-select-all-right": {
"type": "keybind",
"name": "Select All Right",
"description": "Select All Object(s) Right of the Screen",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/select-all-right"
},
"keybind-show-ui": {
"type": "keybind",
"name": "Show UI",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/show-ui"
},
"keybind-hide-ui": {
"type": "keybind",
"name": "Hide UI",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/hide-ui"
},
"keybind-group-summary": {
"type": "keybind",
"name": "Open Group Summary",
"description": "Opens up <co>Group Summary</c>, aka a list showing which groups are in use",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/group-summary"
},
"keybind-move-obj-half-left": {
"type": "keybind",
"name": "Move Object Half Left",
"description": "Move Selected Object(s) half of a Block left (15 Units)",
"category": "editor",
"default": ["Ctrl+Alt+A"],
"migrate-from": "hjfod.betteredit/move-obj-half-left"
},
"keybind-move-obj-half-right": {
"type": "keybind",
"name": "Move Object Half Right",
"description": "Move Selected Object(s) half of a Block right (15 Units)",
"category": "editor",
"default": ["Ctrl+Alt+D"],
"migrate-from": "hjfod.betteredit/move-obj-half-right"
},
"keybind-move-obj-half-up": {
"type": "keybind",
"name": "Move Object Half Up",
"description": "Move Selected Object(s) half of a Block up (15 Units)",
"category": "editor",
"default": ["Ctrl+Alt+W"],
"migrate-from": "hjfod.betteredit/move-obj-half-up"
},
"keybind-move-obj-half-down": {
"type": "keybind",
"name": "Move Object Half Down",
"description": "Move Selected Object(s) half of a Block down (15 Units)",
"category": "editor",
"default": ["Ctrl+Alt+S"],
"migrate-from": "hjfod.betteredit/move-obj-half-down"
},
"keybind-move-obj-quarter-left": {
"type": "keybind",
"name": "Move Object Quarter Left",
"description": "Move Selected Object(s) quarter of a Block left (7.5 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-quarter-left"
},
"keybind-move-obj-quarter-right": {
"type": "keybind",
"name": "Move Object Quarter Right",
"description": "Move Selected Object(s) quarter of a Block right (7.5 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-quarter-right"
},
"keybind-move-obj-quarter-up": {
"type": "keybind",
"name": "Move Object Quarter Up",
"description": "Move Selected Object(s) quarter of a Block up (7.5 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-quarter-up"
},
"keybind-move-obj-quarter-down": {
"type": "keybind",
"name": "Move Object Quarter Down",
"description": "Move Selected Object(s) quarter of a Block down (7.5 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-quarter-down"
},
"keybind-move-obj-eighth-left": {
"type": "keybind",
"name": "Move Object Eighth Left",
"description": "Move Selected Object(s) eighth of a Block left (3.75 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-eighth-left"
},
"keybind-move-obj-eighth-right": {
"type": "keybind",
"name": "Move Object Eighth Right",
"description": "Move Selected Object(s) eighth of a Block right (3.75 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-eighth-right"
},
"keybind-move-obj-eighth-up": {
"type": "keybind",
"name": "Move Object Eighth Up",
"description": "Move Selected Object(s) eighth of a Block up (3.75 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-eighth-up"
},
"keybind-move-obj-eighth-down": {
"type": "keybind",
"name": "Move Object Eighth Down",
"description": "Move Selected Object(s) eighth of a Block down (3.75 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-eighth-down"
},
"keybind-move-obj-big-left": {
"type": "keybind",
"name": "Move Object Big Left",
"description": "Move Selected Object(s) 5 Blocks left (150 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-big-left"
},
"keybind-move-obj-big-right": {
"type": "keybind",
"name": "Move Object Big Right",
"description": "Move Selected Object(s) 5 Blocks right (150 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-big-right"
},
"keybind-move-obj-big-up": {
"type": "keybind",
"name": "Move Object Big Up",
"description": "Move Selected Object(s) 5 Blocks up (150 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-big-up"
},
"keybind-move-obj-big-down": {
"type": "keybind",
"name": "Move Object Big Down",
"description": "Move Selected Object(s) 5 Blocks down (150 Units)",
"category": "editor",
"default": [],
"migrate-from": "hjfod.betteredit/move-obj-big-down"
},
"wip-section": {
"type": "title",
"name": "WIP Features",
"description": "These settings are for features that are currently Work-In-Progress. This means that <cr>these features may be unstable and unusable</c>, and are only included for testing purposes. <ca>Developer Mode</c> is required to enable them."
},
"run-script-button": {
"type": "bool",
"default": false,
"name": "??? WIP #1",
"description": "Coming soon!",
"enable-if": "saved:developer-mode",
"enable-if-description": "This Feature is Heavily WIP!"
},
"trigger-previews": {
"type": "bool",
"default": false,
"name": "??? WIP #4",
"description": "Coming soon!",
"enable-if": "saved:developer-mode",
"enable-if-description": "This Feature is Heavily WIP!"
}
},
"tags": ["editor", "enhancement", "utility", "customization"]
}