ekms 9.5.0 → 9.5.1-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/asking.js +4 -4
  2. package/common/characters.js +2 -2
  3. package/common/crew.instance.json +47 -61
  4. package/common/crew.test.json +4148 -3324
  5. package/common/dialogues.js +1 -1
  6. package/common/dimension.instance.json +8 -8
  7. package/common/dimension.js +4 -4
  8. package/common/edible.instance.json +72 -0
  9. package/common/emotions.instance.json +26 -0
  10. package/common/emotions.test.json +242 -174
  11. package/common/english_helpers.js +126 -0
  12. package/common/errors.js +3 -3
  13. package/common/evaluate.js +2 -2
  14. package/common/events.js +8 -8
  15. package/common/fastfood.instance.json +242 -18
  16. package/common/formulas.js +1 -1
  17. package/common/gdefaults.js +19 -2
  18. package/common/help.js +1 -1
  19. package/common/helpers/meta.js +1 -1
  20. package/common/helpers/properties.js +91 -49
  21. package/common/helpers.js +53 -0
  22. package/common/latin.instance.json +2 -2
  23. package/common/latin.js +4 -4
  24. package/common/listener.js +1 -1
  25. package/common/math.instance.json +8 -8
  26. package/common/math.js +4 -4
  27. package/common/meta.js +27 -27
  28. package/common/nameable.js +7 -7
  29. package/common/ordering.instance.json +78 -0
  30. package/common/ordering.test.json +663 -233
  31. package/common/people.instance.json +26 -12
  32. package/common/people.js +5 -3
  33. package/common/people.test.json +4071 -3813
  34. package/common/pipboy.js +2 -3
  35. package/common/properties.js +6 -1
  36. package/common/reminders.instance.json +4 -4
  37. package/common/reminders.js +2 -2
  38. package/common/reports.instance.json +2 -2
  39. package/common/scorekeeper.js +2 -2
  40. package/common/stm.js +2 -2
  41. package/common/tokenize.js +4 -1
  42. package/common/wp.instance.json +74 -2
  43. package/package.json +4 -2
@@ -69,7 +69,7 @@ const config = {
69
69
  "([isEder|])",
70
70
 
71
71
  // "([nevermind])",
72
- // { pattern: "([nevermindTestSetup] (allowed))", development: true },
72
+ // { pattern: "([nevermindTestSetup] (allowed))", scope: "testing" },
73
73
  "([why])",
74
74
  "([reason])",
75
75
  // "([thisitthat|])",
@@ -6,13 +6,13 @@
6
6
  "operators": [
7
7
  "([dimension])",
8
8
  "([unit])",
9
- "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
9
+ "((amount/* || number/*) [amountOfDimension|] ([unit]))",
10
10
  "(([amount]) [unit])",
11
11
  "((dimension) [convertToUnits|in] (unit))",
12
12
  "(([number]) [degree])",
13
13
  {
14
14
  "pattern": "([length])",
15
- "development": true
15
+ "scope": "testing"
16
16
  }
17
17
  ],
18
18
  "priorities": [
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "child": "convertToUnits",
38
38
  "parent": "testingValue",
39
- "development": true
39
+ "scope": "testing"
40
40
  }
41
41
  ],
42
42
  "generators": [
@@ -59,7 +59,7 @@
59
59
  "dimension"
60
60
  ],
61
61
  "bridge": "{ ...next(operator) }",
62
- "development": true
62
+ "scope": "testing"
63
63
  },
64
64
  {
65
65
  "id": "amount"
@@ -1552,13 +1552,13 @@
1552
1552
  "operators": [
1553
1553
  "([dimension])",
1554
1554
  "([unit])",
1555
- "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
1555
+ "((amount/* || number/*) [amountOfDimension|] ([unit]))",
1556
1556
  "(([amount]) [unit])",
1557
1557
  "((dimension) [convertToUnits|in] (unit))",
1558
1558
  "(([number]) [degree])",
1559
1559
  {
1560
1560
  "pattern": "([length])",
1561
- "development": true
1561
+ "scope": "testing"
1562
1562
  }
1563
1563
  ],
1564
1564
  "priorities": [
@@ -1582,7 +1582,7 @@
1582
1582
  {
1583
1583
  "child": "convertToUnits",
1584
1584
  "parent": "testingValue",
1585
- "development": true
1585
+ "scope": "testing"
1586
1586
  }
1587
1587
  ],
1588
1588
  "generators": [
@@ -1604,7 +1604,7 @@
1604
1604
  "dimension"
1605
1605
  ],
1606
1606
  "bridge": "{ ...next(operator) }",
1607
- "development": true
1607
+ "scope": "testing"
1608
1608
  },
