ekms 7.12.8-beta.4 → 7.12.8-beta.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/common/animals.instance.json +67 -227
  2. package/common/animals.js +1 -1
  3. package/common/avatar.js +7 -5
  4. package/common/characters.js +7 -5
  5. package/common/crew.instance.json +257 -417
  6. package/common/crew.js +1 -1
  7. package/common/currency.js +0 -2
  8. package/common/dialogues.js +13 -11
  9. package/common/dimension.instance.json +10 -10
  10. package/common/dimension.js +1 -1
  11. package/common/edible.instance.json +139 -255
  12. package/common/edible.js +1 -1
  13. package/common/emotions.instance.json +56 -32
  14. package/common/emotions.js +1 -1
  15. package/common/fastfood.instance.json +915 -1919
  16. package/common/fastfood.js +1 -1
  17. package/common/formulas.instance.json +7 -7
  18. package/common/formulas.js +2 -2
  19. package/common/help.js +4 -2
  20. package/common/helpers.js +5 -0
  21. package/common/javascript.js +8 -6
  22. package/common/kirk.instance.json +1 -1
  23. package/common/kirk.js +1 -1
  24. package/common/length.instance.json +37 -217
  25. package/common/length.js +1 -1
  26. package/common/math.instance.json +19 -39
  27. package/common/math.js +1 -1
  28. package/common/meta.instance.json +1 -1
  29. package/common/meta.js +29 -10
  30. package/common/numbers.js +31 -24
  31. package/common/ordering.instance.json +86 -82
  32. package/common/ordering.js +1 -1
  33. package/common/people.instance.json +42 -70
  34. package/common/people.js +1 -1
  35. package/common/pipboy.instance.json +109 -169
  36. package/common/pipboy.js +1 -1
  37. package/common/pokemon.instance.json +31 -87
  38. package/common/pokemon.js +1 -1
  39. package/common/pressure.instance.json +10 -30
  40. package/common/pressure.js +1 -1
  41. package/common/properties.instance.json +16 -44
  42. package/common/properties.js +13 -8
  43. package/common/reports.instance.json +6 -62
  44. package/common/reports.js +9 -7
  45. package/common/scorekeeper.instance.json +1 -1
  46. package/common/scorekeeper.js +9 -7
  47. package/common/spock.instance.json +1 -1
  48. package/common/spock.js +1 -1
  49. package/common/tell.js +4 -2
  50. package/common/temperature.instance.json +13 -129
  51. package/common/temperature.js +1 -1
  52. package/common/time.js +36 -20
  53. package/common/time.test.json +66 -44
  54. package/common/ui.instance.json +1 -1
  55. package/common/weight.instance.json +25 -193
  56. package/common/weight.js +1 -1
  57. package/package.json +2 -2
package/common/edible.js CHANGED
@@ -20,7 +20,7 @@ const edible_instance = require('./edible.instance.json')
20
20
  // the value of x is 20 | fruit is a kind of food
21
21
 
