tpmkms_4wp 8.9.1-beta.2 → 8.9.1-beta.21
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 +348 -68
- package/common/articles.js +20 -4
- package/common/articles.test.json +338 -0
- package/common/asking.js +3 -3
- package/common/asking.test.json +41 -0
- package/common/avatar.js +1 -1
- package/common/characters.js +1 -1
- package/common/colors.instance.json +608 -113
- package/common/comparable.instance.json +60 -12
- package/common/comparable.js +2 -2
- package/common/concept.js +2 -2
- package/common/conjunction.js +1 -1
- package/common/countable.js +3 -9
- package/common/countable.test.json +0 -586
- package/common/crew.instance.json +520 -392
- package/common/currency.js +2 -2
- package/common/dialogues.js +28 -11
- package/common/dimension.instance.json +16 -8
- package/common/dimension.js +2 -2
- package/common/edible.instance.json +595 -229
- package/common/emotions.instance.json +20 -4
- package/common/errors.js +3 -1
- package/common/events.js +1 -1
- package/common/fastfood.instance.json +2095 -1498
- package/common/fastfood.js +16 -10
- package/common/formulas.instance.json +16 -5
- package/common/formulas.js +1 -1
- package/common/formulas.test.json +461 -10
- package/common/gdefaults.js +27 -14
- package/common/help.js +4 -4
- package/common/help.test.json +4 -4
- package/common/helpers/concept.js +5 -5
- package/common/helpers/conjunction.js +1 -1
- package/common/helpers/formulas.js +4 -4
- package/common/helpers/frankenhash.js +4 -4
- package/common/helpers/meta.js +4 -4
- package/common/helpers/ordering.js +2 -2
- package/common/helpers/properties.js +17 -17
- package/common/helpers.js +17 -1
- package/common/hierarchy.js +3 -3
- package/common/javascript.js +1 -1
- package/common/kirk.instance.json +20 -4
- package/common/length.instance.json +300 -80
- package/common/math.instance.json +16 -5
- package/common/math.js +1 -1
- package/common/meta.js +5 -5
- package/common/nameable.js +1 -1
- package/common/negation.js +1 -1
- package/common/numbers.js +1 -1
- package/common/ordering.instance.json +41 -11
- package/common/ordinals.js +9 -3
- package/common/ordinals.test.json +327 -0
- package/common/people.instance.json +228 -80
- package/common/people.js +1 -1
- package/common/percentages.js +1 -1
- package/common/pipboy.instance.json +334 -180
- package/common/pipboy.js +6 -6
- package/common/pokemon.instance.json +304 -57
- package/common/pos.js +16 -6
- package/common/pressure.instance.json +64 -23
- package/common/properties.instance.json +20 -4
- package/common/properties.js +6 -6
- package/common/punctuation.js +1 -1
- package/common/reports.instance.json +34 -12
- package/common/reports.js +9 -9
- package/common/scorekeeper.js +5 -5
- package/common/sdefaults.js +2 -2
- package/common/sizeable.js +2 -2
- package/common/spock.instance.json +20 -4
- package/common/stm.js +6 -6
- package/common/tell.js +1 -1
- package/common/temperature.instance.json +64 -24
- package/common/tester.js +1 -1
- package/common/ui.instance.json +21 -5
- package/common/weight.instance.json +261 -109
- package/common/wp.instance.json +6621 -404
- package/common/wp.js +199 -41
- package/common/wp.test.json +109575 -3828
- package/common/yesno.js +1 -1
- package/package.json +11 -6
@@ -7,7 +7,7 @@
|
|
7
7
|
"hierarchy": [
|
8
8
|
[
|
9
9
|
"a",
|
10
|
-
"
|
10
|
+
"article",
|
11
11
|
false
|
12
12
|
],
|
13
13
|
[
|
@@ -16,8 +16,8 @@
|
|
16
16
|
false
|
17
17
|
],
|
18
18
|
[
|
19
|
-
"
|
20
|
-
"
|
19
|
+
"article",
|
20
|
+
"article",
|
21
21
|
false
|
22
22
|
],
|
23
23
|
[
|
@@ -45,11 +45,21 @@
|
|
45
45
|
"theAble",
|
46
46
|
false
|
47
47
|
],
|
48
|
+
[
|
49
|
+
"distributable",
|
50
|
+
"queryable",
|
51
|
+
false
|
52
|
+
],
|
48
53
|
[
|
49
54
|
"doubleQuote",
|
50
55
|
"queryable",
|
51
56
|
false
|
52
57
|
],
|
58
|
+
[
|
59
|
+
"each",
|
60
|
+
"article",
|
61
|
+
false
|
62
|
+
],
|
53
63
|
[
|
54
64
|
"emotion",
|
55
65
|
"unknown",
|
@@ -60,6 +70,11 @@
|
|
60
70
|
"verb",
|
61
71
|
false
|
62
72
|
],
|
73
|
+
[
|
74
|
+
"every",
|
75
|
+
"article",
|
76
|
+
false
|
77
|
+
],
|
63
78
|
[
|
64
79
|
"feel",
|
65
80
|
"canBeDoQuestion",
|
@@ -242,7 +257,7 @@
|
|
242
257
|
],
|
243
258
|
[
|
244
259
|
"the",
|
245
|
-
"
|
260
|
+
"article",
|
246
261
|
false
|
247
262
|
],
|
248
263
|
[
|
@@ -891,6 +906,7 @@
|
|
891
906
|
"level": 1
|
892
907
|
},
|
893
908
|
"level": 1,
|
909
|
+
"context_index": 1,
|
894
910
|
"topLevel": true,
|
895
911
|
"metaInfo": "The mapping from from the expression being defined \"sentientbeing1 feels emotion1\" to the definition phrase \"the emotion of sentientbeing1 is emotion1\" is [{\"from\":[\"sentientBeing\"],\"to\":[\"one\",\"object\"]},{\"from\":[\"emotion\"],\"to\":[\"two\"]},{\"from\":[\"number\"],\"to\":[\"number\"]}]",
|
896
912
|
"touchedBy": [
|
package/common/errors.js
CHANGED
@@ -3,7 +3,7 @@ const { defaultContextCheck } = require('./helpers')
|
|
3
3
|
const gdefaults = require("./gdefaults")
|
4
4
|
const tests = require('./errors.test.json')
|
5
5
|
|
6
|
-
|
6
|
+
const config = {
|
7
7
|
name: 'errors',
|
8
8
|
operators: [
|
9
9
|
{ pattern: "([drop] ([dropable]))", development: true },
|
@@ -21,6 +21,7 @@ let config = {
|
|
21
21
|
match: ({context}) => context.interpretation_error,
|
22
22
|
apply: async ({context, g, gp, verbatim, contexts}) => {
|
23
23
|
const argument = contexts.find( (argument) => argument.argument_id == context.interpretation_error.argument_id )
|
24
|
+
debugger
|
24
25
|
verbatim(`Did not know how to understand "${await gp(argument)}" when applying "${await g(context)}"`)
|
25
26
|
}
|
26
27
|
},
|
@@ -28,6 +29,7 @@ let config = {
|
|
28
29
|
match: ({context}) => context.context?.interpretation_error,
|
29
30
|
apply: async ({context, g, gp, verbatim, contexts}) => {
|
30
31
|
context = context.context
|
32
|
+
debugger
|
31
33
|
const argument = contexts.find( (argument) => argument.argument_id == context.interpretation_error.argument_id )
|
32
34
|
verbatim(`Did not know how to understand "${await gp(argument)}" when applying "${await g(context)}"`)
|
33
35
|
}
|