ekms 8.6.0 → 8.7.0-beta.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 +58 -2
- package/common/colors.instance.json +171 -179
- package/common/crew.instance.json +18 -194
- package/common/dialogues.js +12 -1
- package/common/edible.instance.json +54 -42
- package/common/fastfood.instance.json +1111 -908
- package/common/numbers.js +15 -3
- package/common/ordering.instance.json +0 -52
- package/common/people.instance.json +146 -1
- package/common/people.js +12 -0
- package/common/pipboy.instance.json +70 -58
- package/common/pipboy.js +1 -0
- package/common/reports.instance.json +1 -1
- package/common/tokenize.js +1 -1
- package/common/weight.instance.json +46 -2
- package/package.json +2 -2
package/common/numbers.js
CHANGED
@@ -51,9 +51,21 @@ let config = {
|
|
51
51
|
"tens": [{"id": "integer", "initial": "{ value: 10, integer: 'many', instance: true }" }],
|
52
52
|
},
|
53
53
|
patterns: [
|
54
|
-
{
|
55
|
-
|
56
|
-
|
54
|
+
{
|
55
|
+
pattern: [{ type: 'digit' }, { repeat: true }],
|
56
|
+
allow_partial_matches: false,
|
57
|
+
defs: [{id: "integer", uuid: '1', initial: "{ value: int(text), instance: true }" }]
|
58
|
+
},
|
59
|
+
{
|
60
|
+
pattern: [{ type: 'digit' }, { repeat: true }, '.', { type: 'digit' }, { repeat: true }],
|
61
|
+
allow_partial_matches: false,
|
62
|
+
defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]
|
63
|
+
},
|
64
|
+
{
|
65
|
+
pattern: ['.', { type: 'digit' }, { repeat: true }],
|
66
|
+
allow_partial_matches: false,
|
67
|
+
defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]
|
68
|
+
},
|
57
69
|
],
|
58
70
|
},
|
59
71
|
|
@@ -730,32 +730,6 @@
|
|
730
730
|
0
|
731
731
|
]
|
732
732
|
],
|
733
|
-
[
|
734
|
-
[
|
735
|
-
"between",
|
736
|
-
0
|
737
|
-
],
|
738
|
-
[
|
739
|
-
"is",
|
740
|
-
0
|
741
|
-
],
|
742
|
-
[
|
743
|
-
"list",
|
744
|
-
0
|
745
|
-
],
|
746
|
-
[
|
747
|
-
"unknown",
|
748
|
-
0
|
749
|
-
],
|
750
|
-
[
|
751
|
-
"unknown",
|
752
|
-
1
|
753
|
-
],
|
754
|
-
[
|
755
|
-
"xfx",
|
756
|
-
0
|
757
|
-
]
|
758
|
-
],
|
759
733
|
[
|
760
734
|
[
|
761
735
|
"between",
|
@@ -2279,32 +2253,6 @@
|
|
2279
2253
|
0
|
2280
2254
|
]
|
2281
2255
|
],
|
2282
|
-
[
|
2283
|
-
[
|
2284
|
-
"between",
|
2285
|
-
0
|
2286
|
-
],
|
2287
|
-
[
|
2288
|
-
"is",
|
2289
|
-
0
|
2290
|
-
],
|
2291
|
-
[
|
2292
|
-
"list",
|
2293
|
-
0
|
2294
|
-
],
|
2295
|
-
[
|
2296
|
-
"unknown",
|
2297
|
-
0
|
2298
|
-
],
|
2299
|
-
[
|
2300
|
-
"unknown",
|
2301
|
-
1
|
2302
|
-
],
|
2303
|
-
[
|
2304
|
-
"xfx",
|
2305
|
-
0
|
2306
|
-
]
|
2307
|
-
],
|
2308
2256
|
[
|
2309
2257
|
[
|
2310
2258
|
"between",
|
@@ -5,7 +5,79 @@
|
|
5
5
|
"surname means last name",
|
6
6
|
"given modifies name",
|
7
7
|
"given name means first name",
|
8
|
-
"ownee is owned by owner means owner owns ownee"
|
8
|
+
"ownee is owned by owner means owner owns ownee",
|
9
|
+
{
|
10
|
+
"associations": {
|
11
|
+
"positive": [
|
12
|
+
[
|
13
|
+
[
|
14
|
+
"unknown",
|
15
|
+
0
|
16
|
+
],
|
17
|
+
[
|
18
|
+
"is",
|
19
|
+
0
|
20
|
+
],
|
21
|
+
[
|
22
|
+
"unknown",
|
23
|
+
0
|
24
|
+
],
|
25
|
+
[
|
26
|
+
"owned",
|
27
|
+
0
|
28
|
+
],
|
29
|
+
[
|
30
|
+
"by",
|
31
|
+
0
|
32
|
+
]
|
33
|
+
],
|
34
|
+
[
|
35
|
+
[
|
36
|
+
"unknown",
|
37
|
+
1
|
38
|
+
],
|
39
|
+
[
|
40
|
+
"is",
|
41
|
+
0
|
42
|
+
],
|
43
|
+
[
|
44
|
+
"unknown",
|
45
|
+
0
|
46
|
+
],
|
47
|
+
[
|
48
|
+
"owned",
|
49
|
+
0
|
50
|
+
],
|
51
|
+
[
|
52
|
+
"by",
|
53
|
+
0
|
54
|
+
]
|
55
|
+
],
|
56
|
+
[
|
57
|
+
[
|
58
|
+
"unknown",
|
59
|
+
1
|
60
|
+
],
|
61
|
+
[
|
62
|
+
"is",
|
63
|
+
0
|
64
|
+
],
|
65
|
+
[
|
66
|
+
"unknown",
|
67
|
+
1
|
68
|
+
],
|
69
|
+
[
|
70
|
+
"owned",
|
71
|
+
0
|
72
|
+
],
|
73
|
+
[
|
74
|
+
"by",
|
75
|
+
0
|
76
|
+
]
|
77
|
+
]
|
78
|
+
]
|
79
|
+
}
|
80
|
+
}
|
9
81
|
],
|
10
82
|
"resultss": [
|
11
83
|
{
|
@@ -4799,6 +4871,79 @@
|
|
4799
4871
|
"key": {
|
4800
4872
|
"query": "ownee is owned by owner means owner owns ownee"
|
4801
4873
|
}
|
4874
|
+
},
|
4875
|
+
{
|
4876
|
+
"extraConfig": true,
|
4877
|
+
"associations": {
|
4878
|
+
"positive": [
|
4879
|
+
[
|
4880
|
+
[
|
4881
|
+
"unknown",
|
4882
|
+
0
|
4883
|
+
],
|
4884
|
+
[
|
4885
|
+
"is",
|
4886
|
+
0
|
4887
|
+
],
|
4888
|
+
[
|
4889
|
+
"unknown",
|
4890
|
+
0
|
4891
|
+
],
|
4892
|
+
[
|
4893
|
+
"owned",
|
4894
|
+
0
|
4895
|
+
],
|
4896
|
+
[
|
4897
|
+
"by",
|
4898
|
+
0
|
4899
|
+
]
|
4900
|
+
],
|
4901
|
+
[
|
4902
|
+
[
|
4903
|
+
"unknown",
|
4904
|
+
1
|
4905
|
+
],
|
4906
|
+
[
|
4907
|
+
"is",
|
4908
|
+
0
|
4909
|
+
],
|
4910
|
+
[
|
4911
|
+
"unknown",
|
4912
|
+
0
|
4913
|
+
],
|
4914
|
+
[
|
4915
|
+
"owned",
|
4916
|
+
0
|
4917
|
+
],
|
4918
|
+
[
|
4919
|
+
"by",
|
4920
|
+
0
|
4921
|
+
]
|
4922
|
+
],
|
4923
|
+
[
|
4924
|
+
[
|
4925
|
+
"unknown",
|
4926
|
+
1
|
4927
|
+
],
|
4928
|
+
[
|
4929
|
+
"is",
|
4930
|
+
0
|
4931
|
+
],
|
4932
|
+
[
|
4933
|
+
"unknown",
|
4934
|
+
1
|
4935
|
+
],
|
4936
|
+
[
|
4937
|
+
"owned",
|
4938
|
+
0
|
4939
|
+
],
|
4940
|
+
[
|
4941
|
+
"by",
|
4942
|
+
0
|
4943
|
+
]
|
4944
|
+
]
|
4945
|
+
]
|
4946
|
+
}
|
4802
4947
|
}
|
4803
4948
|
],
|
4804
4949
|
"fragments": [
|
package/common/people.js
CHANGED
@@ -18,7 +18,18 @@ const template = {
|
|
18
18
|
"surname means last name",
|
19
19
|
"given modifies name",
|
20
20
|
"given name means first name",
|
21
|
+
// { stop: true },
|
21
22
|
"ownee is owned by owner means owner owns ownee",
|
23
|
+
{
|
24
|
+
associations: {
|
25
|
+
positive: [
|
26
|
+
[['unknown', 0], ['is', 0], ['unknown', 0], ['owned', 0], ['by', 0]],
|
27
|
+
[['unknown', 1], ['is', 0], ['unknown', 0], ['owned', 0], ['by', 0]],
|
28
|
+
[['unknown', 1], ['is', 0], ['unknown', 1], ['owned', 0], ['by', 0]],
|
29
|
+
// [['unknown', 0], ['isEd', 0] , ['unknown', 0], ['owned', 0], ['by', 0]]
|
30
|
+
]
|
31
|
+
},
|
32
|
+
},
|
22
33
|
// "the first name of greg is greg23",
|
23
34
|
// "ownee23 is owned by owner23",
|
24
35
|
// "cleo is a cat",
|
@@ -43,6 +54,7 @@ let config = {
|
|
43
54
|
hierarchy: [
|
44
55
|
['person', 'unknown'],
|
45
56
|
],
|
57
|
+
|
46
58
|
};
|
47
59
|
|
48
60
|
const initializer = ({baseConfig, context, apis, isModule}) => {
|
@@ -1477,7 +1477,7 @@
|
|
1477
1477
|
],
|
1478
1478
|
"ops": [
|
1479
1479
|
[
|
1480
|
-
"
|
1480
|
+
"isEd",
|
1481
1481
|
0
|
1482
1482
|
],
|
1483
1483
|
[
|
@@ -1494,7 +1494,7 @@
|
|
1494
1494
|
],
|
1495
1495
|
"ops": [
|
1496
1496
|
[
|
1497
|
-
"
|
1497
|
+
"isEd",
|
1498
1498
|
0
|
1499
1499
|
],
|
1500
1500
|
[
|
@@ -1744,10 +1744,6 @@
|
|
1744
1744
|
"list",
|
1745
1745
|
0
|
1746
1746
|
],
|
1747
|
-
[
|
1748
|
-
"unknown",
|
1749
|
-
0
|
1750
|
-
],
|
1751
1747
|
[
|
1752
1748
|
"unknown",
|
1753
1749
|
1
|
@@ -1760,7 +1756,7 @@
|
|
1760
1756
|
],
|
1761
1757
|
[
|
1762
1758
|
"list",
|
1763
|
-
|
1759
|
+
1
|
1764
1760
|
],
|
1765
1761
|
[
|
1766
1762
|
"unknown",
|
@@ -1768,10 +1764,6 @@
|
|
1768
1764
|
]
|
1769
1765
|
],
|
1770
1766
|
[
|
1771
|
-
[
|
1772
|
-
"is",
|
1773
|
-
0
|
1774
|
-
],
|
1775
1767
|
[
|
1776
1768
|
"list",
|
1777
1769
|
1
|
@@ -5689,6 +5681,20 @@
|
|
5689
5681
|
1
|
5690
5682
|
]
|
5691
5683
|
],
|
5684
|
+
[
|
5685
|
+
[
|
5686
|
+
"is",
|
5687
|
+
0
|
5688
|
+
],
|
5689
|
+
[
|
5690
|
+
"list",
|
5691
|
+
1
|
5692
|
+
],
|
5693
|
+
[
|
5694
|
+
"unknown",
|
5695
|
+
1
|
5696
|
+
]
|
5697
|
+
],
|
5692
5698
|
[
|
5693
5699
|
[
|
5694
5700
|
"is",
|
@@ -8408,24 +8414,6 @@
|
|
8408
8414
|
1
|
8409
8415
|
]
|
8410
8416
|
],
|
8411
|
-
[
|
8412
|
-
[
|
8413
|
-
"is",
|
8414
|
-
0
|
8415
|
-
],
|
8416
|
-
[
|
8417
|
-
"list",
|
8418
|
-
0
|
8419
|
-
],
|
8420
|
-
[
|
8421
|
-
"unknown",
|
8422
|
-
0
|
8423
|
-
],
|
8424
|
-
[
|
8425
|
-
"unknown",
|
8426
|
-
1
|
8427
|
-
]
|
8428
|
-
],
|
8429
8417
|
[
|
8430
8418
|
[
|
8431
8419
|
"is",
|
@@ -28025,7 +28013,7 @@
|
|
28025
28013
|
],
|
28026
28014
|
"ops": [
|
28027
28015
|
[
|
28028
|
-
"
|
28016
|
+
"isEd",
|
28029
28017
|
0
|
28030
28018
|
],
|
28031
28019
|
[
|
@@ -28054,7 +28042,7 @@
|
|
28054
28042
|
],
|
28055
28043
|
"ops": [
|
28056
28044
|
[
|
28057
|
-
"
|
28045
|
+
"isEd",
|
28058
28046
|
0
|
28059
28047
|
],
|
28060
28048
|
[
|
@@ -28083,7 +28071,7 @@
|
|
28083
28071
|
],
|
28084
28072
|
"ops": [
|
28085
28073
|
[
|
28086
|
-
"
|
28074
|
+
"isEd",
|
28087
28075
|
0
|
28088
28076
|
],
|
28089
28077
|
[
|
@@ -28112,7 +28100,7 @@
|
|
28112
28100
|
],
|
28113
28101
|
"ops": [
|
28114
28102
|
[
|
28115
|
-
"
|
28103
|
+
"isEd",
|
28116
28104
|
0
|
28117
28105
|
],
|
28118
28106
|
[
|
@@ -28141,7 +28129,7 @@
|
|
28141
28129
|
],
|
28142
28130
|
"ops": [
|
28143
28131
|
[
|
28144
|
-
"
|
28132
|
+
"isEd",
|
28145
28133
|
0
|
28146
28134
|
],
|
28147
28135
|
[
|
@@ -28170,7 +28158,7 @@
|
|
28170
28158
|
],
|
28171
28159
|
"ops": [
|
28172
28160
|
[
|
28173
|
-
"
|
28161
|
+
"isEd",
|
28174
28162
|
0
|
28175
28163
|
],
|
28176
28164
|
[
|
@@ -28634,6 +28622,24 @@
|
|
28634
28622
|
"list",
|
28635
28623
|
1
|
28636
28624
|
]
|
28625
|
+
],
|
28626
|
+
[
|
28627
|
+
[
|
28628
|
+
"item",
|
28629
|
+
0
|
28630
|
+
],
|
28631
|
+
[
|
28632
|
+
"list",
|
28633
|
+
1
|
28634
|
+
],
|
28635
|
+
[
|
28636
|
+
"property",
|
28637
|
+
0
|
28638
|
+
],
|
28639
|
+
[
|
28640
|
+
"unknown",
|
28641
|
+
1
|
28642
|
+
]
|
28637
28643
|
]
|
28638
28644
|
],
|
28639
28645
|
"learned_contextual_priorities": [],
|
@@ -29818,10 +29824,6 @@
|
|
29818
29824
|
"list",
|
29819
29825
|
0
|
29820
29826
|
],
|
29821
|
-
[
|
29822
|
-
"unknown",
|
29823
|
-
0
|
29824
|
-
],
|
29825
29827
|
[
|
29826
29828
|
"unknown",
|
29827
29829
|
1
|
@@ -29836,10 +29838,6 @@
|
|
29836
29838
|
"list",
|
29837
29839
|
0
|
29838
29840
|
],
|
29839
|
-
[
|
29840
|
-
"unknown",
|
29841
|
-
0
|
29842
|
-
],
|
29843
29841
|
[
|
29844
29842
|
"unknown",
|
29845
29843
|
1
|
@@ -29866,10 +29864,6 @@
|
|
29866
29864
|
],
|
29867
29865
|
[
|
29868
29866
|
"list",
|
29869
|
-
0
|
29870
|
-
],
|
29871
|
-
[
|
29872
|
-
"unknown",
|
29873
29867
|
1
|
29874
29868
|
]
|
29875
29869
|
],
|
@@ -29880,10 +29874,6 @@
|
|
29880
29874
|
],
|
29881
29875
|
[
|
29882
29876
|
"list",
|
29883
|
-
0
|
29884
|
-
],
|
29885
|
-
[
|
29886
|
-
"unknown",
|
29887
29877
|
1
|
29888
29878
|
]
|
29889
29879
|
],
|
@@ -29905,15 +29895,9 @@
|
|
29905
29895
|
[
|
29906
29896
|
"list",
|
29907
29897
|
1
|
29908
|
-
]
|
29909
|
-
],
|
29910
|
-
[
|
29911
|
-
[
|
29912
|
-
"is",
|
29913
|
-
0
|
29914
29898
|
],
|
29915
29899
|
[
|
29916
|
-
"
|
29900
|
+
"unknown",
|
29917
29901
|
1
|
29918
29902
|
]
|
29919
29903
|
],
|
@@ -30091,6 +30075,34 @@
|
|
30091
30075
|
0
|
30092
30076
|
]
|
30093
30077
|
],
|
30078
|
+
[
|
30079
|
+
[
|
30080
|
+
"item",
|
30081
|
+
0
|
30082
|
+
],
|
30083
|
+
[
|
30084
|
+
"list",
|
30085
|
+
1
|
30086
|
+
],
|
30087
|
+
[
|
30088
|
+
"property",
|
30089
|
+
0
|
30090
|
+
],
|
30091
|
+
[
|
30092
|
+
"unknown",
|
30093
|
+
1
|
30094
|
+
]
|
30095
|
+
],
|
30096
|
+
[
|
30097
|
+
[
|
30098
|
+
"list",
|
30099
|
+
1
|
30100
|
+
],
|
30101
|
+
[
|
30102
|
+
"unknown",
|
30103
|
+
1
|
30104
|
+
]
|
30105
|
+
],
|
30094
30106
|
[
|
30095
30107
|
[
|
30096
30108
|
"modifies",
|
package/common/pipboy.js
CHANGED
@@ -505,6 +505,7 @@ const template = {
|
|
505
505
|
configs: [
|
506
506
|
"pistols rifles grenades mines and shotguns are weapons",
|
507
507
|
"mines and grenades are explosives",
|
508
|
+
// { stop: true },
|
508
509
|
"explosives are weapons",
|
509
510
|
"pistols rifles and shotguns are firearms",
|
510
511
|
"firearms are weapons",
|