dopaminejs 3.3.0 → 3.5.0
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/{DataService-Bd1S-C1N.js → DataService-QQBNqJtN.js} +324 -151
- package/dist/DataService-Xk7egYXe.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -2
- package/dist/dopamine.cjs +1 -1
- package/dist/dopamine.global.js +37 -0
- package/dist/dopamine.js +3 -3
- package/dist/games.js +1 -2
- package/dist/{host-Bm0Kq5Th.cjs → host-1c7QSAKI.cjs} +2 -2
- package/dist/{host-CSnyl6nv.js → host-_essSMef.js} +15 -18
- package/dist/testing.cjs +1 -1
- package/dist/testing.js +13 -13
- package/package.json +4 -2
- package/spec/README.md +114 -14
- package/spec/fixtures/merge.json +384 -0
- package/spec/fixtures/migrate.json +388 -22
- package/spec/fixtures/recovery.json +1861 -0
- package/spec/schema.json +3 -3
- package/src/dopamine/core/RewardSystem.js +187 -24
- package/src/dopamine/core/merge.js +116 -1
- package/src/dopamine/core/store.js +90 -32
- package/src/dopamine/host.js +3 -1
- package/src/testing.js +2 -1
- package/types/index.d.ts +25 -4
- package/dist/DataService-GRTvq4BS.cjs +0 -1
|
@@ -34,16 +34,36 @@
|
|
|
34
34
|
"note": "The default player has no play dates, so the streak is 0 and has no last play date."
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "a numeric string xp is
|
|
37
|
+
"name": "a numeric string xp is read as a number",
|
|
38
38
|
"clock": "2026-08-07T09:00:00",
|
|
39
39
|
"savedJson": {
|
|
40
40
|
"xp": "250"
|
|
41
41
|
},
|
|
42
|
-
"note": "
|
|
42
|
+
"note": "A string that holds a finite number is coerced in every field that expects a number, so the player keeps the progress.",
|
|
43
|
+
"afterInit": {
|
|
44
|
+
"player": {
|
|
45
|
+
"xp": 250,
|
|
46
|
+
"level": 2
|
|
47
|
+
},
|
|
48
|
+
"events": []
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "blank and non-finite strings fall back to the default",
|
|
53
|
+
"clock": "2026-08-07T09:00:00",
|
|
54
|
+
"savedJson": {
|
|
55
|
+
"xp": " ",
|
|
56
|
+
"totalGamesPlayed": "Infinity",
|
|
57
|
+
"level": "",
|
|
58
|
+
"name": "Sam"
|
|
59
|
+
},
|
|
60
|
+
"note": "An empty or blank string is not 0, and Infinity is not finite, so both fall back.",
|
|
43
61
|
"afterInit": {
|
|
44
62
|
"player": {
|
|
45
63
|
"xp": 0,
|
|
46
|
-
"level": 1
|
|
64
|
+
"level": 1,
|
|
65
|
+
"totalGamesPlayed": 0,
|
|
66
|
+
"name": "Sam"
|
|
47
67
|
},
|
|
48
68
|
"events": []
|
|
49
69
|
}
|
|
@@ -156,7 +176,38 @@
|
|
|
156
176
|
]
|
|
157
177
|
},
|
|
158
178
|
"events": []
|
|
159
|
-
}
|
|
179
|
+
},
|
|
180
|
+
"note": "Intended. A streak of 0 with a real date still counts that date as one play day, so no play is lost. The same day gives 1 and the next day gives 2.",
|
|
181
|
+
"steps": [
|
|
182
|
+
{
|
|
183
|
+
"op": "record",
|
|
184
|
+
"activity": "g",
|
|
185
|
+
"expect": {
|
|
186
|
+
"player": {
|
|
187
|
+
"streak": {
|
|
188
|
+
"current": 1,
|
|
189
|
+
"longest": 3
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"op": "setClock",
|
|
196
|
+
"at": "2026-08-08T09:00:00"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"op": "record",
|
|
200
|
+
"activity": "g",
|
|
201
|
+
"expect": {
|
|
202
|
+
"player": {
|
|
203
|
+
"streak": {
|
|
204
|
+
"current": 2,
|
|
205
|
+
"longest": 3
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
]
|
|
160
211
|
},
|
|
161
212
|
{
|
|
162
213
|
"name": "streak longest below current is raised",
|
|
@@ -182,7 +233,7 @@
|
|
|
182
233
|
{
|
|
183
234
|
"name": "a lastPlayDate that is not a real calendar day is dropped",
|
|
184
235
|
"clock": "2026-08-07T09:00:00",
|
|
185
|
-
"note": "9999-99-99 has the date shape but is no day. The play dates are empty and longest stays.",
|
|
236
|
+
"note": "9999-99-99 has the date shape but is no day, so it counts as no date. The play dates are empty and longest stays.",
|
|
186
237
|
"savedJson": {
|
|
187
238
|
"streak": {
|
|
188
239
|
"current": 5,
|
|
@@ -206,6 +257,53 @@
|
|
|
206
257
|
"events": []
|
|
207
258
|
}
|
|
208
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"name": "an invalid lastPlayDate keeps the best run and the next play starts the date",
|
|
262
|
+
"clock": "2026-08-07T09:00:00",
|
|
263
|
+
"savedJson": {
|
|
264
|
+
"streak": {
|
|
265
|
+
"current": 7,
|
|
266
|
+
"longest": 3,
|
|
267
|
+
"lastPlayDate": "2026-13-45"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"note": "The count is not thrown away: the larger of current and longest stays as longest. With no date there is no current run, so the next record starts it at 1.",
|
|
271
|
+
"afterInit": {
|
|
272
|
+
"player": {
|
|
273
|
+
"streak": {
|
|
274
|
+
"current": 0,
|
|
275
|
+
"longest": 7
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"absent": [
|
|
279
|
+
"streak.lastPlayDate"
|
|
280
|
+
],
|
|
281
|
+
"doc": {
|
|
282
|
+
"playDates": []
|
|
283
|
+
},
|
|
284
|
+
"events": []
|
|
285
|
+
},
|
|
286
|
+
"steps": [
|
|
287
|
+
{
|
|
288
|
+
"op": "record",
|
|
289
|
+
"activity": "g",
|
|
290
|
+
"expect": {
|
|
291
|
+
"player": {
|
|
292
|
+
"streak": {
|
|
293
|
+
"current": 1,
|
|
294
|
+
"longest": 7,
|
|
295
|
+
"lastPlayDate": "2026-08-07"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"doc": {
|
|
299
|
+
"playDates": [
|
|
300
|
+
"2026-08-07"
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
209
307
|
{
|
|
210
308
|
"name": "a February 30th lastPlayDate is dropped",
|
|
211
309
|
"clock": "2026-08-07T09:00:00",
|
|
@@ -255,12 +353,12 @@
|
|
|
255
353
|
"str": "x"
|
|
256
354
|
}
|
|
257
355
|
},
|
|
258
|
-
"note": "totalPlays \"3\"
|
|
356
|
+
"note": "totalPlays \"3\" holds a number, so it is read as 3. \"x\" is not a number and is dropped. Unsafe keys never reach the document.",
|
|
259
357
|
"afterInit": {
|
|
260
358
|
"playerExact": {
|
|
261
359
|
"stats": {
|
|
262
360
|
"good": {
|
|
263
|
-
"plays":
|
|
361
|
+
"plays": 3,
|
|
264
362
|
"best": 12,
|
|
265
363
|
"kills": 4
|
|
266
364
|
}
|
|
@@ -289,7 +387,7 @@
|
|
|
289
387
|
"stats": {
|
|
290
388
|
"g": {
|
|
291
389
|
"plays": 0,
|
|
292
|
-
"best":
|
|
390
|
+
"best": 99,
|
|
293
391
|
"x": 1.5
|
|
294
392
|
},
|
|
295
393
|
"h": {
|
|
@@ -300,7 +398,8 @@
|
|
|
300
398
|
}
|
|
301
399
|
},
|
|
302
400
|
"events": []
|
|
303
|
-
}
|
|
401
|
+
},
|
|
402
|
+
"note": "highScore \"99\" is read as 99. totalPlays -2 is negative and falls back to 0."
|
|
304
403
|
},
|
|
305
404
|
{
|
|
306
405
|
"name": "hostile achievement entries are dropped",
|
|
@@ -362,9 +461,9 @@
|
|
|
362
461
|
}
|
|
363
462
|
},
|
|
364
463
|
{
|
|
365
|
-
"name": "unknown top level fields are
|
|
464
|
+
"name": "unknown top level fields in a 2.x save are kept",
|
|
366
465
|
"clock": "2026-08-07T09:00:00",
|
|
367
|
-
"note": "
|
|
466
|
+
"note": "Intended. A newer version or a mod wrote them, so dropping them would lose data. They stay in the saved document and never reach the player view.",
|
|
368
467
|
"savedJson": {
|
|
369
468
|
"xp": 30,
|
|
370
469
|
"custom": {
|
|
@@ -383,9 +482,167 @@
|
|
|
383
482
|
"custom",
|
|
384
483
|
"flags"
|
|
385
484
|
],
|
|
485
|
+
"doc": {
|
|
486
|
+
"custom": {
|
|
487
|
+
"a": 1
|
|
488
|
+
},
|
|
489
|
+
"flags": [
|
|
490
|
+
1,
|
|
491
|
+
2
|
|
492
|
+
]
|
|
493
|
+
},
|
|
386
494
|
"events": []
|
|
387
495
|
}
|
|
388
496
|
},
|
|
497
|
+
{
|
|
498
|
+
"name": "unknown top level fields in a version 3 save survive a save and a reload",
|
|
499
|
+
"clock": "2026-08-07T09:00:00",
|
|
500
|
+
"savedJson": {
|
|
501
|
+
"v": 3,
|
|
502
|
+
"xpBy": {
|
|
503
|
+
"a": 10
|
|
504
|
+
},
|
|
505
|
+
"from_newer": {
|
|
506
|
+
"theme": "dark",
|
|
507
|
+
"list": [
|
|
508
|
+
1,
|
|
509
|
+
{
|
|
510
|
+
"x": 2
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
"extra_flag": true
|
|
515
|
+
},
|
|
516
|
+
"note": "Intended. The fields come back after the core writes and a new page load reads.",
|
|
517
|
+
"afterInit": {
|
|
518
|
+
"doc": {
|
|
519
|
+
"from_newer": {
|
|
520
|
+
"theme": "dark",
|
|
521
|
+
"list": [
|
|
522
|
+
1,
|
|
523
|
+
{
|
|
524
|
+
"x": 2
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"extra_flag": true
|
|
529
|
+
},
|
|
530
|
+
"events": []
|
|
531
|
+
},
|
|
532
|
+
"steps": [
|
|
533
|
+
{
|
|
534
|
+
"op": "addXP",
|
|
535
|
+
"amount": 5,
|
|
536
|
+
"expect": {
|
|
537
|
+
"player": {
|
|
538
|
+
"xp": 15
|
|
539
|
+
},
|
|
540
|
+
"doc": {
|
|
541
|
+
"from_newer": {
|
|
542
|
+
"theme": "dark"
|
|
543
|
+
},
|
|
544
|
+
"extra_flag": true
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"op": "reload",
|
|
550
|
+
"expect": {
|
|
551
|
+
"player": {
|
|
552
|
+
"xp": 15
|
|
553
|
+
},
|
|
554
|
+
"doc": {
|
|
555
|
+
"from_newer": {
|
|
556
|
+
"theme": "dark",
|
|
557
|
+
"list": [
|
|
558
|
+
1,
|
|
559
|
+
{
|
|
560
|
+
"x": 2
|
|
561
|
+
}
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
"extra_flag": true
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "unsafe top level keys are dropped on load and stay gone after a save",
|
|
572
|
+
"clock": "2026-08-07T09:00:00",
|
|
573
|
+
"savedJson": {
|
|
574
|
+
"v": 3,
|
|
575
|
+
"xpBy": {
|
|
576
|
+
"a": 10
|
|
577
|
+
},
|
|
578
|
+
"__proto__": {
|
|
579
|
+
"polluted": true
|
|
580
|
+
},
|
|
581
|
+
"constructor": {
|
|
582
|
+
"x": 1
|
|
583
|
+
},
|
|
584
|
+
"prototype": {
|
|
585
|
+
"y": 2
|
|
586
|
+
},
|
|
587
|
+
"kept": {
|
|
588
|
+
"__proto__": {
|
|
589
|
+
"z": 1
|
|
590
|
+
},
|
|
591
|
+
"ok": 2
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"note": "Never copied onto a plain object, at the top or inside a kept value. The ordinary field next to them stays.",
|
|
595
|
+
"afterInit": {
|
|
596
|
+
"player": {
|
|
597
|
+
"xp": 10
|
|
598
|
+
},
|
|
599
|
+
"docAbsent": [
|
|
600
|
+
"__proto__",
|
|
601
|
+
"constructor",
|
|
602
|
+
"prototype"
|
|
603
|
+
],
|
|
604
|
+
"docExact": {
|
|
605
|
+
"kept": {
|
|
606
|
+
"ok": 2
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"events": []
|
|
610
|
+
},
|
|
611
|
+
"steps": [
|
|
612
|
+
{
|
|
613
|
+
"op": "addXP",
|
|
614
|
+
"amount": 5,
|
|
615
|
+
"expect": {
|
|
616
|
+
"player": {
|
|
617
|
+
"xp": 15
|
|
618
|
+
},
|
|
619
|
+
"docAbsent": [
|
|
620
|
+
"__proto__",
|
|
621
|
+
"constructor",
|
|
622
|
+
"prototype"
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"op": "reload",
|
|
628
|
+
"expect": {
|
|
629
|
+
"player": {
|
|
630
|
+
"xp": 15
|
|
631
|
+
},
|
|
632
|
+
"docAbsent": [
|
|
633
|
+
"__proto__",
|
|
634
|
+
"constructor",
|
|
635
|
+
"prototype"
|
|
636
|
+
],
|
|
637
|
+
"docExact": {
|
|
638
|
+
"kept": {
|
|
639
|
+
"ok": 2
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
389
646
|
{
|
|
390
647
|
"name": "an xp that overflows to infinity becomes 0",
|
|
391
648
|
"clock": "2026-08-07T09:00:00",
|
|
@@ -631,9 +888,9 @@
|
|
|
631
888
|
}
|
|
632
889
|
},
|
|
633
890
|
{
|
|
634
|
-
"name": "a 2.x lastPlayDate in the future
|
|
891
|
+
"name": "a 2.x lastPlayDate in the future counts as today and keeps the streak",
|
|
635
892
|
"clock": "2026-08-07T09:00:00",
|
|
636
|
-
"note": "
|
|
893
|
+
"note": "A clock change must not wipe a streak. The date is read as today, and the run of 5 ends today. A later real day continues from there.",
|
|
637
894
|
"savedJson": {
|
|
638
895
|
"streak": {
|
|
639
896
|
"current": 5,
|
|
@@ -644,20 +901,61 @@
|
|
|
644
901
|
"afterInit": {
|
|
645
902
|
"player": {
|
|
646
903
|
"streak": {
|
|
647
|
-
"current":
|
|
904
|
+
"current": 5,
|
|
648
905
|
"longest": 5,
|
|
649
906
|
"lastPlayDate": "2026-08-07"
|
|
650
907
|
}
|
|
651
908
|
},
|
|
652
909
|
"docExact": {
|
|
653
910
|
"playDates": [
|
|
911
|
+
"2026-08-03",
|
|
912
|
+
"2026-08-04",
|
|
654
913
|
"2026-08-05",
|
|
655
914
|
"2026-08-06",
|
|
656
|
-
"2026-08-07"
|
|
657
|
-
"2026-08-08"
|
|
915
|
+
"2026-08-07"
|
|
658
916
|
]
|
|
659
917
|
},
|
|
660
918
|
"events": []
|
|
919
|
+
},
|
|
920
|
+
"steps": [
|
|
921
|
+
{
|
|
922
|
+
"op": "setClock",
|
|
923
|
+
"at": "2026-08-08T09:00:00"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"op": "record",
|
|
927
|
+
"activity": "g",
|
|
928
|
+
"expect": {
|
|
929
|
+
"player": {
|
|
930
|
+
"streak": {
|
|
931
|
+
"current": 6,
|
|
932
|
+
"longest": 6,
|
|
933
|
+
"lastPlayDate": "2026-08-08"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "a 2.x lastPlayDate far in the future counts as today",
|
|
942
|
+
"clock": "2026-08-07T09:00:00",
|
|
943
|
+
"savedJson": {
|
|
944
|
+
"streak": {
|
|
945
|
+
"current": 4,
|
|
946
|
+
"longest": 4,
|
|
947
|
+
"lastPlayDate": "2099-01-01"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"afterInit": {
|
|
951
|
+
"player": {
|
|
952
|
+
"streak": {
|
|
953
|
+
"current": 4,
|
|
954
|
+
"longest": 4,
|
|
955
|
+
"lastPlayDate": "2026-08-07"
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"events": []
|
|
661
959
|
}
|
|
662
960
|
},
|
|
663
961
|
{
|
|
@@ -725,31 +1023,55 @@
|
|
|
725
1023
|
}
|
|
726
1024
|
},
|
|
727
1025
|
{
|
|
728
|
-
"name": "numeric strings
|
|
1026
|
+
"name": "numeric strings in a version 3 document are read, negatives and words are dropped",
|
|
729
1027
|
"clock": "2026-08-07T09:00:00",
|
|
730
1028
|
"savedJson": {
|
|
731
1029
|
"v": 3,
|
|
1030
|
+
"level": "4",
|
|
732
1031
|
"xpBy": {
|
|
733
1032
|
"a": "100",
|
|
734
1033
|
"b": 20,
|
|
735
|
-
"c": -5
|
|
1034
|
+
"c": -5,
|
|
1035
|
+
"d": "-5",
|
|
1036
|
+
"e": "abc"
|
|
736
1037
|
},
|
|
737
1038
|
"xpSpentBy": {
|
|
738
1039
|
"a": true
|
|
1040
|
+
},
|
|
1041
|
+
"gamesBy": {
|
|
1042
|
+
"a": "2",
|
|
1043
|
+
"b": "2.5"
|
|
1044
|
+
},
|
|
1045
|
+
"playsBy": {
|
|
1046
|
+
"g": {
|
|
1047
|
+
"a": " 3 "
|
|
1048
|
+
}
|
|
739
1049
|
}
|
|
740
1050
|
},
|
|
741
1051
|
"afterInit": {
|
|
742
1052
|
"player": {
|
|
743
|
-
"xp":
|
|
1053
|
+
"xp": 120,
|
|
1054
|
+
"level": 4,
|
|
1055
|
+
"totalGamesPlayed": 2
|
|
744
1056
|
},
|
|
745
1057
|
"docExact": {
|
|
746
1058
|
"xpBy": {
|
|
1059
|
+
"a": 100,
|
|
747
1060
|
"b": 20
|
|
748
1061
|
},
|
|
749
|
-
"xpSpentBy": {}
|
|
1062
|
+
"xpSpentBy": {},
|
|
1063
|
+
"gamesBy": {
|
|
1064
|
+
"a": 2
|
|
1065
|
+
},
|
|
1066
|
+
"playsBy": {
|
|
1067
|
+
"g": {
|
|
1068
|
+
"a": 3
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
750
1071
|
},
|
|
751
1072
|
"events": []
|
|
752
|
-
}
|
|
1073
|
+
},
|
|
1074
|
+
"note": "Every map takes numbers or strings that hold them. Counts must be whole, so \"2.5\" is dropped. A negative string is dropped like a negative number."
|
|
753
1075
|
},
|
|
754
1076
|
{
|
|
755
1077
|
"name": "__proto__ is never an own property",
|
|
@@ -809,7 +1131,8 @@
|
|
|
809
1131
|
"from_a_mod"
|
|
810
1132
|
],
|
|
811
1133
|
"events": []
|
|
812
|
-
}
|
|
1134
|
+
},
|
|
1135
|
+
"note": "Intended. A mod or a newer version may define the id, so dropping it would lose a real unlock. Lookups by id use own properties."
|
|
813
1136
|
},
|
|
814
1137
|
{
|
|
815
1138
|
"name": "a document from a newer version is refused",
|
|
@@ -952,6 +1275,49 @@
|
|
|
952
1275
|
},
|
|
953
1276
|
"events": []
|
|
954
1277
|
}
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "a saved player that is an array is kept as corrupt",
|
|
1281
|
+
"clock": "2026-08-07T09:00:00",
|
|
1282
|
+
"savedJson": [
|
|
1283
|
+
1,
|
|
1284
|
+
2
|
|
1285
|
+
],
|
|
1286
|
+
"note": "Valid JSON that is not an object is treated like unparseable data. The core keeps it under player_corrupt and starts a new player.",
|
|
1287
|
+
"afterInit": {
|
|
1288
|
+
"player": {
|
|
1289
|
+
"name": "Player",
|
|
1290
|
+
"xp": 0,
|
|
1291
|
+
"level": 1
|
|
1292
|
+
},
|
|
1293
|
+
"events": [
|
|
1294
|
+
{
|
|
1295
|
+
"event": "load_failed",
|
|
1296
|
+
"reason": "corrupt",
|
|
1297
|
+
"backedUp": true
|
|
1298
|
+
}
|
|
1299
|
+
]
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"name": "a saved player that is a number is kept as corrupt",
|
|
1304
|
+
"clock": "2026-08-07T09:00:00",
|
|
1305
|
+
"savedJson": 5,
|
|
1306
|
+
"note": "Valid JSON that is not an object is treated like unparseable data. The core keeps it under player_corrupt and starts a new player.",
|
|
1307
|
+
"afterInit": {
|
|
1308
|
+
"player": {
|
|
1309
|
+
"name": "Player",
|
|
1310
|
+
"xp": 0,
|
|
1311
|
+
"level": 1
|
|
1312
|
+
},
|
|
1313
|
+
"events": [
|
|
1314
|
+
{
|
|
1315
|
+
"event": "load_failed",
|
|
1316
|
+
"reason": "corrupt",
|
|
1317
|
+
"backedUp": true
|
|
1318
|
+
}
|
|
1319
|
+
]
|
|
1320
|
+
}
|
|
955
1321
|
}
|
|
956
1322
|
]
|
|
957
1323
|
}
|