ekms 7.12.8-beta.0 → 7.12.8-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/common/animals.instance.json +89 -249
  2. package/common/animals.js +1 -1
  3. package/common/avatar.js +7 -5
  4. package/common/characters.js +12 -5
  5. package/common/crew.instance.json +289 -577
  6. package/common/crew.js +1 -1
  7. package/common/currency.js +0 -2
  8. package/common/dialogues.js +16 -14
  9. package/common/dimension.instance.json +747 -73
  10. package/common/dimension.js +15 -7
  11. package/common/edible.instance.json +293 -297
  12. package/common/edible.js +1 -1
  13. package/common/emotions.instance.json +29 -65
  14. package/common/emotions.js +1 -1
  15. package/common/fastfood.instance.json +517 -1473
  16. package/common/fastfood.js +1 -1
  17. package/common/formulas.instance.json +992 -0
  18. package/common/formulas.js +19 -6
  19. package/common/gdefaults.js +2 -0
  20. package/common/help.js +7 -2
  21. package/common/help.test.json +9 -5
  22. package/common/helpers.js +5 -0
  23. package/common/javascript.js +8 -6
  24. package/common/kirk.instance.json +1 -1
  25. package/common/kirk.js +1 -1
  26. package/common/length.instance.json +199 -683
  27. package/common/length.js +1 -1
  28. package/common/math.instance.json +21 -41
  29. package/common/math.js +1 -1
  30. package/common/meta.instance.json +1 -1
  31. package/common/meta.js +35 -10
  32. package/common/numbers.js +28 -24
  33. package/common/ordering.instance.json +37 -101
  34. package/common/ordering.js +1 -1
  35. package/common/people.instance.json +50 -78
  36. package/common/people.js +1 -1
  37. package/common/pipboy.instance.json +23431 -1082
  38. package/common/pipboy.js +31 -4
  39. package/common/pokemon.instance.json +41 -97
  40. package/common/pokemon.js +1 -1
  41. package/common/pressure.instance.json +61 -33
  42. package/common/pressure.js +1 -1
  43. package/common/properties.instance.json +21 -49
  44. package/common/properties.js +13 -8
  45. package/common/reports.instance.json +7 -63
  46. package/common/reports.js +9 -7
  47. package/common/scorekeeper.instance.json +1 -1
  48. package/common/scorekeeper.js +9 -7
  49. package/common/spock.instance.json +1 -1
  50. package/common/spock.js +1 -1
  51. package/common/tell.js +4 -2
  52. package/common/temperature.instance.json +65 -133
  53. package/common/temperature.js +1 -1
  54. package/common/time.js +36 -20
  55. package/common/time.test.json +66 -44
  56. package/common/tokenize.js +46 -0
  57. package/common/ui.instance.json +1 -1
  58. package/common/weight.instance.json +177 -201
  59. package/common/weight.js +1 -1
  60. package/main.js +2 -6
  61. package/package.json +6 -14
  62. package/common/dimensionTemplate.instance.json +0 -582
  63. package/common/dimensionTemplate.js +0 -35
  64. package/common/formulasTemplate.instance.json +0 -483
  65. package/common/formulasTemplate.js +0 -30
  66. package/common/formulasTemplate.test.json +0 -2
  67. package/common/pipboyTemplate.instance.json +0 -17420
  68. package/common/pipboyTemplate.js +0 -48
  69. package/common/pipboyTemplate.test.json +0 -2
  70. /package/common/{dimensionTemplate.test.json → tokenize.test.json} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "troy modifies ounces",
4
4
  "weight is a dimension",
5
5
  "kilograms grams pounds (troy ounces) ounces and tons are units of weight",
@@ -200,6 +200,10 @@
200
200
  "convertToUnits",
201
201
  "queryable"
202
202
  ],
203
+ [
204
+ "convertToUnits",
205
+ "testingValue"
206
+ ],
203
207
  [
204
208
  "countable",
205
209
  "hierarchyAble"
@@ -352,6 +356,10 @@
352
356
  "it",
353
357
  "toAble"
354
358
  ],
