ekms 7.12.8 → 8.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/common/animals.instance.json +192 -406
  2. package/common/animals.js +1 -1
  3. package/common/avatar.js +7 -5
  4. package/common/characters.js +12 -6
  5. package/common/{pipboyTemplate.instance.json → colors.instance.json} +13784 -8900
  6. package/common/colors.js +71 -0
  7. package/common/colors.test.json +4860 -0
  8. package/common/concept.js +2 -2
  9. package/common/crew.instance.json +3945 -3636
  10. package/common/crew.js +5 -3
  11. package/common/currency.js +0 -2
  12. package/common/dialogues.js +152 -20
  13. package/common/dialogues.test.json +1053 -33
  14. package/common/dimension.instance.json +750 -86
  15. package/common/dimension.js +15 -7
  16. package/common/dimension.test.json +289 -312
  17. package/common/edible.instance.json +446 -578
  18. package/common/edible.js +1 -1
  19. package/common/emotions.instance.json +67 -39
  20. package/common/emotions.js +1 -1
  21. package/common/fastfood.instance.json +1769 -2136
  22. package/common/fastfood.js +2 -2
  23. package/common/fastfood.test.json +7941 -3647
  24. package/common/formulas.instance.json +996 -0
  25. package/common/formulas.js +19 -6
  26. package/common/formulas.test.json +504 -2896
  27. package/common/gdefaults.js +2 -0
  28. package/common/help.js +7 -2
  29. package/common/help.test.json +18 -10
  30. package/common/helpers/concept.js +29 -9
  31. package/common/helpers/dialogues.js +17 -1
  32. package/common/helpers/formulas.js +0 -14
  33. package/common/helpers/meta.js +0 -1
  34. package/common/helpers/properties.js +6 -13
  35. package/common/helpers.js +5 -0
  36. package/common/javascript.js +8 -6
  37. package/common/kirk.instance.json +5 -1
  38. package/common/kirk.js +1 -1
  39. package/common/length.instance.json +417 -811
  40. package/common/length.js +1 -1
  41. package/common/math.instance.json +1938 -1
  42. package/common/math.js +17 -5
  43. package/common/meta.instance.json +1 -1
  44. package/common/meta.js +33 -10
  45. package/common/numbers.js +28 -24
  46. package/common/ordering.instance.json +98 -138
  47. package/common/ordering.js +1 -1
  48. package/common/people.instance.json +68 -121
  49. package/common/people.js +1 -1
  50. package/common/pipboy.instance.json +23411 -1076
  51. package/common/pipboy.js +31 -4
  52. package/common/pipboy.test.json +13 -9
  53. package/common/pokemon.instance.json +172 -223
  54. package/common/pokemon.js +1 -1
  55. package/common/pressure.instance.json +131 -81
  56. package/common/pressure.js +1 -1
  57. package/common/properties.instance.json +25 -49
  58. package/common/properties.js +20 -15
  59. package/common/properties.test.json +17605 -4030
  60. package/common/punctuation.js +8 -0
  61. package/common/punctuation.test.json +233 -5
  62. package/common/reports.instance.json +33 -65
  63. package/common/reports.js +9 -9
  64. package/common/scorekeeper.instance.json +1 -1
  65. package/common/scorekeeper.js +9 -7
  66. package/common/sizeable.js +7 -2
  67. package/common/spock.instance.json +5 -1
  68. package/common/spock.js +1 -1
  69. package/common/stm.js +16 -5
  70. package/common/tell.js +4 -2
  71. package/common/temperature.instance.json +142 -252
  72. package/common/temperature.js +1 -1
  73. package/common/testing.js +0 -1
  74. package/common/time.js +36 -20
  75. package/common/time.test.json +66 -44
  76. package/common/tokenize.js +47 -0
  77. package/common/tokenize.test.json +87 -0
  78. package/common/ui.instance.json +13 -1
  79. package/common/ui.js +0 -1
  80. package/common/weight.instance.json +335 -228
  81. package/common/weight.js +1 -1
  82. package/common/weight.test.json +242 -238
  83. package/main.js +6 -8
  84. package/package.json +10 -18
  85. package/common/dimensionTemplate.instance.json +0 -582
  86. package/common/dimensionTemplate.js +0 -35
  87. package/common/dimensionTemplate.test.json +0 -2
  88. package/common/formulasTemplate.instance.json +0 -483
  89. package/common/formulasTemplate.js +0 -30
  90. package/common/formulasTemplate.test.json +0 -2
  91. package/common/mathTemplate.instance.json +0 -1635
  92. package/common/mathTemplate.js +0 -32
  93. package/common/mathTemplate.test.json +0 -1422
  94. package/common/pipboyTemplate.js +0 -48
  95. package/common/pipboyTemplate.test.json +0 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "first modifies name",