22
22
  const template ={
23
- "queries": [
23
+ configs: [
24
24
  "food and drinks are edible",
25
25
  "chicken modifies strips",
26
26
  "chicken modifies nugget",
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "sentientBeing1 feels emotion1 means the emotion of sentientBeing1 is emotion1"
4
4
  ],
5
5
  "resultss": [
@@ -652,13 +652,13 @@
652
652
  },
653
653
  "sentientBeing": {
654
654
  "marker": "sentientBeing",
655
+ "value": "sentientbeing1",
656
+ "word": "sentientbeing1",
657
+ "text": "sentientbeing1",
655
658
  "range": {
656
659
  "start": 0,
657
660
  "end": 13
658
661
  },
659
- "word": "sentientbeing1",
660
- "text": "sentientbeing1",
661
- "value": "sentientbeing1",
662
662
  "unknown": true,
663
663
  "dead": true,
664
664
  "types": [
@@ -668,13 +668,13 @@
668
668
  },
669
669
  "emotion": {
670
670
  "marker": "emotion",
671
+ "value": "emotion1",
672
+ "word": "emotion1",
673
+ "text": "emotion1",
671
674
  "range": {
672
675
  "start": 21,
673
676
  "end": 28
674
677
  },
675
- "word": "emotion1",
676
- "text": "emotion1",
677
- "value": "emotion1",
678
678
  "unknown": true,
679
679
  "dead": true,
680
680
  "types": [
@@ -705,13 +705,13 @@
705
705
  "one": {
706
706
  "number": "one",
707
707
  "marker": "property",
708
+ "value": "emotion",
709
+ "word": "emotion",
710
+ "text": "the emotion of sentientbeing1",
708
711
  "range": {
709
712
  "start": 36,
710
713
  "end": 76
711
714
  },
712
- "word": "emotion",
713
- "text": "the emotion of sentientbeing1",
714
- "value": "emotion",
715
715
  "unknown": true,
716
716
  "dead": true,
717
717
  "types": [
@@ -728,13 +728,13 @@
728
728
  ],
729
729
  "object": {
730
730
  "marker": "unknown",
731
+ "value": "sentientbeing1",
732
+ "word": "sentientbeing1",
733
+ "text": "sentientbeing1",
731
734
  "range": {
732
735
  "start": 51,
733
736
  "end": 64
734
737
  },
735
- "word": "sentientbeing1",
736
- "text": "sentientbeing1",
737
- "value": "sentientbeing1",
738
738
  "unknown": true,
739
739
  "dead": true,
740
740
  "types": [
@@ -745,13 +745,13 @@
745
745
  "objects": [
746
746
  {
747
747
  "marker": "property",
748
+ "value": "emotion",
749
+ "word": "emotion",
750
+ "text": "the emotion",
748
751
  "range": {
749
752
  "start": 36,
750
753
  "end": 46
751
754
  },
752
- "word": "emotion",
753
- "text": "the emotion",
754
- "value": "emotion",
755
755
  "unknown": true,
756
756
  "dead": true,
757
757
  "types": [
@@ -770,13 +770,13 @@
770
770
  },
771
771
  {
772
772
  "marker": "unknown",
773
+ "value": "sentientbeing1",
774
+ "word": "sentientbeing1",
775
+ "text": "sentientbeing1",
773
776
  "range": {
774
777
  "start": 51,
775
778
  "end": 64
776
779
  },
777
- "word": "sentientbeing1",
778
- "text": "sentientbeing1",
779
- "value": "sentientbeing1",
780
780
  "unknown": true,
781
781
  "dead": true,
782
782
  "types": [
@@ -789,13 +789,13 @@
789
789
  },
790
790
  "two": {
791
791
  "marker": "unknown",
792
+ "value": "emotion1",
793
+ "word": "emotion1",
794
+ "text": "emotion1",
792
795
  "range": {
793
796
  "start": 69,
794
797
  "end": 76
795
798
  },
796
- "word": "emotion1",
797
- "text": "emotion1",
798
- "value": "emotion1",
799
799
  "unknown": true,
800
800
  "dead": true,
801
801
  "types": [
@@ -902,6 +902,10 @@
902
902
  "the",
903
903
  0
904
904
  ],
905
+ [
906
+ "unknown",
907
+ 0
908
+ ],
905
909
  [
906
910
  "unknown",
907
911
  1
@@ -924,6 +928,10 @@
924
928
  "propertyOf",
925
929
  0
926
930
  ],
931
+ [
932
+ "the",
933
+ 0
934
+ ],
927
935
  [
928
936
  "unknown",
929
937
  1
@@ -932,7 +940,7 @@
932
940
  [
933
941
  [
934
942
  "feel",
935
- 1
943
+ 0
936
944
  ],
937
945
  [
938
946
  "is",
@@ -952,6 +960,10 @@
952
960
  ]
953
961
  ],
954
962
  [
963
+ [
964
+ "feel",
965
+ 1
966
+ ],
955
967
  [
956
968
  "is",
957
969
  0
@@ -980,7 +992,7 @@
980
992
  ],
981
993
  [
982
994
  "propertyOf",
983
- 1
995
+ 0
984
996
  ],
985
997
  [
986
998
  "unknown",
@@ -997,12 +1009,12 @@
997
1009
  0
998
1010
  ],
999
1011
  [
1000
- "the",
1001
- 0
1012
+ "propertyOf",
1013
+ 1
1002
1014
  ],
1003
1015
  [
1004
1016
  "unknown",
1005
- 0
1017
+ 1
1006
1018
  ]
1007
1019
  ],
1008
1020
  [
@@ -1117,6 +1129,10 @@
1117
1129
  "the",
1118
1130
  0
1119
1131
  ],
1132
+ [
1133
+ "unknown",
1134
+ 0
1135
+ ],
1120
1136
  [
1121
1137
  "unknown",
1122
1138
  1
@@ -1139,6 +1155,10 @@
1139
1155
  "propertyOf",
1140
1156
  0
1141
1157
  ],
1158
+ [
1159
+ "the",
1160
+ 0
1161
+ ],
1142
1162
  [
1143
1163
  "unknown",
1144
1164
  1
@@ -1147,7 +1167,7 @@
1147
1167
  [
1148
1168
  [
1149
1169
  "feel",
1150
- 1
1170
+ 0
1151
1171
  ],
1152
1172
  [
1153
1173
  "is",
@@ -1167,6 +1187,10 @@
1167
1187
  ]
1168
1188
  ],
1169
1189
  [
1190
+ [
1191
+ "feel",
1192
+ 1
1193
+ ],
1170
1194
  [
1171
1195
  "is",
1172
1196
  0
@@ -1195,7 +1219,7 @@
1195
1219
  ],
1196
1220
  [
1197
1221
  "propertyOf",
1198
- 1
1222
+ 0
1199
1223
  ],
1200
1224
  [
1201
1225
  "unknown",
@@ -1212,12 +1236,12 @@
1212
1236
  0
1213
1237
  ],
1214
1238
  [
1215
- "the",
1216
- 0
1239
+ "propertyOf",
1240
+ 1
1217
1241
  ],
1218
1242
  [
1219
1243
  "unknown",
1220
- 0
1244
+ 1
1221
1245
  ]
1222
1246
  ],
1223
1247
  [
@@ -14,7 +14,7 @@ boredom/bored
14
14
  */
15
15
 
16
16
  const template ={
17
- "queries": [
17
+ configs: [
18
18
  // "neutral anger happiness and boredom are concepts",
19
19
  // "neutral anger happiness and boredom are emotions",
20
20
  // TODO add an invert for mapping generator to "sb feels e"