359
+ [
360
+ "length",
361
+ "dimension"
362
+ ],
355
363
  [
356
364
  "lowest",
357
365
  "condition"
@@ -580,6 +588,10 @@
580
588
  "reason",
581
589
  "theAble"
582
590
  ],
591
+ [
592
+ "testingValue",
593
+ "testingValue"
594
+ ],
583
595
  [
584
596
  "that",
585
597
  "thisitthat"
@@ -787,29 +799,29 @@
787
799
  "dead": true,
788
800
  "modifiers": [
789
801
  {
802
+ "value": "troy",
803
+ "unknown": true,
804
+ "text": "troy",
790
805
  "marker": "unknown",
806
+ "word": "troy",
791
807
  "range": {
792
808
  "start": 0,
793
809
  "end": 3
794
810
  },
795
- "word": "troy",
796
- "text": "troy",
797
- "value": "troy",
798
- "unknown": true,
799
811
  "dead": true,
800
812
  "level": 1
801
813
  }
802
814
  ],
803
815
  "concept": {
816
+ "value": "ounces",
817
+ "unknown": true,
818
+ "text": "ounces",
804
819
  "marker": "unknown",
820
+ "word": "ounces",
805
821
  "range": {
806
822
  "start": 14,
807
823
  "end": 19
808
824
  },
809
- "word": "ounces",
810
- "text": "ounces",
811
- "value": "ounces",
812
- "unknown": true,
813
825
  "dead": true,
814
826
  "level": 1
815
827
  },
@@ -1059,6 +1071,10 @@
1059
1071
  "convertToUnits",
1060
1072
  "queryable"
1061
1073
  ],
1074
+ [
1075
+ "convertToUnits",
1076
+ "testingValue"
1077
+ ],
1062
1078
  [
1063
1079
  "countable",
1064
1080
  "hierarchyAble"
@@ -1211,6 +1227,10 @@
1211
1227
  "it",
1212
1228
  "toAble"
1213
1229
  ],
1230
+ [
1231
+ "length",
1232
+ "dimension"
1233
+ ],
1214
1234
  [
1215
1235
  "lowest",
1216
1236
  "condition"
@@ -1475,6 +1495,10 @@
1475
1495
  "reason",
1476
1496
  "theAble"
1477
1497
  ],
1498
+ [
1499
+ "testingValue",
1500
+ "testingValue"
1501
+ ],
1478
1502
  [
1479
1503
  "that",
1480
1504
  "thisitthat"
@@ -1790,15 +1814,15 @@
1790
1814
  },
