tpmkms_4wp 9.1.1 → 9.2.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/common/animals.instance.json +13 -0
- package/common/articles.js +3 -0
- package/common/asking.test.json +193 -72
- package/common/avatar.js +0 -6
- package/common/colors.instance.json +42 -0
- package/common/comparable.instance.json +3 -0
- package/common/comparable.js +6 -0
- package/common/concept.js +1 -1
- package/common/crew.instance.json +26 -39
- package/common/crew.js +0 -7
- package/common/dialogues.js +2 -1
- package/common/dimension.instance.json +1 -0
- package/common/edible.instance.json +92 -0
- package/common/emotions.instance.json +1 -0
- package/common/events.js +3 -3
- package/common/events.test.json +107 -36
- package/common/fastfood.instance.json +1053 -12554
- package/common/fastfood.js +2 -1
- package/common/formulas.instance.json +1 -0
- package/common/formulas.js +3 -1
- package/common/formulas.test.json +643 -711
- package/common/helpers/concept.js +6 -2
- package/common/helpers/dialogues.js +1 -1
- package/common/helpers/menus.js +154 -0
- package/common/helpers.js +16 -0
- package/common/kirk.instance.json +1 -0
- package/common/length.instance.json +15 -0
- package/common/math.instance.json +1 -0
- package/common/menus.instance.json +10097 -0
- package/common/menus.js +260 -0
- package/common/menus.test.json +26163 -0
- package/common/negation.js +5 -0
- package/common/ordering.instance.json +2 -0
- package/common/people.instance.json +96 -8
- package/common/pipboy.instance.json +105 -123
- package/common/pipboy.js +0 -7
- package/common/pokemon.instance.json +13 -8
- package/common/pressure.instance.json +4 -0
- package/common/properties.instance.json +1 -0
- package/common/properties.js +1 -0
- package/common/reports.instance.json +18 -23
- package/common/reports.js +12 -3
- package/common/sdefaults.js +28 -3
- package/common/spock.instance.json +1 -0
- package/common/stm.js +2 -1
- package/common/temperature.instance.json +4 -0
- package/common/tester.js +24 -2
- package/common/ui.instance.json +446 -0
- package/common/ui.js +9 -4
- package/common/ui.test.json +6794 -0
- package/common/weight.instance.json +14 -0
- package/common/wp.instance.json +6262 -2
- package/main.js +2 -0
- package/package.json +8 -3
package/common/avatar.js
CHANGED
@@ -518,6 +518,7 @@
|
|
518
518
|
"level": 1,
|
519
519
|
"context_index": 1,
|
520
520
|
"topLevel": true,
|
521
|
+
"context_id": 2,
|
521
522
|
"touchedBy": [
|
522
523
|
"colors#call2"
|
523
524
|
]
|
@@ -1153,6 +1154,7 @@
|
|
1153
1154
|
"level": 2,
|
1154
1155
|
"context_index": 1,
|
1155
1156
|
"topLevel": true,
|
1157
|
+
"context_id": 2,
|
1156
1158
|
"touchedBy": [
|
1157
1159
|
"colors#call2"
|
1158
1160
|
]
|
@@ -3543,6 +3545,7 @@
|
|
3543
3545
|
"level": 2,
|
3544
3546
|
"context_index": 1,
|
3545
3547
|
"topLevel": true,
|
3548
|
+
"context_id": 2,
|
3546
3549
|
"touchedBy": [
|
3547
3550
|
"colors#call2"
|
3548
3551
|
]
|
@@ -3596,6 +3599,20 @@
|
|
3596
3599
|
0
|
3597
3600
|
]
|
3598
3601
|
],
|
3602
|
+
[
|
3603
|
+
[
|
3604
|
+
"is",
|
3605
|
+
0
|
3606
|
+
],
|
3607
|
+
[
|
3608
|
+
"list",
|
3609
|
+
1
|
3610
|
+
],
|
3611
|
+
[
|
3612
|
+
"unknown",
|
3613
|
+
0
|
3614
|
+
]
|
3615
|
+
],
|
3599
3616
|
[
|
3600
3617
|
[
|
3601
3618
|
"is",
|
@@ -9231,6 +9248,7 @@
|
|
9231
9248
|
"level": 2,
|
9232
9249
|
"context_index": 1,
|
9233
9250
|
"topLevel": true,
|
9251
|
+
"context_id": 2,
|
9234
9252
|
"touchedBy": [
|
9235
9253
|
"colors#call2"
|
9236
9254
|
]
|
@@ -10683,6 +10701,7 @@
|
|
10683
10701
|
"level": 2,
|
10684
10702
|
"context_index": 1,
|
10685
10703
|
"topLevel": true,
|
10704
|
+
"context_id": 2,
|
10686
10705
|
"touchedBy": [
|
10687
10706
|
"colors#call2"
|
10688
10707
|
]
|
@@ -12671,6 +12690,7 @@
|
|
12671
12690
|
"level": 2,
|
12672
12691
|
"context_index": 1,
|
12673
12692
|
"topLevel": true,
|
12693
|
+
"context_id": 2,
|
12674
12694
|
"touchedBy": [
|
12675
12695
|
"colors#call2"
|
12676
12696
|
]
|
@@ -15481,6 +15501,7 @@
|
|
15481
15501
|
"level": 2,
|
15482
15502
|
"context_index": 1,
|
15483
15503
|
"topLevel": true,
|
15504
|
+
"context_id": 2,
|
15484
15505
|
"touchedBy": [
|
15485
15506
|
"colors#call2"
|
15486
15507
|
]
|
@@ -18617,6 +18638,7 @@
|
|
18617
18638
|
"level": 2,
|
18618
18639
|
"context_index": 1,
|
18619
18640
|
"topLevel": true,
|
18641
|
+
"context_id": 2,
|
18620
18642
|
"touchedBy": [
|
18621
18643
|
"colors#call2"
|
18622
18644
|
]
|
@@ -22062,6 +22084,7 @@
|
|
22062
22084
|
"level": 2,
|
22063
22085
|
"context_index": 1,
|
22064
22086
|
"topLevel": true,
|
22087
|
+
"context_id": 2,
|
22065
22088
|
"touchedBy": [
|
22066
22089
|
"colors#call2"
|
22067
22090
|
]
|
@@ -25007,6 +25030,7 @@
|
|
25007
25030
|
"level": 2,
|
25008
25031
|
"context_index": 1,
|
25009
25032
|
"topLevel": true,
|
25033
|
+
"context_id": 2,
|
25010
25034
|
"touchedBy": [
|
25011
25035
|
"colors#call2"
|
25012
25036
|
]
|
@@ -28173,6 +28197,7 @@
|
|
28173
28197
|
"level": 2,
|
28174
28198
|
"context_index": 1,
|
28175
28199
|
"topLevel": true,
|
28200
|
+
"context_id": 2,
|
28176
28201
|
"touchedBy": [
|
28177
28202
|
"colors#call2"
|
28178
28203
|
]
|
@@ -30600,6 +30625,7 @@
|
|
30600
30625
|
"level": 1,
|
30601
30626
|
"context_index": 1,
|
30602
30627
|
"topLevel": true,
|
30628
|
+
"context_id": 2,
|
30603
30629
|
"touchedBy": [
|
30604
30630
|
"colors#call2"
|
30605
30631
|
]
|
@@ -32822,6 +32848,7 @@
|
|
32822
32848
|
"level": 1,
|
32823
32849
|
"context_index": 1,
|
32824
32850
|
"topLevel": true,
|
32851
|
+
"context_id": 2,
|
32825
32852
|
"touchedBy": [
|
32826
32853
|
"colors#call2"
|
32827
32854
|
]
|
@@ -35172,6 +35199,7 @@
|
|
35172
35199
|
"level": 0,
|
35173
35200
|
"context_index": 1,
|
35174
35201
|
"topLevel": true,
|
35202
|
+
"context_id": 2,
|
35175
35203
|
"touchedBy": [
|
35176
35204
|
"colors#call2"
|
35177
35205
|
]
|
@@ -36077,6 +36105,20 @@
|
|
36077
36105
|
0
|
36078
36106
|
]
|
36079
36107
|
],
|
36108
|
+
[
|
36109
|
+
[
|
36110
|
+
"is",
|
36111
|
+
0
|
36112
|
+
],
|
36113
|
+
[
|
36114
|
+
"list",
|
36115
|
+
1
|
36116
|
+
],
|
36117
|
+
[
|
36118
|
+
"unknown",
|
36119
|
+
0
|
36120
|
+
]
|
36121
|
+
],
|
36080
36122
|
[
|
36081
36123
|
[
|
36082
36124
|
"is",
|
@@ -388,6 +388,7 @@
|
|
388
388
|
"level": 1,
|
389
389
|
"context_index": 1,
|
390
390
|
"topLevel": true,
|
391
|
+
"context_id": 2,
|
391
392
|
"touchedBy": [
|
392
393
|
"comparable#call2"
|
393
394
|
]
|
@@ -1036,6 +1037,7 @@
|
|
1036
1037
|
"level": 2,
|
1037
1038
|
"context_index": 1,
|
1038
1039
|
"topLevel": true,
|
1040
|
+
"context_id": 2,
|
1039
1041
|
"touchedBy": [
|
1040
1042
|
"comparable#call2"
|
1041
1043
|
]
|
@@ -1860,6 +1862,7 @@
|
|
1860
1862
|
"level": 2,
|
1861
1863
|
"context_index": 1,
|
1862
1864
|
"topLevel": true,
|
1865
|
+
"context_id": 2,
|
1863
1866
|
"touchedBy": [
|
1864
1867
|
"comparable#call2"
|
1865
1868
|
]
|
package/common/comparable.js
CHANGED
@@ -16,6 +16,12 @@ const config = {
|
|
16
16
|
"([lowest])",
|
17
17
|
// "((comparable/*) <sortOrdering|>)",
|
18
18
|
],
|
19
|
+
associations: {
|
20
|
+
positive: [
|
21
|
+
{ context: [["article", 0], ["condition",0],["comparable",0]], choose: 1 },
|
22
|
+
{ context: [["article", 0], ["condition",0],["comparable",1]], choose: 1 },
|
23
|
+
]
|
24
|
+
},
|
19
25
|
bridges: [
|
20
26
|
{
|
21
27
|
id: "compare",
|
package/common/concept.js
CHANGED
@@ -17,7 +17,7 @@ const concept_instance = require('./concept.instance.json')
|
|
17
17
|
config = {
|
18
18
|
name: 'concept',
|
19
19
|
operators: [
|
20
|
-
"((
|
20
|
+
"((punctuation != true)* [modifies|] (_any))",
|
21
21
|
"([concept])",
|
22
22
|
"([literally] (modifies/0))",
|
23
23
|
],
|
@@ -25,25 +25,6 @@
|
|
25
25
|
"spock is readonly",
|
26
26
|
"mccoy is readonly",
|
27
27
|
"arm the weapon means the status of the weapon is armed",
|
28
|
-
{
|
29
|
-
"associations": {
|
30
|
-
"positive": [
|
31
|
-
{
|
32
|
-
"context": [
|
33
|
-
[
|
34
|
-
"not",
|
35
|
-
0
|
36
|
-
],
|
37
|
-
[
|
38
|
-
"unknown",
|
39
|
-
0
|
40
|
-
]
|
41
|
-
],
|
42
|
-
"choose": 1
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
46
|
-
},
|
47
28
|
"disarm the weapon means the status of the weapon is not armed"
|
48
29
|
],
|
49
30
|
"resultss": [
|
@@ -1069,6 +1050,7 @@
|
|
1069
1050
|
"level": 1,
|
1070
1051
|
"context_index": 1,
|
1071
1052
|
"topLevel": true,
|
1053
|
+
"context_id": 2,
|
1072
1054
|
"touchedBy": [
|
1073
1055
|
"crew#call2"
|
1074
1056
|
]
|
@@ -2527,6 +2509,7 @@
|
|
2527
2509
|
"level": 2,
|
2528
2510
|
"context_index": 1,
|
2529
2511
|
"topLevel": true,
|
2512
|
+
"context_id": 2,
|
2530
2513
|
"touchedBy": [
|
2531
2514
|
"crew#call2"
|
2532
2515
|
]
|
@@ -4227,6 +4210,7 @@
|
|
4227
4210
|
"level": 2,
|
4228
4211
|
"context_index": 1,
|
4229
4212
|
"topLevel": true,
|
4213
|
+
"context_id": 2,
|
4230
4214
|
"touchedBy": [
|
4231
4215
|
"crew#call2"
|
4232
4216
|
]
|
@@ -5927,6 +5911,7 @@
|
|
5927
5911
|
"level": 2,
|
5928
5912
|
"context_index": 1,
|
5929
5913
|
"topLevel": true,
|
5914
|
+
"context_id": 2,
|
5930
5915
|
"touchedBy": [
|
5931
5916
|
"crew#call2"
|
5932
5917
|
]
|
@@ -7548,6 +7533,7 @@
|
|
7548
7533
|
"level": 2,
|
7549
7534
|
"context_index": 1,
|
7550
7535
|
"topLevel": true,
|
7536
|
+
"context_id": 2,
|
7551
7537
|
"touchedBy": [
|
7552
7538
|
"crew#call2"
|
7553
7539
|
]
|
@@ -9128,6 +9114,7 @@
|
|
9128
9114
|
"level": 2,
|
9129
9115
|
"context_index": 1,
|
9130
9116
|
"topLevel": true,
|
9117
|
+
"context_id": 2,
|
9131
9118
|
"touchedBy": [
|
9132
9119
|
"crew#call2"
|
9133
9120
|
]
|
@@ -10806,6 +10793,7 @@
|
|
10806
10793
|
"level": 2,
|
10807
10794
|
"context_index": 1,
|
10808
10795
|
"topLevel": true,
|
10796
|
+
"context_id": 2,
|
10809
10797
|
"touchedBy": [
|
10810
10798
|
"crew#call2"
|
10811
10799
|
]
|
@@ -12586,6 +12574,7 @@
|
|
12586
12574
|
"level": 2,
|
12587
12575
|
"context_index": 1,
|
12588
12576
|
"topLevel": true,
|
12577
|
+
"context_id": 2,
|
12589
12578
|
"touchedBy": [
|
12590
12579
|
"crew#call2"
|
12591
12580
|
]
|
@@ -14366,6 +14355,7 @@
|
|
14366
14355
|
"level": 2,
|
14367
14356
|
"context_index": 1,
|
14368
14357
|
"topLevel": true,
|
14358
|
+
"context_id": 2,
|
14369
14359
|
"touchedBy": [
|
14370
14360
|
"crew#call2"
|
14371
14361
|
]
|
@@ -16067,6 +16057,7 @@
|
|
16067
16057
|
"level": 2,
|
16068
16058
|
"context_index": 1,
|
16069
16059
|
"topLevel": true,
|
16060
|
+
"context_id": 2,
|
16070
16061
|
"touchedBy": [
|
16071
16062
|
"crew#call2"
|
16072
16063
|
]
|
@@ -17727,6 +17718,7 @@
|
|
17727
17718
|
"level": 2,
|
17728
17719
|
"context_index": 1,
|
17729
17720
|
"topLevel": true,
|
17721
|
+
"context_id": 2,
|
17730
17722
|
"touchedBy": [
|
17731
17723
|
"crew#call2"
|
17732
17724
|
]
|
@@ -19485,6 +19477,7 @@
|
|
19485
19477
|
"level": 2,
|
19486
19478
|
"context_index": 1,
|
19487
19479
|
"topLevel": true,
|
19480
|
+
"context_id": 2,
|
19488
19481
|
"touchedBy": [
|
19489
19482
|
"crew#call2"
|
19490
19483
|
]
|
@@ -21359,6 +21352,7 @@
|
|
21359
21352
|
"level": 2,
|
21360
21353
|
"context_index": 1,
|
21361
21354
|
"topLevel": true,
|
21355
|
+
"context_id": 2,
|
21362
21356
|
"touchedBy": [
|
21363
21357
|
"crew#call2"
|
21364
21358
|
]
|
@@ -23219,6 +23213,7 @@
|
|
23219
23213
|
"level": 2,
|
23220
23214
|
"context_index": 1,
|
23221
23215
|
"topLevel": true,
|
23216
|
+
"context_id": 2,
|
23222
23217
|
"touchedBy": [
|
23223
23218
|
"crew#call2"
|
23224
23219
|
]
|
@@ -25033,6 +25028,7 @@
|
|
25033
25028
|
"level": 2,
|
25034
25029
|
"context_index": 1,
|
25035
25030
|
"topLevel": true,
|
25031
|
+
"context_id": 2,
|
25036
25032
|
"touchedBy": [
|
25037
25033
|
"crew#call2"
|
25038
25034
|
]
|
@@ -26746,6 +26742,7 @@
|
|
26746
26742
|
"level": 2,
|
26747
26743
|
"context_index": 1,
|
26748
26744
|
"topLevel": true,
|
26745
|
+
"context_id": 2,
|
26749
26746
|
"touchedBy": [
|
26750
26747
|
"crew#call2"
|
26751
26748
|
]
|
@@ -28626,6 +28623,7 @@
|
|
28626
28623
|
"level": 2,
|
28627
28624
|
"context_index": 1,
|
28628
28625
|
"topLevel": true,
|
28626
|
+
"context_id": 2,
|
28629
28627
|
"touchedBy": [
|
28630
28628
|
"crew#call2"
|
28631
28629
|
]
|
@@ -30609,6 +30607,7 @@
|
|
30609
30607
|
"level": 1,
|
30610
30608
|
"context_index": 1,
|
30611
30609
|
"topLevel": true,
|
30610
|
+
"context_id": 2,
|
30612
30611
|
"touchedBy": [
|
30613
30612
|
"crew#call2"
|
30614
30613
|
]
|
@@ -32566,6 +32565,7 @@
|
|
32566
32565
|
"level": 2,
|
32567
32566
|
"context_index": 1,
|
32568
32567
|
"topLevel": true,
|
32568
|
+
"context_id": 2,
|
32569
32569
|
"touchedBy": [
|
32570
32570
|
"crew#call2"
|
32571
32571
|
]
|
@@ -34758,6 +34758,7 @@
|
|
34758
34758
|
"level": 2,
|
34759
34759
|
"context_index": 1,
|
34760
34760
|
"topLevel": true,
|
34761
|
+
"context_id": 2,
|
34761
34762
|
"touchedBy": [
|
34762
34763
|
"crew#call2"
|
34763
34764
|
]
|
@@ -36493,6 +36494,7 @@
|
|
36493
36494
|
"level": 2,
|
36494
36495
|
"context_index": 1,
|
36495
36496
|
"topLevel": true,
|
36497
|
+
"context_id": 2,
|
36496
36498
|
"touchedBy": [
|
36497
36499
|
"crew#call2"
|
36498
36500
|
]
|
@@ -38226,6 +38228,7 @@
|
|
38226
38228
|
"level": 2,
|
38227
38229
|
"context_index": 1,
|
38228
38230
|
"topLevel": true,
|
38231
|
+
"context_id": 2,
|
38229
38232
|
"touchedBy": [
|
38230
38233
|
"crew#call2"
|
38231
38234
|
]
|
@@ -39924,6 +39927,7 @@
|
|
39924
39927
|
"level": 2,
|
39925
39928
|
"context_index": 1,
|
39926
39929
|
"topLevel": true,
|
39930
|
+
"context_id": 2,
|
39927
39931
|
"touchedBy": [
|
39928
39932
|
"crew#call2"
|
39929
39933
|
]
|
@@ -41622,6 +41626,7 @@
|
|
41622
41626
|
"level": 2,
|
41623
41627
|
"context_index": 1,
|
41624
41628
|
"topLevel": true,
|
41629
|
+
"context_id": 2,
|
41625
41630
|
"touchedBy": [
|
41626
41631
|
"crew#call2"
|
41627
41632
|
]
|
@@ -43807,6 +43812,7 @@
|
|
43807
43812
|
"level": 1,
|
43808
43813
|
"context_index": 1,
|
43809
43814
|
"topLevel": true,
|
43815
|
+
"context_id": 2,
|
43810
43816
|
"metaInfo": "The mapping from from the expression being defined \"arm the weapon\" to the definition phrase \"the status of the weapon is armed\" is [{\"from\":[\"weapon\"],\"to\":[\"one\",\"object\"]},{\"from\":[\"number\"],\"to\":[\"number\"]}]",
|
43811
43817
|
"touchedBy": [
|
43812
43818
|
"crew#call2"
|
@@ -45056,26 +45062,6 @@
|
|
45056
45062
|
"query": "arm the weapon means the status of the weapon is armed"
|
45057
45063
|
}
|
45058
45064
|
},
|
45059
|
-
{
|
45060
|
-
"extraConfig": true,
|
45061
|
-
"associations": {
|
45062
|
-
"positive": [
|
45063
|
-
{
|
45064
|
-
"context": [
|
45065
|
-
[
|
45066
|
-
"not",
|
45067
|
-
0
|
45068
|
-
],
|
45069
|
-
[
|
45070
|
-
"unknown",
|
45071
|
-
0
|
45072
|
-
]
|
45073
|
-
],
|
45074
|
-
"choose": 1
|
45075
|
-
}
|
45076
|
-
]
|
45077
|
-
}
|
45078
|
-
},
|
45079
45065
|
{
|
45080
45066
|
"hierarchy": [
|
45081
45067
|
[
|
@@ -47179,6 +47165,7 @@
|
|
47179
47165
|
"level": 1,
|
47180
47166
|
"context_index": 1,
|
47181
47167
|
"topLevel": true,
|
47168
|
+
"context_id": 2,
|
47182
47169
|
"metaInfo": "The mapping from from the expression being defined \"disarm the weapon\" to the definition phrase \"the status of the weapon is not armed\" is [{\"from\":[\"weapon\"],\"to\":[\"one\",\"object\"]},{\"from\":[\"number\"],\"to\":[\"number\"]}]",
|
47183
47170
|
"touchedBy": [
|
47184
47171
|
"crew#call2"
|
package/common/crew.js
CHANGED
@@ -33,13 +33,6 @@ const template = {
|
|
33
33
|
"spock is readonly",
|
34
34
|
"mccoy is readonly",
|
35
35
|
"arm the weapon means the status of the weapon is armed",
|
36
|
-
{
|
37
|
-
associations: {
|
38
|
-
positive: [
|
39
|
-
{ context: [["not",0],["unknown",0]], choose: 1 },
|
40
|
-
]
|
41
|
-
},
|
42
|
-
},
|
43
36
|
"disarm the weapon means the status of the weapon is not armed",
|
44
37
|
],
|
45
38
|
};
|
package/common/dialogues.js
CHANGED