tpmkms_4wp 8.9.0 → 8.9.1-beta.1
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 +65 -36
- package/common/articles.js +4 -0
- package/common/colors.instance.json +77 -106
- package/common/comparable.instance.json +15 -0
- package/common/conjunction.js +27 -18
- package/common/countable.js +8 -2
- package/common/countable.test.json +586 -0
- package/common/crew.instance.json +142 -504
- package/common/dialogues.js +16 -11
- package/common/dimension.instance.json +10 -36
- package/common/edible.instance.json +324 -224
- package/common/emotions.instance.json +8 -60
- package/common/fastfood.instance.json +1464 -216
- package/common/formulas.instance.json +10 -0
- package/common/helpers/conjunction.js +75 -0
- package/common/helpers/dialogues.js +14 -8
- package/common/helpers/properties.js +2 -2
- package/common/helpers.js +29 -0
- package/common/hierarchy.js +5 -5
- package/common/hierarchy.test.json +1491 -0
- package/common/kirk.instance.json +5 -0
- package/common/length.instance.json +150 -0
- package/common/math.instance.json +10 -0
- package/common/meta.js +5 -3
- package/common/ordering.instance.json +78 -0
- package/common/people.instance.json +169 -4
- package/common/pipboy.instance.json +203 -177
- package/common/pipboy.js +0 -1
- package/common/pipboy.test.json +494 -251
- package/common/pokemon.instance.json +71 -6
- package/common/pos.js +12 -6
- package/common/pressure.instance.json +40 -0
- package/common/properties.instance.json +5 -44
- package/common/reports.instance.json +21 -1
- package/common/spock.instance.json +5 -0
- package/common/temperature.instance.json +40 -0
- package/common/ui.instance.json +135 -0
- package/common/ui.js +11 -5
- package/common/weight.instance.json +120 -0
- package/common/wp.instance.json +30067 -0
- package/common/wp.js +256 -0
- package/common/wp.test.json +41469 -0
- package/main.js +2 -0
- package/package.json +7 -2
package/common/dialogues.js
CHANGED
@@ -40,6 +40,7 @@ const warningSameNotEvaluated = (log, one) => {
|
|
40
40
|
let config = {
|
41
41
|
name: 'dialogues',
|
42
42
|
operators: [
|
43
|
+
"(<thatVerb|that> (verb/0))",
|
43
44
|
"([makeObject] (word))",
|
44
45
|
"([setIdSuffix] (word))",
|
45
46
|
"([resetIdSuffix])",
|
@@ -98,9 +99,9 @@ let config = {
|
|
98
99
|
// [['is', 0], ['means', 0]],
|
99
100
|
],
|
100
101
|
positive: [
|
101
|
-
// [['is', 0], ['unknown', 0]],
|
102
102
|
// [['is', 0], ['unknown', 1]],
|
103
103
|
// [['isEd', 0], ['means', 0]],
|
104
|
+
[['thatVerb', 0], ['verb', 0]],
|
104
105
|
[['isEdee', 0], ['isEd', 0], ['isEder', 0], ['by', 0]],
|
105
106
|
[['isEdee', 0], ['isEd', 0], ['isEdAble', 0]],
|
106
107
|
[['unknown', 1], ['isEd', 0], ['isEdAble', 0]],
|
@@ -110,6 +111,18 @@ let config = {
|
|
110
111
|
]
|
111
112
|
},
|
112
113
|
bridges: [
|
114
|
+
{
|
115
|
+
id: 'thatVerb',
|
116
|
+
before: ['verb'],
|
117
|
+
bridge: "{ ...after[0], verb: after[0], that: operator, generate: ['that', 'verb'], localPriorities: { before: [\"verb\"] }, bridge_override: { operator: after[0].marker, bridge: '{ ...bridge.subject, postModifiers: [\"condition\"], condition: bridge }' } }",
|
118
|
+
},
|
119
|
+
|
120
|
+
{
|
121
|
+
id: 'queryable',
|
122
|
+
children: [
|
123
|
+
'negatable'
|
124
|
+
],
|
125
|
+
},
|
113
126
|
{
|
114
127
|
id: 'makeObject',
|
115
128
|
bridge: "{ ...next(operator), object: after[0] }",
|
@@ -166,17 +179,7 @@ let config = {
|
|
166
179
|
{ id: "yesno", level: 0, bridge: "{ ...next(operator) }" },
|
167
180
|
{ id: "canBeQuestion", level: 0, bridge: "{ ...next(operator) }" },
|
168
181
|
{ id: "canBeQuestion", level: 1, bridge: "{ ...next(operator) }" },
|
169
|
-
// { id: "unknown", level: 0, bridge: "{ ...next(operator), unknown: true, dead: true }" },
|
170
|
-
// { id: "unknown", level: 1, bridge: "{ ...next(operator) }" },
|
171
|
-
// { id: "queryable", level: 0, bridge: "{ ...next(operator) }" },
|
172
182
|
{ id: "questionMark", level: 0, bridge: "{ ...before[0], query: [before.marker] }" },
|
173
|
-
// { id: "isEd", level: 0, bridge: "{ ...context, query: true }" },
|
174
|
-
// gregbug
|
175
|
-
// context.subject == ['owner'] but could be list of properties
|
176
|
-
// { id: "isEd", level: 0, bridge: "{ number: operator.number, ...context, [subject].number: operator.number }" },
|
177
|
-
// { id: "isEd", level: 0, bridge: "{ number: operator.number, ...context, properties(subject).number: operator.number }" },
|
178
|
-
// NO or symlink subject: link(current.ownee) // any other operator...
|
179
|
-
// NO { id: "isEd", level: 0, bridge: "{ number: operator.number, ...context, subject.number: operator.number }" },
|
180
183
|
{
|
181
184
|
id: "isEd",
|
182
185
|
level: 0,
|
@@ -324,6 +327,7 @@ let config = {
|
|
324
327
|
|
325
328
|
floaters: ['query'],
|
326
329
|
priorities: [
|
330
|
+
{ "context": [['is', 0], ['means', 0], ], "choose": [0] },
|
327
331
|
{ "context": [['is', 0], ['means', 0], ], "choose": [0] },
|
328
332
|
{ "context": [["what",0], ["does",0],], "choose": [0] },
|
329
333
|
{ "context": [["is",0], ["is",1],], "choose": [0] },
|
@@ -348,6 +352,7 @@ let config = {
|
|
348
352
|
['it', 'queryable'],
|
349
353
|
['what', 'queryable'],
|
350
354
|
['whatAble', 'queryable'],
|
355
|
+
['negatable', 'queryable'],
|
351
356
|
['is', 'canBeQuestion'],
|
352
357
|
['it', 'toAble'],
|
353
358
|
['this', 'queryable'],
|
@@ -281,6 +281,11 @@
|
|
281
281
|
"verb",
|
282
282
|
false
|
283
283
|
],
|
284
|
+
[
|
285
|
+
"every",
|
286
|
+
"quantifier",
|
287
|
+
false
|
288
|
+
],
|
284
289
|
[
|
285
290
|
"expression",
|
286
291
|
"expression",
|
@@ -546,6 +551,11 @@
|
|
546
551
|
"verb",
|
547
552
|
false
|
548
553
|
],
|
554
|
+
[
|
555
|
+
"negatable",
|
556
|
+
"queryable",
|
557
|
+
false
|
558
|
+
],
|
549
559
|
[
|
550
560
|
"noun",
|
551
561
|
"theAble",
|
@@ -1224,24 +1234,6 @@
|
|
1224
1234
|
1
|
1225
1235
|
]
|
1226
1236
|
],
|
1227
|
-
[
|
1228
|
-
[
|
1229
|
-
"is",
|
1230
|
-
0
|
1231
|
-
],
|
1232
|
-
[
|
1233
|
-
"list",
|
1234
|
-
0
|
1235
|
-
],
|
1236
|
-
[
|
1237
|
-
"unknown",
|
1238
|
-
0
|
1239
|
-
],
|
1240
|
-
[
|
1241
|
-
"unknown",
|
1242
|
-
1
|
1243
|
-
]
|
1244
|
-
],
|
1245
1237
|
[
|
1246
1238
|
[
|
1247
1239
|
"is",
|
@@ -1426,24 +1418,6 @@
|
|
1426
1418
|
1
|
1427
1419
|
]
|
1428
1420
|
],
|
1429
|
-
[
|
1430
|
-
[
|
1431
|
-
"is",
|
1432
|
-
0
|
1433
|
-
],
|
1434
|
-
[
|
1435
|
-
"list",
|
1436
|
-
0
|
1437
|
-
],
|
1438
|
-
[
|
1439
|
-
"unknown",
|
1440
|
-
0
|
1441
|
-
],
|
1442
|
-
[
|
1443
|
-
"unknown",
|
1444
|
-
1
|
1445
|
-
]
|
1446
|
-
],
|
1447
1421
|
[
|
1448
1422
|
[
|
1449
1423
|
"is",
|