1609
1609
  {
1610
1610
  "id": "amount"
@@ -58,19 +58,19 @@ const config = {
58
58
  "([dimension])",
59
59
  "([unit])",
60
60
  // "(([unit]) [kindOfDimension|of] ([dimension]))",
61
- "((amount/1 || number/1) [amountOfDimension|] ([unit]))",
61
+ "((amount/* || number/*) [amountOfDimension|] ([unit]))",
62
62
  "(([amount]) [unit])",
63
63
  "((dimension) [convertToUnits|in] (unit))",
64
64
 
65
65
  "(([number]) [degree])",
66
- { pattern: "([length])", development: true },
66
+ { pattern: "([length])", scope: "testing" },
67
67
  ],
68
68
  priorities: [
69
69
  // TODO this should have been calculated
70
70
  { "context": [['amountOfDimension', 0], ['convertToUnits', 0], ], "choose": [0] },
71
71
  ],
72
72
  hierarchy: [
73
- { child: 'convertToUnits', parent: 'testingValue', development: true },
73
+ { child: 'convertToUnits', parent: 'testingValue', scope: "testing" },
74
74
  ],
75
75
  generators: [
76
76
  {
@@ -94,7 +94,7 @@ const config = {
94
94
  id: "length",
95
95
  isA: ['dimension'],
96
96
  bridge: "{ ...next(operator) }",
97
- development: true
97
+ scope: "testing"
98
98
  },
99
99
  { id: "amount", },
100
100
  /*
@@ -44990,6 +44990,24 @@
44990
44990
  0
44991
44991
  ]
44992
44992
  ],
44993
+ [
44994
+ [
44995
+ "a",
44996
+ 0
44997
+ ],
44998
+ [
44999
+ "is",
45000
+ 0
45001
+ ],
45002
+ [
45003
+ "sandwich",
45004
+ 0
45005
+ ],
45006
+ [
45007
+ "unknown",
45008
+ 0
45009
+ ]
45010
+ ],
44993
45011
  [
44994
45012
  [
44995
45013
  "is",
@@ -47694,6 +47712,24 @@
47694
47712
  0
47695
47713
  ]
47696
47714
  ],
47715
+ [
47716
+ [
47717
+ "a",
47718
+ 0
47719
+ ],
47720
+ [
47721
+ "hamburger",
47722
+ 0
47723
+ ],
47724
+ [
47725
+ "is",
47726
+ 0
47727
+ ],
47728
+ [
47729
+ "unknown",
47730
+ 0
47731
+ ]
47732
+ ],
47697
47733
  [
47698
47734
  [
47699
47735
  "hamburger",
@@ -67892,6 +67928,24 @@
67892
67928
  0
67893
67929
  ]
67894
67930
  ],
67931
+ [
67932
+ [
67933
+ "a",
67934
+ 0
67935
+ ],
67936
+ [
67937
+ "hamburger",
67938
+ 0
67939
+ ],
67940
+ [
67941
+ "is",
67942
+ 0
67943
+ ],
67944
+ [
67945
+ "unknown",
67946
+ 0
67947
+ ]
67948
+ ],
67895
67949
  [
67896
67950
  [
67897
67951
  "a",
@@ -67928,6 +67982,24 @@
67928
67982
  0
67929
67983
  ]
67930
67984
  ],
67985
+ [
67986
+ [
67987
+ "a",
67988
+ 0
67989
+ ],
67990
+ [
67991
+ "is",
67992
+ 0
67993
+ ],
67994
+ [
67995
+ "sandwich",
67996
+ 0
67997
+ ],
67998
+ [
67999
+ "unknown",
68000
+ 0
68001
+ ]
68002
+ ],
67931
68003
  [
67932
68004
  [
67933
68005
  "apple",
@@ -772,6 +772,21 @@
772
772
  ],
773
773
  "level": 0
774
774
  },
775
+ "operator": {
776
+ "value": "feel",
777
+ "number": "one",
778
+ "text": "feels",
779
+ "marker": "feel",
780
+ "word": "feels",
781
+ "range": {
782
+ "start": 0,
783
+ "end": 28
784
+ },
785
+ "evaluateWord": true,
786
+ "imperative": false,
787
+ "isVerb": true,
788
+ "level": 0
789
+ },
775
790
  "unflatten": [
776
791
  "sentientBeing",
777
792
  "emotion"
@@ -780,6 +795,17 @@
780
795
  "sentientBeing",
781
796
  "emotion"
782
797
  ],
798
+ "interpolate": [
799
+ {
800
+ "property": "sentientBeing"
801
+ },
802
+ {
803
+ "property": "operator"
804
+ },
805
+ {
806
+ "property": "emotion"
807
+ }
808
+ ],
783
809
  "dead": true,
784
810
  "level": 2
785
811
  },