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.
Files changed (80) hide show
  1. package/common/animals.instance.json +348 -68
  2. package/common/articles.js +20 -4
  3. package/common/articles.test.json +338 -0
  4. package/common/asking.js +3 -3
  5. package/common/asking.test.json +41 -0
  6. package/common/avatar.js +1 -1
  7. package/common/characters.js +1 -1
  8. package/common/colors.instance.json +608 -113
  9. package/common/comparable.instance.json +60 -12
  10. package/common/comparable.js +2 -2
  11. package/common/concept.js +2 -2
  12. package/common/conjunction.js +1 -1
  13. package/common/countable.js +3 -9
  14. package/common/countable.test.json +0 -586
  15. package/common/crew.instance.json +520 -392
  16. package/common/currency.js +2 -2
  17. package/common/dialogues.js +28 -11
  18. package/common/dimension.instance.json +16 -8
  19. package/common/dimension.js +2 -2
  20. package/common/edible.instance.json +595 -229
  21. package/common/emotions.instance.json +20 -4
  22. package/common/errors.js +3 -1
  23. package/common/events.js +1 -1
  24. package/common/fastfood.instance.json +2095 -1498
  25. package/common/fastfood.js +16 -10
  26. package/common/formulas.instance.json +16 -5
  27. package/common/formulas.js +1 -1
  28. package/common/formulas.test.json +461 -10
  29. package/common/gdefaults.js +27 -14
  30. package/common/help.js +4 -4
  31. package/common/help.test.json +4 -4
  32. package/common/helpers/concept.js +5 -5
  33. package/common/helpers/conjunction.js +1 -1
  34. package/common/helpers/formulas.js +4 -4
  35. package/common/helpers/frankenhash.js +4 -4
  36. package/common/helpers/meta.js +4 -4
  37. package/common/helpers/ordering.js +2 -2
  38. package/common/helpers/properties.js +17 -17
  39. package/common/helpers.js +17 -1
  40. package/common/hierarchy.js +3 -3
  41. package/common/javascript.js +1 -1
  42. package/common/kirk.instance.json +20 -4
  43. package/common/length.instance.json +300 -80
  44. package/common/math.instance.json +16 -5
  45. package/common/math.js +1 -1
  46. package/common/meta.js +5 -5
  47. package/common/nameable.js +1 -1
  48. package/common/negation.js +1 -1
  49. package/common/numbers.js +1 -1
  50. package/common/ordering.instance.json +41 -11
  51. package/common/ordinals.js +9 -3
  52. package/common/ordinals.test.json +327 -0
  53. package/common/people.instance.json +228 -80
  54. package/common/people.js +1 -1
  55. package/common/percentages.js +1 -1
  56. package/common/pipboy.instance.json +334 -180
  57. package/common/pipboy.js +6 -6
  58. package/common/pokemon.instance.json +304 -57
  59. package/common/pos.js +16 -6
  60. package/common/pressure.instance.json +64 -23
  61. package/common/properties.instance.json +20 -4
  62. package/common/properties.js +6 -6
  63. package/common/punctuation.js +1 -1
  64. package/common/reports.instance.json +34 -12
  65. package/common/reports.js +9 -9
  66. package/common/scorekeeper.js +5 -5
  67. package/common/sdefaults.js +2 -2
  68. package/common/sizeable.js +2 -2
  69. package/common/spock.instance.json +20 -4
  70. package/common/stm.js +6 -6
  71. package/common/tell.js +1 -1
  72. package/common/temperature.instance.json +64 -24
  73. package/common/tester.js +1 -1
  74. package/common/ui.instance.json +21 -5
  75. package/common/weight.instance.json +261 -109
  76. package/common/wp.instance.json +6621 -404
  77. package/common/wp.js +199 -41
  78. package/common/wp.test.json +109575 -3828
  79. package/common/yesno.js +1 -1
  80. package/package.json +11 -6
@@ -7,7 +7,7 @@
7
7
  "hierarchy": [
8
8
  [
9
9
  "a",
10
- "articlePOS",
10
+ "article",
11
11
  false
12
12
  ],
13
13
  [
@@ -16,8 +16,8 @@
16
16
  false
17
17
  ],
18
18
  [
19
- "articlePOS",
20
- "articlePOS",
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
- "articlePOS",
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
- let config = {
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
  }
package/common/events.js CHANGED
@@ -19,7 +19,7 @@ class API {
19
19
  }
20
20
  }
21
21
 
22
- let config = {
22
+ const config = {
23
23
  name: 'events',
24
24
  operators: [
25
25
  "([after] ([event]) ([action]))",