ekms 9.5.0 → 9.5.1-beta.2

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
package/common/asking.js CHANGED
@@ -12,8 +12,8 @@ const config = {
12
12
  name: 'asking',
13
13
  operators: [
14
14
  "([nevermind])",
15
- { pattern: "([nevermindTestSetup] (allowed))", development: true },
16
- { pattern: "([whichOnesTestSetup] (choices)*)", development: true },
15
+ { pattern: "([nevermindTestSetup] (allowed))", scope: "testing" },
16
+ { pattern: "([whichOnesTestSetup] (choices)*)", scope: "testing" },
17
17
  ],
18
18
  bridges: [
19
19
  {
@@ -38,7 +38,7 @@ const config = {
38
38
 
39
39
  {
40
40
  id: "whichOnesTestSetup",
41
- development: true,
41
+ scope: "testing",
42
42
  generatorp: async ({context, gs}) => `${context.marker} ${await gs(context.choices)}`,
43
43
  bridge: "{ ...next(operator), choices: after[0] }",
44
44
  semantic: ({askWhich, context}) => {
@@ -75,7 +75,7 @@ const config = {
75
75
 
76
76
  {
77
77
  id: "nevermindTestSetup",
78
- development: true,
78
+ scope: "testing",
79
79
  bridge: "{ ...next(operator), type: after[0], postModifiers: ['type'] }",
80
80
  semantic: ({ask, context}) => {
81
81
  const nevermindType = context.type.value
@@ -42,8 +42,8 @@ const config = {
42
42
  ],
43
43
  "words": {
44
44
  "literals": {
45
- "sally": [{"id": "character", development: true, "initial": "{ value: 'sally' }" }],
46
- "bob": [{"id": "character", development: true, "initial": "{ value: 'bob' }" }],
45
+ "sally": [{"id": "character", scope: "testing", "initial": "{ value: 'sally' }" }],
46
+ "bob": [{"id": "character", scope: "testing", "initial": "{ value: 'bob' }" }],
47
47
  },
48
48
  },
49
49
 
@@ -46586,7 +46586,7 @@
46586
46586
  "value": "weapon",
46587
46587
  "unknown": true,
46588
46588
  "text": "the weapon",
46589
- "marker": "weapon",
46589
+ "marker": "unknown",
46590
46590
  "word": "weapon",
46591
46591
  "range": {
46592
46592
  "start": 4,
@@ -46607,12 +46607,35 @@
46607
46607
  ],
46608
46608
  "level": 0
46609
46609
  },
46610
+ "operator": {
46611
+ "value": "arm",
46612
+ "number": "one",
46613
+ "text": "arm",
46614
+ "marker": "arm",
46615
+ "word": "arm",
46616
+ "range": {
46617
+ "start": 0,
46618
+ "end": 13
46619
+ },
46620
+ "evaluateWord": true,
46621
+ "imperative": true,
46622
+ "isVerb": true,
46623
+ "level": 0
46624
+ },
46610
46625
  "unflatten": [
46611
46626
  "weapon"
46612
46627
  ],
46613
46628
  "focusable": [
46614
46629
  "weapon"
46615
46630
  ],
46631
+ "interpolate": [
46632
+ {
46633
+ "property": "operator"
46634
+ },
46635
+ {
46636
+ "property": "weapon"
46637
+ }
46638
+ ],
46616
46639
  "level": 1
46617
46640
  },
46618
46641
  "to": {
@@ -46794,36 +46817,6 @@
46794
46817
  0
46795
46818
  ]
46796
46819
  ],
46797
- [
46798
- [
46799
- "arm",
46800
- 0
46801
- ],
46802
- [
46803
- "is",
46804
- 0
46805
- ],
46806
- [
46807
- "means",
46808
- 0
46809
- ],
46810
- [
46811
- "propertyOf",
46812
- 0
46813
- ],
46814
- [
46815
- "status",
46816
- 0
46817
- ],
46818
- [
46819
- "the",
46820
- 0
46821
- ],
46822
- [
46823
- "unknown",
46824
- 0
46825
- ]
46826
- ],
46827
46820
  [
46828
46821
  [
46829
46822
  "arm",
@@ -50128,12 +50121,35 @@
50128
50121
  ],
50129
50122
  "level": 0
50130
50123
  },
50124
+ "operator": {
50125
+ "value": "disarm",
50126
+ "number": "one",
50127
+ "text": "disarm",
50128
+ "marker": "disarm",
50129
+ "word": "disarm",
50130
+ "range": {
50131
+ "start": 0,
50132
+ "end": 16
50133
+ },
50134
+ "evaluateWord": true,
50135
+ "imperative": true,
50136
+ "isVerb": true,
50137
+ "level": 0
50138
+ },
50131
50139
  "unflatten": [
50132
50140
  "weapon"
50133
50141
  ],
50134
50142
  "focusable": [
50135
50143
  "weapon"
50136
50144
  ],
50145
+ "interpolate": [
50146
+ {
50147
+ "property": "operator"
50148
+ },
50149
+ {
50150
+ "property": "weapon"
50151
+ }
50152
+ ],
50137
50153
  "level": 1
50138
50154
  },
50139
50155
  "to": {
@@ -51956,36 +51972,6 @@
51956
51972
  0
51957
51973
  ]
51958
51974
  ],
51959
- [
51960
- [
51961
- "arm",
51962
- 0
51963
- ],
51964
- [
51965
- "is",
51966
- 0
51967
- ],
51968
- [
51969
- "means",
51970
- 0
51971
- ],
51972
- [
51973
- "propertyOf",
51974
- 0
51975
- ],
51976
- [
51977
- "status",
51978
- 0
51979
- ],
51980
- [
51981
- "the",
51982
- 0
51983
- ],
51984
- [
51985
- "unknown",
51986
- 0
51987
- ]
51988
- ],
51989
51975
  [
51990
51976
  [
51991
51977
  "arm",