tpmkms_4wp 7.12.8-beta.1 → 7.12.8-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +89 -249
- package/common/animals.js +1 -1
- package/common/avatar.js +7 -5
- package/common/characters.js +12 -5
- package/common/crew.instance.json +289 -577
- package/common/crew.js +1 -1
- package/common/currency.js +0 -2
- package/common/dialogues.js +16 -14
- package/common/dimension.instance.json +13 -13
- package/common/dimension.js +1 -1
- package/common/edible.instance.json +293 -297
- package/common/edible.js +1 -1
- package/common/emotions.instance.json +29 -65
- package/common/emotions.js +1 -1
- package/common/fastfood.instance.json +517 -1473
- package/common/fastfood.js +1 -1
- package/common/formulas.instance.json +9 -9
- package/common/formulas.js +2 -2
- package/common/gdefaults.js +2 -0
- package/common/help.js +7 -2
- package/common/help.test.json +9 -5
- package/common/helpers.js +5 -0
- package/common/javascript.js +8 -6
- package/common/kirk.instance.json +1 -1
- package/common/kirk.js +1 -1
- package/common/length.instance.json +49 -229
- package/common/length.js +1 -1
- package/common/math.instance.json +21 -41
- package/common/math.js +1 -1
- package/common/meta.instance.json +1 -1
- package/common/meta.js +35 -10
- package/common/numbers.js +28 -24
- package/common/ordering.instance.json +37 -101
- package/common/ordering.js +1 -1
- package/common/people.instance.json +50 -78
- package/common/people.js +1 -1
- package/common/pipboy.instance.json +197 -201
- package/common/pipboy.js +1 -1
- package/common/pokemon.instance.json +41 -97
- package/common/pokemon.js +1 -1
- package/common/pressure.instance.json +13 -33
- package/common/pressure.js +1 -1
- package/common/properties.instance.json +21 -49
- package/common/properties.js +13 -8
- package/common/reports.instance.json +7 -63
- package/common/reports.js +9 -7
- package/common/scorekeeper.instance.json +1 -1
- package/common/scorekeeper.js +9 -7
- package/common/spock.instance.json +1 -1
- package/common/spock.js +1 -1
- package/common/tell.js +4 -2
- package/common/temperature.instance.json +17 -133
- package/common/temperature.js +1 -1
- package/common/time.js +36 -20
- package/common/time.test.json +66 -44
- package/common/tokenize.js +46 -0
- package/common/tokenize.test.json +2 -0
- package/common/ui.instance.json +1 -1
- package/common/weight.instance.json +33 -201
- package/common/weight.js +1 -1
- package/main.js +2 -0
- package/package.json +7 -3
package/common/pipboy.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"configs": [
|
3
3
|
"pokemon modifies type",
|
4
4
|
"pokemon type is a type",
|
5
5
|
"pikachu squirtle weedle and pidgeot are pokemon",
|
@@ -324,15 +324,15 @@
|
|
324
324
|
"dead": true,
|
325
325
|
"modifiers": [
|
326
326
|
{
|
327
|
+
"value": "pokemon",
|
328
|
+
"unknown": true,
|
329
|
+
"text": "pokemon",
|
327
330
|
"marker": "unknown",
|
331
|
+
"word": "pokemon",
|
328
332
|
"range": {
|
329
333
|
"start": 0,
|
330
334
|
"end": 6
|
331
335
|
},
|
332
|
-
"word": "pokemon",
|
333
|
-
"text": "pokemon",
|
334
|
-
"value": "pokemon",
|
335
|
-
"unknown": true,
|
336
336
|
"dead": true,
|
337
337
|
"level": 1
|
338
338
|
}
|
@@ -1644,54 +1644,54 @@
|
|
1644
1644
|
"listable": true,
|
1645
1645
|
"value": [
|
1646
1646
|
{
|
1647
|
+
"value": "pikachu",
|
1648
|
+
"unknown": true,
|
1649
|
+
"text": "pikachu",
|
1647
1650
|
"marker": "unknown",
|
1651
|
+
"word": "pikachu",
|
1648
1652
|
"range": {
|
1649
1653
|
"start": 0,
|
1650
1654
|
"end": 6
|
1651
1655
|
},
|
1652
|
-
"word": "pikachu",
|
1653
|
-
"text": "pikachu",
|
1654
|
-
"value": "pikachu",
|
1655
|
-
"unknown": true,
|
1656
1656
|
"dead": true,
|
1657
1657
|
"level": 1
|
1658
1658
|
},
|
1659
1659
|
{
|
1660
|
+
"value": "squirtle",
|
1661
|
+
"unknown": true,
|
1662
|
+
"text": "squirtle",
|
1660
1663
|
"marker": "unknown",
|
1664
|
+
"word": "squirtle",
|
1661
1665
|
"range": {
|
1662
1666
|
"start": 8,
|
1663
1667
|
"end": 15
|
1664
1668
|
},
|
1665
|
-
"word": "squirtle",
|
1666
|
-
"text": "squirtle",
|
1667
|
-
"value": "squirtle",
|
1668
|
-
"unknown": true,
|
1669
1669
|
"dead": true,
|
1670
1670
|
"level": 1
|
1671
1671
|
},
|
1672
1672
|
{
|
1673
|
+
"value": "weedle",
|
1674
|
+
"unknown": true,
|
1675
|
+
"text": "weedle",
|
1673
1676
|
"marker": "unknown",
|
1677
|
+
"word": "weedle",
|
1674
1678
|
"range": {
|
1675
1679
|
"start": 17,
|
1676
1680
|
"end": 22
|
1677
1681
|
},
|
1678
|
-
"word": "weedle",
|
1679
|
-
"text": "weedle",
|
1680
|
-
"value": "weedle",
|
1681
|
-
"unknown": true,
|
1682
1682
|
"dead": true,
|
1683
1683
|
"level": 2
|
1684
1684
|
},
|
1685
1685
|
{
|
1686
|
+
"value": "pidgeot",
|
1687
|
+
"unknown": true,
|
1688
|
+
"text": "pidgeot",
|
1686
1689
|
"marker": "unknown",
|
1690
|
+
"word": "pidgeot",
|
1687
1691
|
"range": {
|
1688
1692
|
"start": 28,
|
1689
1693
|
"end": 34
|
1690
1694
|
},
|
1691
|
-
"word": "pidgeot",
|
1692
|
-
"text": "pidgeot",
|
1693
|
-
"value": "pidgeot",
|
1694
|
-
"unknown": true,
|
1695
1695
|
"dead": true,
|
1696
1696
|
"level": 2
|
1697
1697
|
}
|
@@ -1842,16 +1842,6 @@
|
|
1842
1842
|
"unknown",
|
1843
1843
|
1
|
1844
1844
|
]
|
1845
|
-
],
|
1846
|
-
[
|
1847
|
-
[
|
1848
|
-
"pokemon",
|
1849
|
-
0
|
1850
|
-
],
|
1851
|
-
[
|
1852
|
-
"unknown",
|
1853
|
-
0
|
1854
|
-
]
|
1855
1845
|
]
|
1856
1846
|
],
|
1857
1847
|
"learned_contextual_priorities": [],
|
@@ -2413,15 +2403,15 @@
|
|
2413
2403
|
"dead": true,
|
2414
2404
|
"modifiers": [
|
2415
2405
|
{
|
2406
|
+
"value": "fire",
|
2407
|
+
"unknown": true,
|
2408
|
+
"text": "fire",
|
2416
2409
|
"marker": "unknown",
|
2410
|
+
"word": "fire",
|
2417
2411
|
"range": {
|
2418
2412
|
"start": 0,
|
2419
2413
|
"end": 3
|
2420
2414
|
},
|
2421
|
-
"word": "fire",
|
2422
|
-
"text": "fire",
|
2423
|
-
"value": "fire",
|
2424
|
-
"unknown": true,
|
2425
2415
|
"dead": true,
|
2426
2416
|
"level": 1
|
2427
2417
|
}
|
@@ -3128,15 +3118,15 @@
|
|
3128
3118
|
"dead": true,
|
3129
3119
|
"modifiers": [
|
3130
3120
|
{
|
3121
|
+
"value": "water",
|
3122
|
+
"unknown": true,
|
3123
|
+
"text": "water",
|
3131
3124
|
"marker": "unknown",
|
3125
|
+
"word": "water",
|
3132
3126
|
"range": {
|
3133
3127
|
"start": 0,
|
3134
3128
|
"end": 4
|
3135
3129
|
},
|
3136
|
-
"word": "water",
|
3137
|
-
"text": "water",
|
3138
|
-
"value": "water",
|
3139
|
-
"unknown": true,
|
3140
3130
|
"dead": true,
|
3141
3131
|
"level": 1
|
3142
3132
|
}
|
@@ -3915,15 +3905,15 @@
|
|
3915
3905
|
"dead": true,
|
3916
3906
|
"modifiers": [
|
3917
3907
|
{
|
3908
|
+
"value": "earth",
|
3909
|
+
"unknown": true,
|
3910
|
+
"text": "earth",
|
3918
3911
|
"marker": "unknown",
|
3912
|
+
"word": "earth",
|
3919
3913
|
"range": {
|
3920
3914
|
"start": 0,
|
3921
3915
|
"end": 4
|
3922
3916
|
},
|
3923
|
-
"word": "earth",
|
3924
|
-
"text": "earth",
|
3925
|
-
"value": "earth",
|
3926
|
-
"unknown": true,
|
3927
3917
|
"dead": true,
|
3928
3918
|
"level": 1
|
3929
3919
|
}
|
@@ -4774,15 +4764,15 @@
|
|
4774
4764
|
"dead": true,
|
4775
4765
|
"modifiers": [
|
4776
4766
|
{
|
4767
|
+
"value": "electric",
|
4768
|
+
"unknown": true,
|
4769
|
+
"text": "electric",
|
4777
4770
|
"marker": "unknown",
|
4771
|
+
"word": "electric",
|
4778
4772
|
"range": {
|
4779
4773
|
"start": 0,
|
4780
4774
|
"end": 7
|
4781
4775
|
},
|
4782
|
-
"word": "electric",
|
4783
|
-
"text": "electric",
|
4784
|
-
"value": "electric",
|
4785
|
-
"unknown": true,
|
4786
4776
|
"dead": true,
|
4787
4777
|
"level": 1
|
4788
4778
|
}
|
@@ -10158,24 +10148,6 @@
|
|
10158
10148
|
"is",
|
10159
10149
|
0
|
10160
10150
|
]
|
10161
|
-
],
|
10162
|
-
[
|
10163
|
-
[
|
10164
|
-
"electric",
|
10165
|
-
0
|
10166
|
-
],
|
10167
|
-
[
|
10168
|
-
"is",
|
10169
|
-
0
|
10170
|
-
],
|
10171
|
-
[
|
10172
|
-
"pikachu",
|
10173
|
-
0
|
10174
|
-
],
|
10175
|
-
[
|
10176
|
-
"type",
|
10177
|
-
0
|
10178
|
-
]
|
10179
10151
|
]
|
10180
10152
|
],
|
10181
10153
|
"learned_contextual_priorities": [],
|
@@ -11097,15 +11069,15 @@
|
|
11097
11069
|
},
|
11098
11070
|
"one": {
|
11099
11071
|
"number": "one",
|
11072
|
+
"value": "charmander",
|
11073
|
+
"unknown": true,
|
11074
|
+
"text": "charmander",
|
11100
11075
|
"marker": "unknown",
|
11076
|
+
"word": "charmander",
|
11101
11077
|
"range": {
|
11102
11078
|
"start": 0,
|
11103
11079
|
"end": 24
|
11104
11080
|
},
|
11105
|
-
"word": "charmander",
|
11106
|
-
"text": "charmander",
|
11107
|
-
"value": "charmander",
|
11108
|
-
"unknown": true,
|
11109
11081
|
"dead": true,
|
11110
11082
|
"types": [
|
11111
11083
|
"unknown"
|
@@ -11611,24 +11583,6 @@
|
|
11611
11583
|
1
|
11612
11584
|
]
|
11613
11585
|
],
|
11614
|
-
[
|
11615
|
-
[
|
11616
|
-
"electric",
|
11617
|
-
0
|
11618
|
-
],
|
11619
|
-
[
|
11620
|
-
"is",
|
11621
|
-
0
|
11622
|
-
],
|
11623
|
-
[
|
11624
|
-
"pikachu",
|
11625
|
-
0
|
11626
|
-
],
|
11627
|
-
[
|
11628
|
-
"type",
|
11629
|
-
0
|
11630
|
-
]
|
11631
|
-
],
|
11632
11586
|
[
|
11633
11587
|
[
|
11634
11588
|
"is",
|
@@ -11928,16 +11882,6 @@
|
|
11928
11882
|
"unknown",
|
11929
11883
|
1
|
11930
11884
|
]
|
11931
|
-
],
|
11932
|
-
[
|
11933
|
-
[
|
11934
|
-
"pokemon",
|
11935
|
-
0
|
11936
|
-
],
|
11937
|
-
[
|
11938
|
-
"unknown",
|
11939
|
-
0
|
11940
|
-
]
|
11941
11885
|
]
|
11942
11886
|
],
|
11943
11887
|
"learned_contextual_priorities": []
|
package/common/pokemon.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"configs": [
|
3
3
|
"pressure is a dimension",
|
4
4
|
"pascals and atmospheres are units of pressure",
|
5
5
|
"pascals = atmospheres * 101325",
|
@@ -827,15 +827,15 @@
|
|
827
827
|
},
|
828
828
|
"one": {
|
829
829
|
"number": "one",
|
830
|
+
"value": "pressure",
|
831
|
+
"unknown": true,
|
832
|
+
"text": "pressure",
|
830
833
|
"marker": "unknown",
|
834
|
+
"word": "pressure",
|
831
835
|
"range": {
|
832
836
|
"start": 0,
|
833
837
|
"end": 22
|
834
838
|
},
|
835
|
-
"word": "pressure",
|
836
|
-
"text": "pressure",
|
837
|
-
"value": "pressure",
|
838
|
-
"unknown": true,
|
839
839
|
"dead": true,
|
840
840
|
"types": [
|
841
841
|
"unknown"
|
@@ -1964,28 +1964,28 @@
|
|
1964
1964
|
"listable": true,
|
1965
1965
|
"value": [
|
1966
1966
|
{
|
1967
|
+
"value": "pascals",
|
1968
|
+
"unknown": true,
|
1969
|
+
"text": "pascals",
|
1967
1970
|
"marker": "unknown",
|
1971
|
+
"word": "pascals",
|
1968
1972
|
"range": {
|
1969
1973
|
"start": 0,
|
1970
1974
|
"end": 6
|
1971
1975
|
},
|
1972
|
-
"word": "pascals",
|
1973
|
-
"text": "pascals",
|
1974
|
-
"value": "pascals",
|
1975
|
-
"unknown": true,
|
1976
1976
|
"dead": true,
|
1977
1977
|
"level": 2
|
1978
1978
|
},
|
1979
1979
|
{
|
1980
|
+
"value": "atmospheres",
|
1981
|
+
"unknown": true,
|
1982
|
+
"text": "atmospheres",
|
1980
1983
|
"marker": "unknown",
|
1984
|
+
"word": "atmospheres",
|
1981
1985
|
"range": {
|
1982
1986
|
"start": 12,
|
1983
1987
|
"end": 22
|
1984
1988
|
},
|
1985
|
-
"word": "atmospheres",
|
1986
|
-
"text": "atmospheres",
|
1987
|
-
"value": "atmospheres",
|
1988
|
-
"unknown": true,
|
1989
1989
|
"dead": true,
|
1990
1990
|
"level": 2
|
1991
1991
|
}
|
@@ -2247,16 +2247,6 @@
|
|
2247
2247
|
"propertyOf",
|
2248
2248
|
1
|
2249
2249
|
]
|
2250
|
-
],
|
2251
|
-
[
|
2252
|
-
[
|
2253
|
-
"pressure",
|
2254
|
-
0
|
2255
|
-
],
|
2256
|
-
[
|
2257
|
-
"unknown",
|
2258
|
-
0
|
2259
|
-
]
|
2260
2250
|
]
|
2261
2251
|
],
|
2262
2252
|
"learned_contextual_priorities": [],
|
@@ -4798,16 +4788,6 @@
|
|
4798
4788
|
"unknown",
|
4799
4789
|
1
|
4800
4790
|
]
|
4801
|
-
],
|
4802
|
-
[
|
4803
|
-
[
|
4804
|
-
"pressure",
|
4805
|
-
0
|
4806
|
-
],
|
4807
|
-
[
|
4808
|
-
"unknown",
|
4809
|
-
0
|
4810
|
-
]
|
4811
4791
|
]
|
4812
4792
|
],
|
4813
4793
|
"learned_contextual_priorities": []
|
package/common/pressure.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"configs": [],
|
3
3
|
"resultss": [],
|
4
4
|
"fragments": [
|
5
5
|
{
|
@@ -406,15 +406,15 @@
|
|
406
406
|
},
|
407
407
|
"one": {
|
408
408
|
"number": "one",
|
409
|
+
"value": "property1",
|
410
|
+
"unknown": true,
|
411
|
+
"text": "the property1 of object1",
|
409
412
|
"marker": "property",
|
413
|
+
"word": "property1",
|
410
414
|
"range": {
|
411
415
|
"start": 0,
|
412
416
|
"end": 33
|
413
417
|
},
|
414
|
-
"word": "property1",
|
415
|
-
"text": "the property1 of object1",
|
416
|
-
"value": "property1",
|
417
|
-
"unknown": true,
|
418
418
|
"dead": true,
|
419
419
|
"types": [
|
420
420
|
"property",
|
@@ -429,15 +429,15 @@
|
|
429
429
|
"determiner"
|
430
430
|
],
|
431
431
|
"object": {
|
432
|
+
"value": "object1",
|
433
|
+
"unknown": true,
|
434
|
+
"text": "object1",
|
432
435
|
"marker": "unknown",
|
436
|
+
"word": "object1",
|
433
437
|
"range": {
|
434
438
|
"start": 17,
|
435
439
|
"end": 23
|
436
440
|
},
|
437
|
-
"word": "object1",
|
438
|
-
"text": "object1",
|
439
|
-
"value": "object1",
|
440
|
-
"unknown": true,
|
441
441
|
"dead": true,
|
442
442
|
"types": [
|
443
443
|
"unknown"
|
@@ -446,15 +446,15 @@
|
|
446
446
|
},
|
447
447
|
"objects": [
|
448
448
|
{
|
449
|
+
"value": "property1",
|
450
|
+
"unknown": true,
|
451
|
+
"text": "the property1",
|
449
452
|
"marker": "property",
|
453
|
+
"word": "property1",
|
450
454
|
"range": {
|
451
455
|
"start": 0,
|
452
456
|
"end": 12
|
453
457
|
},
|
454
|
-
"word": "property1",
|
455
|
-
"text": "the property1",
|
456
|
-
"value": "property1",
|
457
|
-
"unknown": true,
|
458
458
|
"dead": true,
|
459
459
|
"types": [
|
460
460
|
"property",
|
@@ -471,15 +471,15 @@
|
|
471
471
|
"level": 1
|
472
472
|
},
|
473
473
|
{
|
474
|
+
"value": "object1",
|
475
|
+
"unknown": true,
|
476
|
+
"text": "object1",
|
474
477
|
"marker": "unknown",
|
478
|
+
"word": "object1",
|
475
479
|
"range": {
|
476
480
|
"start": 17,
|
477
481
|
"end": 23
|
478
482
|
},
|
479
|
-
"word": "object1",
|
480
|
-
"text": "object1",
|
481
|
-
"value": "object1",
|
482
|
-
"unknown": true,
|
483
483
|
"dead": true,
|
484
484
|
"types": [
|
485
485
|
"unknown"
|
@@ -490,15 +490,15 @@
|
|
490
490
|
"level": 1
|
491
491
|
},
|
492
492
|
"two": {
|
493
|
+
"value": "value1",
|
494
|
+
"unknown": true,
|
495
|
+
"text": "value1",
|
493
496
|
"marker": "unknown",
|
497
|
+
"word": "value1",
|
494
498
|
"range": {
|
495
499
|
"start": 28,
|
496
500
|
"end": 33
|
497
501
|
},
|
498
|
-
"word": "value1",
|
499
|
-
"text": "value1",
|
500
|
-
"value": "value1",
|
501
|
-
"unknown": true,
|
502
502
|
"dead": true,
|
503
503
|
"types": [
|
504
504
|
"unknown"
|
@@ -611,20 +611,6 @@
|
|
611
611
|
1
|
612
612
|
]
|
613
613
|
],
|
614
|
-
[
|
615
|
-
[
|
616
|
-
"is",
|
617
|
-
0
|
618
|
-
],
|
619
|
-
[
|
620
|
-
"the",
|
621
|
-
0
|
622
|
-
],
|
623
|
-
[
|
624
|
-
"unknown",
|
625
|
-
0
|
626
|
-
]
|
627
|
-
],
|
628
614
|
[
|
629
615
|
[
|
630
616
|
"is",
|
@@ -732,20 +718,6 @@
|
|
732
718
|
1
|
733
719
|
]
|
734
720
|
],
|
735
|
-
[
|
736
|
-
[
|
737
|
-
"is",
|
738
|
-
0
|
739
|
-
],
|
740
|
-
[
|
741
|
-
"the",
|
742
|
-
0
|
743
|
-
],
|
744
|
-
[
|
745
|
-
"unknown",
|
746
|
-
0
|
747
|
-
]
|
748
|
-
],
|
749
721
|
[
|
750
722
|
[
|
751
723
|
"is",
|
package/common/properties.js
CHANGED
@@ -172,14 +172,19 @@ let configStruct = {
|
|
172
172
|
{ id: "objectPrefix", level: 0, bridge: '{ ...after[0], object: operator, objects: [after[0], operator] }' },
|
173
173
|
],
|
174
174
|
words: {
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
175
|
+
literals: {
|
176
|
+
"<<possession>>": [{ id: 'possession', initial: "{ value: 'possession' }" }],
|
177
|
+
" 's": [{ id: 'possession', initial: "{ value: 'possession' }" }],
|
178
|
+
"have": [{ id: 'have', initial: "{ doesable: true, number: 'many' }" }],
|
179
|
+
"has": [{ id: 'have', initial: "{ doesable: true, number: 'one' }" }],
|
180
|
+
"dont": [{ id: 'doesnt', initial: "{ number: 'many' }" }],
|
181
|
+
"doesnt": [{ id: 'doesnt', initial: "{ number: 'one' }" }],
|
182
|
+
// "my": [{ id: 'objectPrefix', initial: "{ value: 'other' }" }],
|
183
|
+
// "your": [{ id: 'objectPrefix', initial: "{ value: 'self' }" }],
|
184
|
+
},
|
185
|
+
patterns: [
|
186
|
+
{ "pattern": ["'s"], defs: [{id: "possession", uuid: '1', initial: "{ value: 'possession' }" }]},
|
187
|
+
],
|
183
188
|
},
|
184
189
|
priorities: [
|
185
190
|
{ "context": [['list', 0], ['between', 0], ], "choose": [0] },
|