ekms 9.4.5 → 9.5.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.
Files changed (43) hide show
  1. package/common/animals.instance.json +40 -280
  2. package/common/colors.instance.json +92 -320
  3. package/common/comparable.instance.json +42 -10
  4. package/common/crew.instance.json +673 -965
  5. package/common/crew.js +0 -15
  6. package/common/dates.instance.json +2 -84
  7. package/common/dates.js +1 -0
  8. package/common/dimension.instance.json +2 -2
  9. package/common/dimension.js +1 -1
  10. package/common/edible.instance.json +874 -2097
  11. package/common/fastfood.instance.json +4865 -6422
  12. package/common/fastfood.js +1 -0
  13. package/common/gdefaults.js +34 -2
  14. package/common/helpers/concept.js +2 -1
  15. package/common/helpers/dialogues.js +2 -1
  16. package/common/kirk.instance.json +3 -23
  17. package/common/latin.instance.json +472 -1
  18. package/common/latin.js +145 -19
  19. package/common/latin.test.json +5325 -0
  20. package/common/latin_helpers.js +358 -0
  21. package/common/length.instance.json +128 -384
  22. package/common/menus.instance.json +21 -61
  23. package/common/people.instance.json +128 -96
  24. package/common/percentages.js +1 -0
  25. package/common/pipboy.instance.json +84 -366
  26. package/common/pipboy.js +2 -1
  27. package/common/pipboy.test.json +1690 -0
  28. package/common/pokemon.instance.json +351 -103
  29. package/common/pos.js +39 -34
  30. package/common/pressure.instance.json +32 -124
  31. package/common/properties.js +0 -16
  32. package/common/reminders.test.json +2702 -2786
  33. package/common/reports.instance.json +2 -2
  34. package/common/reports.js +4 -1
  35. package/common/reports.test.json +5547 -4514
  36. package/common/spock.instance.json +3 -23
  37. package/common/temperature.instance.json +40 -196
  38. package/common/tokenize.js +30 -2
  39. package/common/weight.instance.json +241 -301
  40. package/common/wp.instance.json +347 -373
  41. package/common/wp.js +25 -4
  42. package/common/wp.test.json +3104 -0
  43. package/package.json +3 -2
package/common/crew.js CHANGED
@@ -47,21 +47,6 @@ const initializer = ({config, apis}) => {
47
47
  create: ['arm', 'weapon'],
48
48
  after: [{tag: 'weapon', id: 'weapon'}],
49
49
  config },
50
- /*
51
- ({context, km}) => {
52
- const value = {
53
- "marker": "unknown",
54
- "types": [
55
- "unknown"
56
- ],
57
- "unknown": true,
58
- "value": "armed",
59
- "word": "armed",
60
- "response": true
61
- }
62
- km("properties").api.setProperty(context.weapon.value, 'status', value, true)
63
- }
64
- */
65
50
  )
66
51
 
67
52
  api.createActionPrefix({
@@ -167,6 +167,7 @@
167
167
  "before": [
168
168
  "preposition"
169
169
  ],
170
+ "separators": "||||",
170
171
  "convolution": true,
171
172
  "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }",
172
173
  "check": [
@@ -3400,20 +3401,6 @@
3400
3401
  0
3401
3402
  ]
3402
3403
  ],
3403
- [
3404
- [
3405
- "is",
3406
- 0
3407
- ],
3408
- [
3409
- "list",
3410
- 1
3411
- ],
3412
- [
3413
- "unknown",
3414
- 0
3415
- ]
3416
- ],
3417
3404
  [
3418
3405
  [
3419
3406
  "is",
@@ -11764,20 +11751,6 @@
11764
11751
  0
11765
11752
  ]
11766
11753
  ],
11767
- [
11768
- [
11769
- "is",
11770
- 0
11771
- ],
11772
- [
11773
- "list",
11774
- 1
11775
- ],
11776
- [
11777
- "unknown",
11778
- 0
11779
- ]
11780
- ],
11781
11754
  [
11782
11755
  [
11783
11756
  "is",
@@ -15867,20 +15840,6 @@
15867
15840
  0
15868
15841
  ]
15869
15842
  ],
15870
- [
15871
- [
15872
- "is",
15873
- 0
15874
- ],
15875
- [
15876
- "list",
15877
- 1
15878
- ],
15879
- [
15880
- "unknown",
15881
- 0
15882
- ]
15883
- ],
15884
15843
  [
15885
15844
  [
15886
15845
  "is",
@@ -16943,6 +16902,7 @@
16943
16902
  "before": [
16944
16903
  "preposition"
16945
16904
  ],
16905
+ "separators": "||||",
16946
16906
  "convolution": true,
16947
16907
  "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }",
16948
16908
  "check": [
@@ -18841,48 +18801,6 @@
18841
18801
  0
18842
18802
  ]
18843
18803
  ],
18844
- [
18845
- [
18846
- "is",
18847
- 0
18848
- ],
18849
- [
18850
- "list",
18851
- 1
18852
- ],
18853
- [
18854
- "unknown",
18855
- 0
18856
- ]
18857
- ],
18858
- [
18859
- [
18860
- "is",
18861
- 0
18862
- ],
18863
- [
18864
- "list",
18865
- 1
18866
- ],
18867
- [
18868
- "unknown",
18869
- 0
18870
- ]
18871
- ],
18872
- [
18873
- [
18874
- "is",
18875
- 0
18876
- ],
18877
- [
18878
- "list",
18879
- 1
18880
- ],
18881
- [
18882
- "unknown",
18883
- 0
18884
- ]
18885
- ],
18886
18804
  [
18887
18805
  [
18888
18806
  "setIdSuffix",
package/common/dates.js CHANGED
@@ -134,6 +134,7 @@ const template = {
134
134
  id: 'monthDayYearWithSlashes_dates',
135
135
  isA: ['date_dates'],
136
136
  before: ['preposition'],
137
+ separators: "||||",
137
138
  convolution: true,
138
139
  bridge: "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }",
139
140
  check: defaultContextCheckProperties(['day', 'month', 'year']),
@@ -8,7 +8,7 @@
8
8
  "([unit])",
9
9
  "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
10
10
  "(([amount]) [unit])",
11
- "((dimension/1) [convertToUnits|in] (unit/1))",
11
+ "((dimension) [convertToUnits|in] (unit))",
12
12
  "(([number]) [degree])",
13
13
  {
14
14
  "pattern": "([length])",
@@ -1554,7 +1554,7 @@
1554
1554
  "([unit])",
1555
1555
  "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
1556
1556
  "(([amount]) [unit])",
1557
- "((dimension/1) [convertToUnits|in] (unit/1))",
1557
+ "((dimension) [convertToUnits|in] (unit))",
1558
1558
  "(([number]) [degree])",
1559
1559
  {
1560
1560
  "pattern": "([length])",
@@ -60,7 +60,7 @@ const config = {
60
60
  // "(([unit]) [kindOfDimension|of] ([dimension]))",
61
61
  "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
62
62
  "(([amount]) [unit])",
63
- "((dimension/1) [convertToUnits|in] (unit/1))",
63
+ "((dimension) [convertToUnits|in] (unit))",
64
64
 
65
65
  "(([number]) [degree])",
66
66
  { pattern: "([length])", development: true },