ekms 8.0.0-beta.21 → 8.0.0-beta.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/common/colors.instance.json +0 -28
  2. package/common/comparable.js +0 -13
  3. package/common/concept.js +9 -5
  4. package/common/countable.js +3 -3
  5. package/common/crew.js +1 -1
  6. package/common/currency.js +3 -3
  7. package/common/dialogues.js +48 -117
  8. package/common/dimension.instance.json +4 -4
  9. package/common/dimension.js +8 -8
  10. package/common/dimension.test.json +242 -1248
  11. package/common/edible.instance.json +30 -58
  12. package/common/emotions.js +1 -1
  13. package/common/events.js +3 -3
  14. package/common/fastfood.instance.json +873 -1072
  15. package/common/fastfood.js +20 -20
  16. package/common/formulas.instance.json +6 -6
  17. package/common/formulas.js +8 -8
  18. package/common/gdefaults.js +11 -11
  19. package/common/help.js +1 -1
  20. package/common/helpers/dialogues.js +2 -3
  21. package/common/helpers/properties.js +48 -58
  22. package/common/hierarchy.js +9 -13
  23. package/common/javascript.js +5 -5
  24. package/common/math.instance.json +12 -12
  25. package/common/math.js +5 -5
  26. package/common/meta.js +19 -26
  27. package/common/ordering.js +1 -1
  28. package/common/people.js +1 -2
  29. package/common/percentages.js +2 -2
  30. package/common/pipboy.instance.json +30 -86
  31. package/common/pipboy.js +25 -28
  32. package/common/pokemon.js +1 -1
  33. package/common/properties.js +48 -121
  34. package/common/punctuation.js +1 -1
  35. package/common/reports.instance.json +1 -1
  36. package/common/reports.js +48 -65
  37. package/common/scorekeeper.js +10 -18
  38. package/common/sdefaults.js +4 -4
  39. package/common/stm.js +1 -1
  40. package/common/tell.js +6 -6
  41. package/common/temperature.instance.json +0 -84
  42. package/common/testing.js +3 -3
  43. package/common/time.js +3 -3
  44. package/common/ui.js +5 -5
  45. package/package.json +2 -2
@@ -2673,11 +2673,11 @@
2673
2673
  0
2674
2674
  ],
2675
2675
  [
2676
- "chicken_strip",
2676
+ "chicken_nugget",
2677
2677
  0
2678
2678
  ],
2679
2679
  [
2680
- "chicken_nugget",
2680
+ "chicken_strip",
2681
2681
  0
2682
2682
  ]
2683
2683
  ],
@@ -3153,6 +3153,20 @@
3153
3153
  1
3154
3154
  ]
3155
3155
  ],
3156
+ [
3157
+ [
3158
+ "food",
3159
+ 0
3160
+ ],
3161
+ [
3162
+ "is",
3163
+ 0
3164
+ ],
3165
+ [
3166
+ "list",
3167
+ 1
3168
+ ]
3169
+ ],
3156
3170
  [
3157
3171
  [
3158
3172
  "is",
@@ -5089,20 +5103,6 @@
5089
5103
  1
5090
5104
  ]
5091
5105
  ],
5092
- [
5093
- [
5094
- "is",
5095
- 0
5096
- ],
5097
- [
5098
- "list",
5099
- 1
5100
- ],
5101
- [
5102
- "unknown",
5103
- 1
5104
- ]
5105
- ],
5106
5106
  [
5107
5107
  [
5108
5108
  "is",
@@ -20806,20 +20806,6 @@
20806
20806
  1
20807
20807
  ]
20808
20808
  ],
20809
- [
20810
- [
20811
- "is",
20812
- 0
20813
- ],
20814
- [
20815
- "list",
20816
- 1
20817
- ],
20818
- [
20819
- "unknown",
20820
- 1
20821
- ]
20822
- ],
20823
20809
  [
20824
20810
  [
20825
20811
  "is",
@@ -58411,6 +58397,20 @@
58411
58397
  1
58412
58398
  ]
58413
58399
  ],
58400
+ [
58401
+ [
58402
+ "food",
58403
+ 0
58404
+ ],
58405
+ [
58406
+ "is",
58407
+ 0
58408
+ ],
58409
+ [
58410
+ "list",
58411
+ 1
58412
+ ]
58413
+ ],
58414
58414
  [
58415
58415
  [
58416
58416
  "food",
@@ -58735,34 +58735,6 @@
58735
58735
  1
58736
58736
  ]
58737
58737
  ],
58738
- [
58739
- [
58740
- "is",
58741
- 0
58742
- ],
58743
- [
58744
- "list",
58745
- 1
58746
- ],
58747
- [
58748
- "unknown",
58749
- 1
58750
- ]
58751
- ],
58752
- [
58753
- [
58754
- "is",
58755
- 0
58756
- ],
58757
- [
58758
- "list",
58759
- 1
58760
- ],
58761
- [
58762
- "unknown",
58763
- 1
58764
- ]
58765
- ],
58766
58738
  [
58767
58739
  [
58768
58740
  "is",
@@ -47,7 +47,7 @@ const createConfig = async () => {
47
47
  }, module)
48
48
  config.stop_auto_rebuild()
49
49
  await config.add(hierarchy)
50
- config.initializer( ({config, apis}) => {
50
+ await config.initializer( ({config, apis}) => {
51
51
  const api = apis('properties')
52
52
  api.createActionPrefix({
53
53
  operator: 'feel',
package/common/events.js CHANGED
@@ -32,7 +32,7 @@ let configStruct = {
32
32
  where: where(),
33
33
  id: "after", level: 0,
34
34
  bridge: "{ ...next(operator), event: after[0], action: after[1] }",
35
- generatorp: ({context, gp}) => `after ${gp(context.event)} ${gp(context.action)}`,
35
+ generatorp: async ({context, gp}) => `after ${await gp(context.event)} ${await gp(context.action)}`,
36
36
  },
37
37
  { id: "action", level: 0, bridge: "{ ...next(operator) }" },
38
38
  { id: "changeable", level: 0, bridge: "{ ...next(operator) }" },
@@ -42,11 +42,11 @@ let configStruct = {
42
42
  level: 0,
43
43
  isA: ['verby'],
44
44
  bridge: "{ ...next(operator), changeable: before[0] }",
45
- generatorp: ({context, g}) => {
45
+ generatorp: async ({context, g}) => {
46
46
  if (!context.changeable) {
47
47
  return 'undefined changes'
48
48
  }
49
- return `${g(context.changeable)} changes`
49
+ return `${await g(context.changeable)} changes`
50
50
  }
51
51
  },
52
52
  {