4
4
  "last modifies name",
5
5
  "surname means last name",
@@ -38,6 +38,10 @@
38
38
  "concept",
39
39
  "theAble"
40
40
  ],
41
+ [
42
+ "doubleQuote",
43
+ "queryable"
44
+ ],
41
45
  [
42
46
  "have",
43
47
  "canBeDoQuestion"
@@ -365,29 +369,29 @@
365
369
  "dead": true,
366
370
  "modifiers": [
367
371
  {
372
+ "value": "first",
373
+ "unknown": true,
374
+ "text": "first",
368
375
  "marker": "unknown",
376
+ "word": "first",
369
377
  "range": {
370
378
  "start": 0,
371
379
  "end": 4
372
380
  },
373
- "word": "first",
374
- "text": "first",
375
- "value": "first",
376
- "unknown": true,
377
381
  "dead": true,
378
382
  "level": 1
379
383
  }
380
384
  ],
381
385
  "concept": {
386
+ "value": "name",
387
+ "unknown": true,
388
+ "text": "name",
382
389
  "marker": "unknown",
390
+ "word": "name",
383
391
  "range": {
384
392
  "start": 15,
385
393
  "end": 18
386
394
  },
387
- "word": "name",
388
- "text": "name",
389
- "value": "name",
390
- "unknown": true,
391
395
  "dead": true,
392
396
  "level": 1
393
397
  },
@@ -485,6 +489,10 @@
485
489
  "concept",
486
490
  "theAble"
487
491
  ],
492
+ [
493
+ "doubleQuote",
494
+ "queryable"
495
+ ],
488
496
  [
489
497
  "first",
490
498
  "hierarchyAble"
@@ -920,15 +928,15 @@
920
928
  "dead": true,
921
929
  "modifiers": [
922
930
  {
931
+ "value": "last",
932
+ "unknown": true,
933
+ "text": "last",
923
934
  "marker": "unknown",
935
+ "word": "last",
924
936
  "range": {
925
937
  "start": 0,
926
938
  "end": 3
927
939
  },
928
- "word": "last",
929
- "text": "last",
930
- "value": "last",
931
- "unknown": true,
932
940
  "dead": true,
933
941
  "level": 1
934
942
  }
@@ -1044,6 +1052,10 @@
1044
1052
  "concept",
1045
1053
  "theAble"
1046
1054
  ],
1055
+ [
1056
+ "doubleQuote",
1057
+ "queryable"
1058
+ ],
1047
1059
  [
1048
1060
  "first",
1049
1061
  "hierarchyAble"
@@ -1566,15 +1578,15 @@
1566
1578
  },
1567
1579
  "dead": true,
1568
1580
  "from": {
1581
+ "value": "surname",
1582
+ "unknown": true,
1583
+ "text": "surname",
1569
1584
  "marker": "unknown",
1585
+ "word": "surname",
1570
1586
  "range": {
1571
1587
  "start": 0,
1572
1588
  "end": 6
1573
1589
  },
1574
- "word": "surname",
1575
- "text": "surname",
1576
- "value": "surname",
1577
- "unknown": true,
1578
1590
  "dead": true,
1579
1591
  "level": 1
1580
1592
  },
@@ -1594,6 +1606,7 @@
1594
1606
  ],