1791
1815
  "one": {
1792
1816
  "number": "one",
1817
+ "value": "weight",
1818
+ "unknown": true,
1819
+ "text": "weight",
1793
1820
  "marker": "unknown",
1821
+ "word": "weight",
1794
1822
  "range": {
1795
1823
  "start": 0,
1796
1824
  "end": 20
1797
1825
  },
1798
- "word": "weight",
1799
- "text": "weight",
1800
- "value": "weight",
1801
- "unknown": true,
1802
1826
  "dead": true,
1803
1827
  "types": [
1804
1828
  "unknown"
@@ -2111,6 +2135,10 @@
2111
2135
  "convertToUnits",
2112
2136
  "queryable"
2113
2137
  ],
2138
+ [
2139
+ "convertToUnits",
2140
+ "testingValue"
2141
+ ],
2114
2142
  [
2115
2143
  "countable",
2116
2144
  "hierarchyAble"
@@ -2263,6 +2291,10 @@
2263
2291
  "it",
2264
2292
  "toAble"
2265
2293
  ],
2294
+ [
2295
+ "length",
2296
+ "dimension"
2297
+ ],
2266
2298
  [
2267
2299
  "lowest",
2268
2300
  "condition"
@@ -2527,6 +2559,10 @@
2527
2559
  "reason",
2528
2560
  "theAble"
2529
2561
  ],
2562
+ [
2563
+ "testingValue",
2564
+ "testingValue"
2565
+ ],
2530
2566
  [
2531
2567
  "that",
2532
2568
  "thisitthat"
@@ -3308,41 +3344,41 @@
3308
3344
  "isList": true,
3309
3345
  "value": [
3310
3346
  {
3347
+ "value": "kilograms",
3348
+ "unknown": true,
3349
+ "text": "kilograms",
3311
3350
  "marker": "unknown",
3351
+ "word": "kilograms",
3312
3352
  "range": {
3313
3353
  "start": 0,
3314
3354
  "end": 8
3315
3355
  },
3316
- "word": "kilograms",
3317
- "text": "kilograms",
3318
- "value": "kilograms",
3319
- "unknown": true,
3320
3356
  "dead": true,
3321
3357
  "level": 1
3322
3358
  },
3323
3359
  {
3360
+ "value": "grams",
3361
+ "unknown": true,
3362
+ "text": "grams",
3324
3363
  "marker": "unknown",
3364
+ "word": "grams",
3325
3365
  "range": {
3326
3366
  "start": 10,
3327
3367
  "end": 14
3328
3368
  },
3329
- "word": "grams",
3330
- "text": "grams",
3331
- "value": "grams",
3332
- "unknown": true,
3333
3369
  "dead": true,
3334
3370
  "level": 1
3335
3371
  },
3336
3372
  {
3373
+ "value": "pounds",
3374
+ "unknown": true,
3375
+ "text": "pounds",
3337
3376
  "marker": "unknown",
3377
+ "word": "pounds",
3338
3378
  "range": {
3339
3379
  "start": 16,
3340
3380
  "end": 21
3341
3381
  },
3342
- "word": "pounds",
3343
- "text": "pounds",
3344
- "value": "pounds",
3345
- "unknown": true,
3346
3382
  "dead": true,
3347
3383
  "level": 1
3348
3384
  },
@@ -3396,15 +3432,15 @@
3396
3432
  "level": 1
3397
3433
  },
3398
3434
  {
3435
+ "value": "tons",
3436
+ "unknown": true,
3437
+ "text": "tons",
3399
3438
  "marker": "unknown",
3439
+ "word": "tons",
3400
3440
  "range": {
3401
3441
  "start": 48,
3402
3442
  "end": 51
3403
3443
  },
3404
- "word": "tons",
3405
- "text": "tons",
3406
- "value": "tons",
3407
- "unknown": true,
3408
3444
  "dead": true,
3409
3445
  "level": 1
3410
3446
  }
@@ -3782,32 +3818,6 @@
3782
3818
  0
3783
3819
  ]
3784
3820
  ],
3785
- [
3786
- [
3787
- "is",
3788
- 0
3789
- ],
3790
- [
3791
- "list",
3792
- 1
3793
- ],
3794
- [
3795
- "propertyOf",
3796
- 0
3797
- ],
3798
- [
3799
- "unit",
3800
- 0
3801
- ],
3802
- [
3803
- "unknown",
3804
- 1
3805
- ],
3806
- [
3807
- "weight",
3808
- 0
3809
- ]
3810
- ],
3811
3821
  [
3812
3822
  [
3813
3823
  "is",
@@ -3861,20 +3871,6 @@
3861
3871
  "propertyOf",
3862
3872
  1
3863
3873
  ]
3864
- ],
3865
- [
3866
- [
3867
- "troy",
3868
- 0
3869
- ],
3870
- [
3871
- "unknown",
3872
- 0
3873
- ],
3874
- [
3875
- "weight",
3876
- 0
3877
- ]
3878
3874
  ]
3879
3875
  ],
3880
3876
  "learned_contextual_priorities": [],
@@ -4069,6 +4065,10 @@
4069
4065
  "convertToUnits",
4070
4066
  "queryable"
4071
4067
  ],
4068
+ [
4069
+ "convertToUnits",
4070
+ "testingValue"
4071
+ ],
4072
4072
  [
4073
4073
  "countable",
4074
4074
  "hierarchyAble"
@@ -4285,6 +4285,10 @@
4285
4285
  "kilogram",
4286
4286
  "unit"
4287
4287
  ],
4288
+ [
4289
+ "length",
4290
+ "dimension"
4291
+ ],
4288
4292
  [
4289
4293
  "lowest",
4290
4294
  "condition"
@@ -4585,6 +4589,10 @@
4585
4589
  "reason",
4586
4590
  "theAble"
4587
4591
  ],
4592
+ [
4593
+ "testingValue",
4594
+ "testingValue"
4595
+ ],
4588
4596
  [
4589
4597
  "that",
4590
4598
  "thisitthat"
@@ -5102,16 +5110,6 @@
5102
5110
  ""
5103
5111
  ],
5104
5112
  "associations": [
5105
- [
5106
- [
5107
- "*",
5108
- 0
5109
- ],
5110
- [
5111
- "troy",
5112
- 0
5113
- ]
5114
- ],
5115
5113
  [
5116
5114
  [
5117
5115
  "equals",
@@ -5369,6 +5367,10 @@
5369
5367
  "convertToUnits",
5370
5368
  "queryable"
5371
5369
  ],
5370
+ [
5371
+ "convertToUnits",
5372
+ "testingValue"
5373
+ ],
5372
5374
  [
5373
5375
  "countable",
5374
5376
  "hierarchyAble"
@@ -5585,6 +5587,10 @@
5585
5587
  "kilogram",
5586
5588
  "unit"
5587
5589
  ],
5590
+ [
5591
+ "length",
5592
+ "dimension"
5593
+ ],
5588
5594
  [
5589
5595
  "lowest",
5590
5596
  "condition"
@@ -5885,6 +5891,10 @@
5885
5891
  "reason",
5886
5892
  "theAble"
5887
5893
  ],
5894
+ [
5895
+ "testingValue",
5896
+ "testingValue"
5897
+ ],
5888
5898
  [
5889
5899
  "that",
5890
5900
  "thisitthat"
@@ -6394,16 +6404,6 @@
6394
6404
  ""
6395
6405
  ],
6396
6406
  "associations": [
6397
- [
6398
- [
6399
- "/",
6400
- 0
6401
- ],
6402
- [
6403
- "troy",
6404
- 0
6405
- ]
6406
- ],
6407
6407
  [
6408
6408
  [
6409
6409
  "divideByOperator",
@@ -6661,6 +6661,10 @@
6661
6661
  "convertToUnits",
6662
6662
  "queryable"
6663
6663
  ],
6664
+ [
6665
+ "convertToUnits",
6666
+ "testingValue"
6667
+ ],
6664
6668
  [
6665
6669
  "countable",
6666
6670
  "hierarchyAble"
@@ -6877,6 +6881,10 @@
6877
6881
  "kilogram",
6878
6882
  "unit"
6879
6883
  ],
6884
+ [
6885
+ "length",
6886
+ "dimension"
6887
+ ],
6880
6888
  [
6881
6889
  "lowest",
6882
6890
  "condition"
@@ -7177,6 +7185,10 @@
7177
7185
  "reason",
7178
7186
  "theAble"
7179
7187
  ],
7188
+ [
7189
+ "testingValue",
7190
+ "testingValue"
7191
+ ],
7180
7192
  [
7181
7193
  "that",
7182
7194
  "thisitthat"
@@ -7920,6 +7932,10 @@
7920
7932
  "convertToUnits",
7921
7933
  "queryable"
7922
7934
  ],
7935
+ [
7936
+ "convertToUnits",
7937
+ "testingValue"
7938
+ ],
7923
7939
  [
7924
7940
  "countable",
7925
7941
  "hierarchyAble"
@@ -8136,6 +8152,10 @@
8136
8152
  "kilogram",
8137
8153
  "unit"
8138
8154
  ],
8155
+ [
8156
+ "length",
8157
+ "dimension"
8158
+ ],
8139
8159
  [
8140
8160
  "lowest",
8141
8161
  "condition"
@@ -8436,6 +8456,10 @@
8436
8456
  "reason",
8437
8457
  "theAble"
8438
8458
  ],
8459
+ [
8460
+ "testingValue",
8461
+ "testingValue"
8462
+ ],
8439
8463
  [
8440
8464
  "that",
8441
8465
  "thisitthat"
@@ -9179,6 +9203,10 @@
9179
9203
  "convertToUnits",
9180
9204
  "queryable"
9181
9205
  ],
9206
+ [
9207
+ "convertToUnits",
9208
+ "testingValue"
9209
+ ],
9182
9210
  [
9183
9211
  "countable",
9184
9212
  "hierarchyAble"
@@ -9395,6 +9423,10 @@
9395
9423
  "kilogram",
9396
9424
  "unit"
9397
9425
  ],
9426
+ [
9427
+ "length",
9428
+ "dimension"
9429
+ ],
9398
9430
  [
9399
9431
  "lowest",
9400
9432
  "condition"
@@ -9695,6 +9727,10 @@
9695
9727
  "reason",
9696
9728
  "theAble"
9697
9729
  ],
9730
+ [
9731
+ "testingValue",
9732
+ "testingValue"
9733
+ ],
9698
9734
  [
9699
9735
  "that",
9700
9736
  "thisitthat"
@@ -10438,6 +10474,10 @@
10438
10474
  "convertToUnits",
10439
10475
  "queryable"
10440
10476
  ],
10477
+ [
10478
+ "convertToUnits",
10479
+ "testingValue"
10480
+ ],
10441
10481
  [
10442
10482
  "countable",
10443
10483
  "hierarchyAble"
@@ -10654,6 +10694,10 @@
10654
10694
  "kilogram",
10655
10695
  "unit"
10656
10696
  ],
10697
+ [
10698
+ "length",
10699
+ "dimension"
10700
+ ],
10657
10701
  [
10658
10702
  "lowest",
10659
10703
  "condition"
@@ -10954,6 +10998,10 @@
10954
10998
  "reason",
10955
10999
  "theAble"
10956
11000
  ],
11001
+ [
11002
+ "testingValue",
11003
+ "testingValue"
11004
+ ],
10957
11005
  [
10958
11006
  "that",
10959
11007
  "thisitthat"
@@ -11697,6 +11745,10 @@
11697
11745
  "convertToUnits",
11698
11746
  "queryable"
11699
11747
  ],
11748
+ [
11749
+ "convertToUnits",
11750
+ "testingValue"
11751
+ ],
11700
11752
  [
11701
11753
  "countable",
11702
11754
  "hierarchyAble"
@@ -11913,6 +11965,10 @@
11913
11965
  "kilogram",
11914
11966
  "unit"
11915
11967
  ],
11968
+ [
11969
+ "length",
11970
+ "dimension"
11971
+ ],
11916
11972
  [
11917
11973
  "lowest",
11918
11974
  "condition"
@@ -12213,6 +12269,10 @@
12213
12269
  "reason",
12214
12270
  "theAble"
12215
12271
  ],
12272
+ [
12273
+ "testingValue",
12274
+ "testingValue"
12275
+ ],
12216
12276
  [
12217
12277
  "that",
12218
12278
  "thisitthat"
@@ -12956,6 +13016,10 @@
12956
13016
  "convertToUnits",
12957
13017
  "queryable"
12958
13018
  ],
13019
+ [
13020
+ "convertToUnits",
13021
+ "testingValue"
13022
+ ],
12959
13023
  [
12960
13024
  "countable",
12961
13025
  "hierarchyAble"
@@ -13172,6 +13236,10 @@
13172
13236
  "kilogram",
13173
13237
  "unit"
13174
13238
  ],
13239
+ [
13240
+ "length",
13241
+ "dimension"
13242
+ ],
13175
13243
  [
13176
13244
  "lowest",
13177
13245
  "condition"
@@ -13472,6 +13540,10 @@
13472
13540
  "reason",
13473
13541
  "theAble"
13474
13542
  ],
13543
+ [
13544
+ "testingValue",
13545
+ "testingValue"
13546
+ ],
13475
13547
  [
13476
13548
  "that",
13477
13549
  "thisitthat"
@@ -13902,15 +13974,15 @@
13902
13974
  "timesExpression"
13903
13975
  ],
13904
13976
  "x": {
13977
+ "value": "tonne",
13978
+ "unknown": true,
13979
+ "text": "tonne",
13905
13980
  "marker": "unknown",
13981
+ "word": "tonne",
13906
13982
  "range": {
13907
13983
  "start": 6,
13908
13984
  "end": 10
13909
13985
  },
13910
- "word": "tonne",
13911
- "text": "tonne",
13912
- "value": "tonne",
13913
- "unknown": true,
13914
13986
  "dead": true,
13915
13987
  "types": [
13916
13988
  "number",
@@ -13958,20 +14030,6 @@
13958
14030
  ""
13959
14031
  ],
13960
14032
  "associations": [
13961
- [
13962
- [
13963
- "*",
13964
- 0
13965
- ],
13966
- [
13967
- "ton",
13968
- 0
13969
- ],
13970
- [
13971
- "unknown",
13972
- 0
13973
- ]
13974
- ],
13975
14033
  [
13976
14034
  [
13977
14035
  "equals",
@@ -14241,6 +14299,10 @@
14241
14299
  "convertToUnits",
14242
14300
  "queryable"
14243
14301
  ],
14302
+ [
14303
+ "convertToUnits",
14304
+ "testingValue"
14305
+ ],
14244
14306
  [
14245
14307
  "countable",
14246
14308
  "hierarchyAble"
@@ -14457,6 +14519,10 @@
14457
14519
  "kilogram",
14458
14520
  "unit"
14459
14521
  ],
14522
+ [
14523
+ "length",
14524
+ "dimension"
14525
+ ],
14460
14526
  [
14461
14527
  "lowest",
14462
14528
  "condition"
@@ -14757,6 +14823,10 @@
14757
14823
  "reason",
14758
14824
  "theAble"
14759
14825
  ],
14826
+ [
14827
+ "testingValue",
14828
+ "testingValue"
14829
+ ],
14760
14830
  [
14761
14831
  "that",
14762
14832
  "thisitthat"
@@ -15243,16 +15313,6 @@
15243
15313
  ""
15244
15314
  ],
15245
15315
  "associations": [
15246
- [
15247
- [
15248
- "*",
15249
- 0
15250
- ],
15251
- [
15252
- "ton",
15253
- 0
15254
- ]
15255
- ],
15256
15316
  [
15257
15317
  [
15258
15318
  "equals",
@@ -15328,50 +15388,6 @@
15328
15388
  "fragments": [],
15329
15389
  "semantics": [],
15330
15390
  "associations": [
15331
- [
15332
- [
15333
- "*",
15334
- 0
15335
- ],
15336
- [
15337
- "ton",
15338
- 0
15339
- ]
15340
- ],
15341
- [
15342
- [
15343
- "*",
15344
- 0
15345
- ],
15346
- [
15347
- "ton",
15348
- 0
15349
- ],
15350
- [
15351
- "unknown",
15352
- 0
15353
- ]
15354
- ],
15355
- [
15356
- [
15357
- "*",
15358
- 0
15359
- ],
15360
- [
15361
- "troy",
15362
- 0
15363
- ]
15364
- ],
15365
- [
15366
- [
15367
- "/",
15368
- 0
15369
- ],
15370
- [
15371
- "troy",
15372
- 0
15373
- ]
15374
- ],
15375
15391
  [
15376
15392
  [
15377
15393
  "a",
@@ -16294,32 +16310,6 @@
16294
16310
  0
16295
16311
  ]
16296
16312
  ],
16297
- [
16298
- [
16299
- "is",
16300
- 0
16301
- ],
16302
- [
16303
- "list",
16304
- 1
16305
- ],
16306
- [
16307
- "propertyOf",
16308
- 0
16309
- ],
16310
- [
16311
- "unit",
16312
- 0
16313
- ],
16314
- [
16315
- "unknown",
16316
- 1
16317
- ],
16318
- [
16319
- "weight",
16320
- 0
16321
- ]
16322
- ],
16323
16313
  [
16324
16314
  [
16325
16315
  "is",
@@ -16417,20 +16407,6 @@
16417
16407
  "unknown",
16418
16408
  1
16419
16409
  ]
16420
- ],
16421
- [
16422
- [
16423
- "troy",
16424
- 0
16425
- ],
16426
- [
16427
- "unknown",
16428
- 0
16429
- ],
16430
- [
16431
- "weight",
16432
- 0
16433
- ]
16434
16410
  ]
16435
16411
  ],
16436
16412
  "learned_contextual_priorities": []