1595
1607
  "modifier_last": {
1596
1608
  "value": "last",
1609
+ "number": "one",
1597
1610
  "text": "last",
1598
1611
  "marker": "last",
1599
1612
  "word": "last",
@@ -1719,6 +1732,10 @@
1719
1732
  "concept",
1720
1733
  "theAble"
1721
1734
  ],
1735
+ [
1736
+ "doubleQuote",
1737
+ "queryable"
1738
+ ],
1722
1739
  [
1723
1740
  "first",
1724
1741
  "hierarchyAble"
@@ -2226,15 +2243,15 @@
2226
2243
  "dead": true,
2227
2244
  "modifiers": [
2228
2245
  {
2246
+ "value": "given",
2247
+ "unknown": true,
2248
+ "text": "given",
2229
2249
  "marker": "unknown",
2250
+ "word": "given",
2230
2251
  "range": {
2231
2252
  "start": 0,
2232
2253
  "end": 4
2233
2254
  },
2234
- "word": "given",
2235
- "text": "given",
2236
- "value": "given",
2237
- "unknown": true,
2238
2255
  "dead": true,
2239
2256
  "level": 1
2240
2257
  }
@@ -2350,6 +2367,10 @@
2350
2367
  "concept",
2351
2368
  "theAble"
2352
2369
  ],
2370
+ [
2371
+ "doubleQuote",
2372
+ "queryable"
2373
+ ],
2353
2374
  [
2354
2375
  "first",
2355
2376
  "hierarchyAble"
@@ -2963,6 +2984,7 @@
2963
2984
  ],
2964
2985
  "modifier_given": {
2965
2986
  "value": "given",
2987
+ "number": "one",
2966
2988
  "text": "given",
2967
2989
  "marker": "given",
2968
2990
  "word": "given",
@@ -2998,6 +3020,7 @@
2998
3020
  ],
2999
3021
  "modifier_first": {
3000
3022
  "value": "first",
3023
+ "number": "one",
3001
3024
  "text": "first",
3002
3025
  "marker": "first",
3003
3026
  "word": "first",
@@ -3110,6 +3133,10 @@
3110
3133
  "concept",
3111
3134
  "theAble"
3112
3135
  ],
3136
+ [
3137
+ "doubleQuote",
3138
+ "queryable"
3139
+ ],
3113
3140
  [
3114
3141
  "first",
3115
3142
  "hierarchyAble"
@@ -4071,36 +4098,6 @@
4071
4098
  ""
4072
4099
  ],
4073
4100
  "associations": [
4074
- [
4075
- [
4076
- "by",
4077
- 0
4078
- ],
4079
- [
4080
- "is",
4081
- 0
4082
- ],
4083
- [
4084
- "means",
4085
- 0
4086
- ],
4087
- [
4088
- "owned",
4089
- 0
4090
- ],
4091
- [
4092
- "ownee",
4093
- 0
4094
- ],
4095
- [
4096
- "owner",
4097
- 0
4098
- ],
4099
- [
4100
- "owns",
4101
- 0
4102
- ]
4103
- ],
4104
4101
  [
4105
4102
  [
4106
4103
  "by",
@@ -4274,6 +4271,10 @@
4274
4271
  "concept",
4275
4272
  "theAble"
4276
4273
  ],
4274
+ [
4275
+ "doubleQuote",
4276
+ "queryable"
4277
+ ],
4277
4278
  [
4278
4279
  "first",
4279
4280
  "hierarchyAble"
@@ -4918,15 +4919,15 @@
4918
4919
  },
4919
4920
  "one": {
4920
4921
  "number": "one",
4922
+ "value": "ownervar",
4923
+ "unknown": true,
4924
+ "text": "ownervar",
4921
4925
  "marker": "unknown",
4926
+ "word": "ownervar",
4922
4927
  "range": {
4923
4928
  "start": 0,
4924
4929
  "end": 28
4925
4930
  },
4926
- "word": "ownervar",
4927
- "text": "ownervar",
4928
- "value": "ownervar",
4929
- "unknown": true,
4930
4931
  "dead": true,
4931
4932
  "types": [
4932
4933
  "unknown"
@@ -4934,15 +4935,15 @@
4934
4935
  "level": 1
4935
4936
  },
4936
4937
  "two": {
4938
+ "value": "owneevar",
4939
+ "unknown": true,
4940
+ "text": "owneevar owned by by",
4937
4941
  "marker": "ownee",
4942
+ "word": "owneevar",
4938
4943
  "range": {
4939
4944
  "start": 12,
4940
4945
  "end": 28
4941
4946
  },
4942
- "word": "owneevar",
4943
- "text": "owneevar owned by by",
4944
- "value": "owneevar",
4945
- "unknown": true,
4946
4947
  "dead": true,
4947
4948
  "types": [
4948
4949
  "ownee",
@@ -5010,15 +5011,15 @@
5010
5011
  },
5011
5012
  "ownee": {
5012
5013
  "greg": true,
5014
+ "value": "owneevar",
5015
+ "unknown": true,
5016
+ "text": "owneevar",
5013
5017
  "marker": "unknown",
5018
+ "word": "owneevar",
5014
5019
  "range": {
5015
5020
  "start": 12,
5016
5021
  "end": 28
5017
5022
  },
5018
- "word": "owneevar",
5019
- "text": "owneevar",
5020
- "value": "owneevar",
5021
- "unknown": true,
5022
5023
  "dead": true,
5023
5024
  "types": [
5024
5025
  "ownee"
@@ -5176,6 +5177,10 @@
5176
5177
  "concept",
5177
5178
  "theAble"
5178
5179
  ],
5180
+ [
5181
+ "doubleQuote",
5182
+ "queryable"
5183
+ ],
5179
5184
  [
5180
5185
  "first",
5181
5186
  "hierarchyAble"
@@ -5954,20 +5959,6 @@
5954
5959
  ""
5955
5960
  ],
5956
5961
  "associations": [
5957
- [
5958
- [
5959
- "by",
5960
- 0
5961
- ],
5962
- [
5963
- "is",
5964
- 0
5965
- ],
5966
- [
5967
- "owned",
5968
- 0
5969
- ]
5970
- ],
5971
5962
  [
5972
5963
  [
5973
5964
  "by",
@@ -6003,50 +5994,6 @@
6003
5994
  ],
6004
5995
  "semantics": [],
6005
5996
  "associations": [
6006
- [
6007
- [
6008
- "by",
6009
- 0
6010
- ],
6011
- [
6012
- "is",
6013
- 0
6014
- ],
6015
- [
6016
- "means",
6017
- 0
6018
- ],
6019
- [
6020
- "owned",
6021
- 0
6022
- ],
6023
- [
6024
- "ownee",
6025
- 0
6026
- ],
6027
- [
6028
- "owner",
6029
- 0
6030
- ],
6031
- [
6032
- "owns",
6033
- 0
6034
- ]
6035
- ],
6036
- [
6037
- [
6038
- "by",
6039
- 0
6040
- ],
6041
- [
6042
- "is",
6043
- 0
6044
- ],
6045
- [
6046
- "owned",
6047
- 0
6048
- ]
6049
- ],
6050
5997
  [
6051
5998
  [
6052
5999
  "by",
package/common/people.js CHANGED
@@ -12,7 +12,7 @@ const { hashIndexesGet, hashIndexesSet, translationMapping, translationMappings,
12
12
  // TODO who is the person that owns cleo
13
13
 
14
14
  const template = {
15
- queries: [
15
+ configs: [
16
16
  "first modifies name",
17
17
  "last modifies name",
18
18
  "surname means last name",