ekms 7.12.3 → 7.12.4-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/common/animals.instance.json +52 -0
  2. package/common/avatar.js +1 -2
  3. package/common/comparable.js +1 -1
  4. package/common/concept.js +2 -0
  5. package/common/countable.js +1 -1
  6. package/common/crew.instance.json +348 -0
  7. package/common/crew.js +3 -2
  8. package/common/currency.js +2 -0
  9. package/common/dialogues.js +7 -3
  10. package/common/dimension.js +3 -1
  11. package/common/dimension.test.json +170 -26
  12. package/common/dimensionTemplate.instance.json +4 -0
  13. package/common/edible.instance.json +128 -0
  14. package/common/edible.js +1 -2
  15. package/common/emotions.instance.json +4 -0
  16. package/common/emotions.js +2 -0
  17. package/common/fastfood.instance.json +939 -435
  18. package/common/fastfood.js +149 -62
  19. package/common/fastfood.test.json +36474 -985
  20. package/common/formulas.js +3 -1
  21. package/common/formulasTemplate.instance.json +4 -0
  22. package/common/formulasTemplate.js +1 -1
  23. package/common/help.js +2 -0
  24. package/common/hierarchy.js +2 -0
  25. package/common/javascript.js +2 -0
  26. package/common/kirk.instance.json +4 -0
  27. package/common/length.instance.json +60 -0
  28. package/common/math.js +1 -4
  29. package/common/mathTemplate.instance.json +8 -0
  30. package/common/mathTemplate.js +1 -1
  31. package/common/ordering.instance.json +8 -0
  32. package/common/ordering.js +2 -0
  33. package/common/people.instance.json +32 -60
  34. package/common/people.js +2 -0
  35. package/common/pipboy.js +3 -1
  36. package/common/pipboy.test.json +13 -5
  37. package/common/pipboyTemplate.js +1 -1
  38. package/common/pokemon.instance.json +52 -0
  39. package/common/pokemon.js +2 -0
  40. package/common/pressure.instance.json +16 -0
  41. package/common/properties.instance.json +4 -0
  42. package/common/properties.js +3 -3
  43. package/common/reports.instance.json +9 -1
  44. package/common/reports.js +7 -3
  45. package/common/scorekeeper.js +3 -3
  46. package/common/sizeable.js +1 -1
  47. package/common/spock.instance.json +4 -0
  48. package/common/stgame.js +2 -0
  49. package/common/stm.js +21 -6
  50. package/common/tell.js +2 -0
  51. package/common/temperature.instance.json +16 -84
  52. package/common/time.js +2 -0
  53. package/common/ui.instance.json +4 -0
  54. package/common/ui.js +3 -1
  55. package/common/weight.instance.json +48 -0
  56. package/package.json +2 -2
@@ -469,30 +469,6 @@
469
469
  3
470
470
  ]
471
471
  },
472
- {
473
- "context": [
474
- [
475
- "withModification",
476
- 0
477
- ],
478
- [
479
- "modification",
480
- 1
481
- ],
482
- [
483
- "list",
484
- 0
485
- ],
486
- [
487
- "modification",
488
- 1
489
- ]
490
- ],
491
- "ordered": true,
492
- "choose": [
493
- 2
494
- ]
495
- },
496
472
  {
497
473
  "context": [
498
474
  [
@@ -689,7 +665,7 @@
689
665
  ],
690
666
  "generators": [
691
667
  {
692
- "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:217",
668
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:216",
693
669
  "match": "({context}) => false && context.marker == 'combo' && context.comboNumber",
694
670
  "apply": "({context, g}) => g(context.comboNumber)"
695
671
  }
@@ -701,7 +677,7 @@
701
677
  {
702
678
  "id": "withModification",
703
679
  "level": 0,
704
- "isA": [
680
+ "before": [
705
681
  "preposition"
706
682
  ],
707
683
  "generatorp": "({context, gp}) => `with ${gp(context.modifications)}`",
@@ -741,7 +717,8 @@
741
717
  "id": "comboNumber",
742
718
  "convolution": true,
743
719
  "before": [
744
- "combo"
720
+ "combo",
721
+ "preposition"
745
722
  ],
746
723
  "bridge": "{ ...next(before[0]), postModifiers: append(before[0].postModifiers, ['comboNumber']), comboNumber: after[0], instance: true, flatten: true }"
747
724
  },
@@ -919,16 +896,51 @@
919
896
  "apply": "({context, s}) => {\n s({...context, flatten: true})\n }"
920
897
  },
921
898
  {
922
- "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:294",
899
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:293",
923
900
  "match": "({context, api}) => context.marker == 'controlEnd' && api.hasAskedForButNotAvailable()",
924
- "apply": "({context, api, gp, toContext, verbatim}) => {\n const naArray = api.getAskedForButNotAvailable()\n naArray.forEach((f) => f.paraphrase = true)\n const naContext = toContext(naArray)\n /*\n naContext.isResponse = true\n naContext.marker = 'verbatim'\n naContext.verbatim = `The following are not menu items: ${gp(naContext)}`\n insert(naContext)\n */\n verbatim(`The following are not menu items: ${gp(naContext)}`)\n // allow other motivation to run\n context.cascade = true\n }"
901
+ "apply": "({context, api, gp, toContext, verbatim}) => {\n const naArray = api.getAskedForButNotAvailable()\n naArray.forEach((f) => f.paraphrase = true)\n const naContext = toContext(naArray)\n verbatim(`The following are not menu items: ${gp(naContext)}`)\n // allow other motivation to run\n context.cascade = true\n }"
902
+ },
903
+ {
904
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:305",
905
+ "match": "({context, api}) => context.marker == 'controlEnd' && api.hasAskedForButNotAvailableModification()",
906
+ "apply": "({context, api, gp, toContext, verbatim}) => {\n const naArray = api.getAskedForButNotAvailableModification().map(({ item, modification }) => {\n // return `${gp(item)} can not be modified with ${gp(modification)}.`\n return `XXX can not be modified with ${gp(modification)}.`\n })\n verbatim(naArray.join(' '))\n // allow other motivation to run\n context.cascade = true\n }"
925
907
  }
926
908
  ]
927
909
  },
928
910
  {
929
- "apply": "({ask, api}) => {\n // see if followup for drink is needed\n\n const hasDrink = (isA, item) => {\n let hasDrink = false\n for (let modification of (item.modifications || [])) {\n if (isA(modification.id, 'drink')) {\n hasDrink = true\n break\n }\n }\n return hasDrink\n }\n\n const needsDrink = (item) => {\n return item.needsDrink\n }\n\n const askAbout = ({api, isA}) => {\n const items = []\n for (const item of api.items()) {\n if (needsDrink(item) && !hasDrink(isA, item)) {\n items.push(item)\n }\n }\n return items\n }\n\n ask([\n {\n where: where(),\n oneShot: false,\n matchq: (args) => askAbout(args).length > 0,\n applyq: (args) => {\n args.context.cascade = true\n const needsDrink = askAbout(args)\n if (needsDrink.length > 1) {\n return `What drinks do you want?`\n } else {\n return `What drink do you want?`\n }\n },\n matchr: (args) => args.isA(args.context.marker, 'drink') && askAbout(args).length > 0,\n applyr: (args) => {\n // TODO check for is available for all modifications\n const needsDrink = askAbout(args)\n const { api, context } = args\n if (isMany(context)) {\n let count = getCount(context) || Number.MAX_SAFE_INTEGER\n for (let item of needsDrink) {\n if (count < 1) {\n break\n }\n count -= 1\n api.addDrink(item.item_id, { id: context.value }) \n }\n } else {\n const item_id = needsDrink[0].item_id\n api.addDrink(item_id, { id: context.value }) \n }\n }\n },\n ])\n }"
911
+ "apply": "({ask, api}) => {\n // see if followup for drink is needed\n\n const hasDrink = (isA, item) => {\n let hasDrink = false\n for (let modification of (item.modifications || [])) {\n if (isA(modification.id, 'drink')) {\n hasDrink = true\n break\n }\n }\n return hasDrink\n }\n\n const needsDrink = (item) => {\n return item.needsDrink\n }\n\n const askAbout = ({api, isA}) => {\n const items = []\n for (const item of api.items()) {\n if (needsDrink(item) && !hasDrink(isA, item)) {\n items.push(item)\n }\n }\n return items\n }\n\n ask([\n {\n where: where(),\n oneShot: false,\n matchq: (args) => askAbout(args).length > 0 && args.context.marker == 'controlEnd',\n applyq: (args) => {\n args.context.cascade = true\n const needsDrink = askAbout(args)\n // const details = args.gp({ marker: 'list', value: needsDrink.map((item) => item.food)})\n if (needsDrink.length > 1) {\n return `What drinks do you want?`\n } else {\n return `What drink do you want?`\n }\n },\n matchr: (args) => {\n if (args.isA(args.context.marker, 'drink') && askAbout(args).length > 0) {\n const needsDrink = askAbout(args)\n if (args.api.isAvailableModification(needsDrink[0].food, { ...args.context , id: args.context.value })) {\n return true\n }\n }\n return false\n },\n applyr: (args) => {\n // TODO check for is available for all modifications\n const needsDrink = askAbout(args)\n const { api, context } = args\n if (isMany(context)) {\n let count = getCount(context) || Number.MAX_SAFE_INTEGER\n for (let item of needsDrink) {\n if (count < 1) {\n break\n }\n count -= 1\n api.addDrink(item.item_id, { id: context.value }) \n }\n } else {\n const item_id = needsDrink[0].item_id\n api.addDrink(item_id, { id: context.value }) \n }\n }\n },\n ])\n }"
930
912
  },
931
913
  {
914
+ "operators": [
915
+ "([change] (meal/* || drink/*) (to/1))"
916
+ ],
917
+ "hierarchy": [
918
+ [
919
+ "meal",
920
+ "toAble"
921
+ ],
922
+ [
923
+ "drink",
924
+ "toAble"
925
+ ]
926
+ ],
927
+ "bridges": [
928
+ {
929
+ "id": "change",
930
+ "isA": [
931
+ "verby"
932
+ ],
933
+ "localHierarchy": [
934
+ [
935
+ "thisitthat",
936
+ "meal"
937
+ ]
938
+ ],
939
+ "generatorp": "({context, gp}) => `change ${gp(context.from)} to ${gp(context.to)}`",
940
+ "bridge": "{ ...next(operator), from: after[0], to: after[1].toObject }",
941
+ "semantic": "({context, api, e}) => {\n const state = api.state\n const eFrom = e(context.from).evalue\n const from = state.getIdCombo(eFrom.fromSTM ? eFrom : context.from)\n const to = state.getIdCombo(context.to)\n for (const item of api.items()) {\n if (item.id == from.id) {\n api.modify(item, { id: to.id })\n }\n }\n }"
942
+ }
943
+ ],
932
944
  "priorities": [
933
945
  {
934
946
  "context": [
@@ -1064,6 +1076,128 @@
1064
1076
  1,
1065
1077
  2
1066
1078
  ]
1079
+ },
1080
+ {
1081
+ "context": [
1082
+ [
1083
+ "drink",
1084
+ 0
1085
+ ],
1086
+ [
1087
+ "list",
1088
+ 0
1089
+ ],
1090
+ [
1091
+ "combo",
1092
+ 0
1093
+ ],
1094
+ [
1095
+ "number",
1096
+ 0
1097
+ ]
1098
+ ],
1099
+ "ordered": true,
1100
+ "choose": [
1101
+ 2,
1102
+ 3
1103
+ ]
1104
+ },
1105
+ {
1106
+ "context": [
1107
+ [
1108
+ "drink",
1109
+ 1
1110
+ ],
1111
+ [
1112
+ "list",
1113
+ 0
1114
+ ],
1115
+ [
1116
+ "combo",
1117
+ 0
1118
+ ],
1119
+ [
1120
+ "number",
1121
+ 0
1122
+ ]
1123
+ ],
1124
+ "ordered": true,
1125
+ "choose": [
1126
+ 2,
1127
+ 3
1128
+ ]
1129
+ },
1130
+ {
1131
+ "context": [
1132
+ [
1133
+ "withModification",
1134
+ 0
1135
+ ],
1136
+ [
1137
+ "modification",
1138
+ 1
1139
+ ],
1140
+ [
1141
+ "list",
1142
+ 0
1143
+ ],
1144
+ [
1145
+ "modification",
1146
+ 1
1147
+ ]
1148
+ ],
1149
+ "ordered": true,
1150
+ "choose": [
1151
+ 2
1152
+ ]
1153
+ },
1154
+ {
1155
+ "context": [
1156
+ [
1157
+ "withModification",
1158
+ 0
1159
+ ],
1160
+ [
1161
+ "modification",
1162
+ 1
1163
+ ],
1164
+ [
1165
+ "list",
1166
+ 0
1167
+ ],
1168
+ [
1169
+ "combo",
1170
+ 1
1171
+ ]
1172
+ ],
1173
+ "ordered": true,
1174
+ "choose": [
1175
+ 0
1176
+ ]
1177
+ },
1178
+ {
1179
+ "context": [
1180
+ [
1181
+ "combo",
1182
+ 2
1183
+ ],
1184
+ [
1185
+ "list",
1186
+ 0
1187
+ ],
1188
+ [
1189
+ "combo",
1190
+ 1
1191
+ ],
1192
+ [
1193
+ "withModification",
1194
+ 1
1195
+ ]
1196
+ ],
1197
+ "ordered": true,
1198
+ "choose": [
1199
+ 3
1200
+ ]
1067
1201
  }
1068
1202
  ]
1069
1203
  }
@@ -3095,6 +3229,10 @@
3095
3229
  "thisitthat",
3096
3230
  "queryable"
3097
3231
  ],
3232
+ [
3233
+ "to",
3234
+ "preposition"
3235
+ ],
3098
3236
  [
3099
3237
  "toAble",
3100
3238
  "toAble"
@@ -5409,6 +5547,10 @@
5409
5547
  "thisitthat",
5410
5548
  "queryable"
5411
5549
  ],
5550
+ [
5551
+ "to",
5552
+ "preposition"
5553
+ ],
5412
5554
  [
5413
5555
  "toAble",
5414
5556
  "toAble"
@@ -7727,6 +7869,10 @@
7727
7869
  "thisitthat",
7728
7870
  "queryable"
7729
7871
  ],
7872
+ [
7873
+ "to",
7874
+ "preposition"
7875
+ ],
7730
7876
  [
7731
7877
  "toAble",
7732
7878
  "toAble"
@@ -10158,6 +10304,10 @@
10158
10304
  "thisitthat",
10159
10305
  "queryable"
10160
10306
  ],
10307
+ [
10308
+ "to",
10309
+ "preposition"
10310
+ ],
10161
10311
  [
10162
10312
  "toAble",
10163
10313
  "toAble"
@@ -12622,6 +12772,10 @@
12622
12772
  "thisitthat",
12623
12773
  "queryable"
12624
12774
  ],
12775
+ [
12776
+ "to",
12777
+ "preposition"
12778
+ ],
12625
12779
  [
12626
12780
  "toAble",
12627
12781
  "toAble"
@@ -15197,6 +15351,10 @@
15197
15351
  "thisitthat",
15198
15352
  "queryable"
15199
15353
  ],
15354
+ [
15355
+ "to",
15356
+ "preposition"
15357
+ ],
15200
15358
  [
15201
15359
  "toAble",
15202
15360
  "toAble"
@@ -17863,6 +18021,10 @@
17863
18021
  "thisitthat",
17864
18022
  "queryable"
17865
18023
  ],
18024
+ [
18025
+ "to",
18026
+ "preposition"
18027
+ ],
17866
18028
  [
17867
18029
  "toAble",
17868
18030
  "toAble"
@@ -20593,6 +20755,10 @@
20593
20755
  "thisitthat",
20594
20756
  "queryable"
20595
20757
  ],
20758
+ [
20759
+ "to",
20760
+ "preposition"
20761
+ ],
20596
20762
  [
20597
20763
  "toAble",
20598
20764
  "toAble"
@@ -23534,6 +23700,10 @@
23534
23700
  "thisitthat",
23535
23701
  "queryable"
23536
23702
  ],
23703
+ [
23704
+ "to",
23705
+ "preposition"
23706
+ ],
23537
23707
  [
23538
23708
  "toAble",
23539
23709
  "toAble"
@@ -26432,6 +26602,10 @@
26432
26602
  "thisitthat",
26433
26603
  "queryable"
26434
26604
  ],
26605
+ [
26606
+ "to",
26607
+ "preposition"
26608
+ ],
26435
26609
  [
26436
26610
  "toAble",
26437
26611
  "toAble"
@@ -29391,6 +29565,10 @@
29391
29565
  "thisitthat",
29392
29566
  "queryable"
29393
29567
  ],
29568
+ [
29569
+ "to",
29570
+ "preposition"
29571
+ ],
29394
29572
  [
29395
29573
  "toAble",
29396
29574
  "toAble"
@@ -32416,6 +32594,10 @@
32416
32594
  "thisitthat",
32417
32595
  "queryable"
32418
32596
  ],
32597
+ [
32598
+ "to",
32599
+ "preposition"
32600
+ ],
32419
32601
  [
32420
32602
  "toAble",
32421
32603
  "toAble"
@@ -35389,6 +35571,10 @@
35389
35571
  "thisitthat",
35390
35572
  "queryable"
35391
35573
  ],
35574
+ [
35575
+ "to",
35576
+ "preposition"
35577
+ ],
35392
35578
  [
35393
35579
  "toAble",
35394
35580
  "toAble"
@@ -38478,6 +38664,10 @@
38478
38664
  "thisitthat",
38479
38665
  "queryable"
38480
38666
  ],
38667
+ [
38668
+ "to",
38669
+ "preposition"
38670
+ ],
38481
38671
  [
38482
38672
  "toAble",
38483
38673
  "toAble"
@@ -41635,6 +41825,10 @@
41635
41825
  "thisitthat",
41636
41826
  "queryable"
41637
41827
  ],
41828
+ [
41829
+ "to",
41830
+ "preposition"
41831
+ ],
41638
41832
  [
41639
41833
  "toAble",
41640
41834
  "toAble"
@@ -44854,6 +45048,10 @@
44854
45048
  "thisitthat",
44855
45049
  "queryable"
44856
45050
  ],
45051
+ [
45052
+ "to",
45053
+ "preposition"
45054
+ ],
44857
45055
  [
44858
45056
  "toAble",
44859
45057
  "toAble"
@@ -48141,6 +48339,10 @@
48141
48339
  "thisitthat",
48142
48340
  "queryable"
48143
48341
  ],
48342
+ [
48343
+ "to",
48344
+ "preposition"
48345
+ ],
48144
48346
  [
48145
48347
  "toAble",
48146
48348
  "toAble"
@@ -51458,6 +51660,10 @@
51458
51660
  "thisitthat",
51459
51661
  "queryable"
51460
51662
  ],
51663
+ [
51664
+ "to",
51665
+ "preposition"
51666
+ ],
51461
51667
  [
51462
51668
  "toAble",
51463
51669
  "toAble"
@@ -54868,6 +55074,10 @@
54868
55074
  "thisitthat",
54869
55075
  "queryable"
54870
55076
  ],
55077
+ [
55078
+ "to",
55079
+ "preposition"
55080
+ ],
54871
55081
  [
54872
55082
  "toAble",
54873
55083
  "toAble"
@@ -58299,6 +58509,10 @@
58299
58509
  "thisitthat",
58300
58510
  "queryable"
58301
58511
  ],
58512
+ [
58513
+ "to",
58514
+ "preposition"
58515
+ ],
58302
58516
  [
58303
58517
  "toAble",
58304
58518
  "toAble"
@@ -61762,6 +61976,10 @@
61762
61976
  "thisitthat",
61763
61977
  "queryable"
61764
61978
  ],
61979
+ [
61980
+ "to",
61981
+ "preposition"
61982
+ ],
61765
61983
  [
61766
61984
  "toAble",
61767
61985
  "toAble"
@@ -65369,6 +65587,10 @@
65369
65587
  "thisitthat",
65370
65588
  "queryable"
65371
65589
  ],
65590
+ [
65591
+ "to",
65592
+ "preposition"
65593
+ ],
65372
65594
  [
65373
65595
  "toAble",
65374
65596
  "toAble"
@@ -65759,15 +65981,15 @@
65759
65981
  0
65760
65982
  ],
65761
65983
  [
65762
- "mango_passion",
65984
+ "strawberry_banana",
65763
65985
  0
65764
65986
  ],
65765
65987
  [
65766
- "wild_berry",
65988
+ "mango_passion",
65767
65989
  0
65768
65990
  ],
65769
65991
  [
65770
- "strawberry_banana",
65992
+ "wild_berry",
65771
65993
  0
65772
65994
  ]
65773
65995
  ],
@@ -65828,15 +66050,15 @@
65828
66050
  0
65829
66051
  ],
65830
66052
  [
65831
- "mango_passion",
66053
+ "strawberry_banana",
65832
66054
  0
65833
66055
  ],
65834
66056
  [
65835
- "wild_berry",
66057
+ "mango_passion",
65836
66058
  0
65837
66059
  ],
65838
66060
  [
65839
- "strawberry_banana",
66061
+ "wild_berry",
65840
66062
  0
65841
66063
  ]
65842
66064
  ],
@@ -65893,15 +66115,15 @@
65893
66115
  0
65894
66116
  ],
65895
66117
  [
65896
- "mango_passion",
66118
+ "strawberry_banana",
65897
66119
  0
65898
66120
  ],
65899
66121
  [
65900
- "wild_berry",
66122
+ "mango_passion",
65901
66123
  0
65902
66124
  ],
65903
66125
  [
65904
- "strawberry_banana",
66126
+ "wild_berry",
65905
66127
  0
65906
66128
  ]
65907
66129
  ],
@@ -65954,15 +66176,15 @@
65954
66176
  0
65955
66177
  ],
65956
66178
  [
65957
- "mango_passion",
66179
+ "strawberry_banana",
65958
66180
  0
65959
66181
  ],
65960
66182
  [
65961
- "wild_berry",
66183
+ "mango_passion",
65962
66184
  0
65963
66185
  ],
65964
66186
  [
65965
- "strawberry_banana",
66187
+ "wild_berry",
65966
66188
  0
65967
66189
  ]
65968
66190
  ],
@@ -66056,11 +66278,11 @@
66056
66278
  0
66057
66279
  ],
66058
66280
  [
66059
- "wild_berry",
66281
+ "strawberry_banana",
66060
66282
  0
66061
66283
  ],
66062
66284
  [
66063
- "strawberry_banana",
66285
+ "wild_berry",
66064
66286
  0
66065
66287
  ]
66066
66288
  ],
@@ -66750,6 +66972,20 @@
66750
66972
  1
66751
66973
  ]
66752
66974
  ],
66975
+ [
66976
+ [
66977
+ "list",
66978
+ 1
66979
+ ],
66980
+ [
66981
+ "modifies",
66982
+ 0
66983
+ ],
66984
+ [
66985
+ "unknown",
66986
+ 1
66987
+ ]
66988
+ ],
66753
66989
  [
66754
66990
  [
66755
66991
  "list",
@@ -70109,6 +70345,10 @@
70109
70345
  "thisitthat",
70110
70346
  "queryable"
70111
70347
  ],
70348
+ [
70349
+ "to",
70350
+ "preposition"
70351
+ ],
70112
70352
  [
70113
70353
  "toAble",
70114
70354
  "toAble"
@@ -70543,15 +70783,15 @@
70543
70783
  0
70544
70784
  ],
70545
70785
  [
70546
- "mango_passion",
70786
+ "strawberry_banana",
70547
70787
  0
70548
70788
  ],
70549
70789
  [
70550
- "wild_berry",
70790
+ "mango_passion",
70551
70791
  0
70552
70792
  ],
70553
70793
  [
70554
- "strawberry_banana",
70794
+ "wild_berry",
70555
70795
  0
70556
70796
  ]
70557
70797
  ],
@@ -70616,15 +70856,15 @@
70616
70856
  0
70617
70857
  ],
70618
70858
  [
70619
- "mango_passion",
70859
+ "strawberry_banana",
70620
70860
  0
70621
70861
  ],
70622
70862
  [
70623
- "wild_berry",
70863
+ "mango_passion",
70624
70864
  0
70625
70865
  ],
70626
70866
  [
70627
- "strawberry_banana",
70867
+ "wild_berry",
70628
70868
  0
70629
70869
  ]
70630
70870
  ],
@@ -70685,15 +70925,15 @@
70685
70925
  0
70686
70926
  ],
70687
70927
  [
70688
- "mango_passion",
70928
+ "strawberry_banana",
70689
70929
  0
70690
70930
  ],
70691
70931
  [
70692
- "wild_berry",
70932
+ "mango_passion",
70693
70933
  0
70694
70934
  ],
70695
70935
  [
70696
- "strawberry_banana",
70936
+ "wild_berry",
70697
70937
  0
70698
70938
  ]
70699
70939
  ],
@@ -70799,11 +71039,11 @@
70799
71039
  0
70800
71040
  ],
70801
71041
  [
70802
- "wild_berry",
71042
+ "strawberry_banana",
70803
71043
  0
70804
71044
  ],
70805
71045
  [
70806
- "strawberry_banana",
71046
+ "wild_berry",
70807
71047
  0
70808
71048
  ]
70809
71049
  ],
@@ -74952,6 +75192,10 @@
74952
75192
  "thisitthat",
74953
75193
  "queryable"
74954
75194
  ],
75195
+ [
75196
+ "to",
75197
+ "preposition"
75198
+ ],
74955
75199
  [
74956
75200
  "toAble",
74957
75201
  "toAble"
@@ -78911,6 +79155,10 @@
78911
79155
  "thisitthat",
78912
79156
  "queryable"
78913
79157
  ],
79158
+ [
79159
+ "to",
79160
+ "preposition"
79161
+ ],
78914
79162
  [
78915
79163
  "toAble",
78916
79164
  "toAble"
@@ -79357,11 +79605,11 @@
79357
79605
  0
79358
79606
  ],
79359
79607
  [
79360
- "wild_berry",
79608
+ "mango_passion",
79361
79609
  0
79362
79610
  ],
79363
79611
  [
79364
- "mango_passion",
79612
+ "wild_berry",
79365
79613
  0
79366
79614
  ],
79367
79615
  [
@@ -79438,11 +79686,11 @@
79438
79686
  0
79439
79687
  ],
79440
79688
  [
79441
- "wild_berry",
79689
+ "mango_passion",
79442
79690
  0
79443
79691
  ],
79444
79692
  [
79445
- "mango_passion",
79693
+ "wild_berry",
79446
79694
  0
79447
79695
  ],
79448
79696
  [
@@ -79515,11 +79763,11 @@
79515
79763
  0
79516
79764
  ],
79517
79765
  [
79518
- "wild_berry",
79766
+ "mango_passion",
79519
79767
  0
79520
79768
  ],
79521
79769
  [
79522
- "mango_passion",
79770
+ "wild_berry",
79523
79771
  0
79524
79772
  ],
79525
79773
  [
@@ -80550,24 +80798,6 @@
80550
80798
  0
80551
80799
  ]
80552
80800
  ],
80553
- [
80554
- [
80555
- "ingredient",
80556
- 0
80557
- ],
80558
- [
80559
- "is",
80560
- 0
80561
- ],
80562
- [
80563
- "list",
80564
- 1
80565
- ],
80566
- [
80567
- "smoothie",
80568
- 0
80569
- ]
80570
- ],
80571
80801
  [
80572
80802
  [
80573
80803
  "is",
@@ -84027,6 +84257,10 @@
84027
84257
  "thisitthat",
84028
84258
  "queryable"
84029
84259
  ],
84260
+ [
84261
+ "to",
84262
+ "preposition"
84263
+ ],
84030
84264
  [
84031
84265
  "toAble",
84032
84266
  "toAble"
@@ -88118,6 +88352,10 @@
88118
88352
  "thisitthat",
88119
88353
  "queryable"
88120
88354
  ],
88355
+ [
88356
+ "to",
88357
+ "preposition"
88358
+ ],
88121
88359
  [
88122
88360
  "toAble",
88123
88361
  "toAble"
@@ -92300,6 +92538,10 @@
92300
92538
  "thisitthat",
92301
92539
  "queryable"
92302
92540
  ],
92541
+ [
92542
+ "to",
92543
+ "preposition"
92544
+ ],
92303
92545
  [
92304
92546
  "toAble",
92305
92547
  "toAble"
@@ -97175,6 +97417,10 @@
97175
97417
  "thisitthat",
97176
97418
  "queryable"
97177
97419
  ],
97420
+ [
97421
+ "to",
97422
+ "preposition"
97423
+ ],
97178
97424
  [
97179
97425
  "toAble",
97180
97426
  "toAble"
@@ -97657,7 +97903,7 @@
97657
97903
  0
97658
97904
  ],
97659
97905
  [
97660
- "premium_cod",
97906
+ "ultimate_chicken_grill",
97661
97907
  0
97662
97908
  ],
97663
97909
  [
@@ -97665,7 +97911,7 @@
97665
97911
  0
97666
97912
  ],
97667
97913
  [
97668
- "ultimate_chicken_grill",
97914
+ "premium_cod",
97669
97915
  0
97670
97916
  ],
97671
97917
  [
@@ -97742,7 +97988,7 @@
97742
97988
  0
97743
97989
  ],
97744
97990
  [
97745
- "premium_cod",
97991
+ "ultimate_chicken_grill",
97746
97992
  0
97747
97993
  ],
97748
97994
  [
@@ -97750,7 +97996,7 @@
97750
97996
  0
97751
97997
  ],
97752
97998
  [
97753
- "ultimate_chicken_grill",
97999
+ "premium_cod",
97754
98000
  0
97755
98001
  ],
97756
98002
  [
@@ -97823,7 +98069,7 @@
97823
98069
  0
97824
98070
  ],
97825
98071
  [
97826
- "premium_cod",
98072
+ "ultimate_chicken_grill",
97827
98073
  0
97828
98074
  ],
97829
98075
  [
@@ -97831,7 +98077,7 @@
97831
98077
  0
97832
98078
  ],
97833
98079
  [
97834
- "ultimate_chicken_grill",
98080
+ "premium_cod",
97835
98081
  0
97836
98082
  ],
97837
98083
  [
@@ -97900,7 +98146,7 @@
97900
98146
  0
97901
98147
  ],
97902
98148
  [
97903
- "premium_cod",
98149
+ "ultimate_chicken_grill",
97904
98150
  0
97905
98151
  ],
97906
98152
  [
@@ -97908,7 +98154,7 @@
97908
98154
  0
97909
98155
  ],
97910
98156
  [
97911
- "ultimate_chicken_grill",
98157
+ "premium_cod",
97912
98158
  0
97913
98159
  ],
97914
98160
  [
@@ -97973,7 +98219,7 @@
97973
98219
  0
97974
98220
  ],
97975
98221
  [
97976
- "premium_cod",
98222
+ "ultimate_chicken_grill",
97977
98223
  0
97978
98224
  ],
97979
98225
  [
@@ -97981,7 +98227,7 @@
97981
98227
  0
97982
98228
  ],
97983
98229
  [
97984
- "ultimate_chicken_grill",
98230
+ "premium_cod",
97985
98231
  0
97986
98232
  ],
97987
98233
  [
@@ -98042,7 +98288,7 @@
98042
98288
  0
98043
98289
  ],
98044
98290
  [
98045
- "premium_cod",
98291
+ "ultimate_chicken_grill",
98046
98292
  0
98047
98293
  ],
98048
98294
  [
@@ -98050,7 +98296,7 @@
98050
98296
  0
98051
98297
  ],
98052
98298
  [
98053
- "ultimate_chicken_grill",
98299
+ "premium_cod",
98054
98300
  0
98055
98301
  ],
98056
98302
  [
@@ -98213,11 +98459,11 @@
98213
98459
  0
98214
98460
  ],
98215
98461
  [
98216
- "premium_cod",
98462
+ "ultimate_chicken_grill",
98217
98463
  0
98218
98464
  ],
98219
98465
  [
98220
- "ultimate_chicken_grill",
98466
+ "premium_cod",
98221
98467
  0
98222
98468
  ]
98223
98469
  ],
@@ -99168,6 +99414,24 @@
99168
99414
  0
99169
99415
  ]
99170
99416
  ],
99417
+ [
99418
+ [
99419
+ "is",
99420
+ 0
99421
+ ],
99422
+ [
99423
+ "list",
99424
+ 1
99425
+ ],
99426
+ [
99427
+ "sandwich",
99428
+ 0
99429
+ ],
99430
+ [
99431
+ "unknown",
99432
+ 1
99433
+ ]
99434
+ ],
99171
99435
  [
99172
99436
  [
99173
99437
  "is",
@@ -102811,6 +103075,10 @@
102811
103075
  "thisitthat",
102812
103076
  "queryable"
102813
103077
  ],
103078
+ [
103079
+ "to",
103080
+ "preposition"
103081
+ ],
102814
103082
  [
102815
103083
  "toAble",
102816
103084
  "toAble"
@@ -107062,6 +107330,10 @@
107062
107330
  "thisitthat",
107063
107331
  "queryable"
107064
107332
  ],
107333
+ [
107334
+ "to",
107335
+ "preposition"
107336
+ ],
107065
107337
  [
107066
107338
  "toAble",
107067
107339
  "toAble"
@@ -111444,6 +111716,10 @@
111444
111716
  "thisitthat",
111445
111717
  "queryable"
111446
111718
  ],
111719
+ [
111720
+ "to",
111721
+ "preposition"
111722
+ ],
111447
111723
  [
111448
111724
  "toAble",
111449
111725
  "toAble"
@@ -115765,6 +116041,10 @@
115765
116041
  "thisitthat",
115766
116042
  "queryable"
115767
116043
  ],
116044
+ [
116045
+ "to",
116046
+ "preposition"
116047
+ ],
115768
116048
  [
115769
116049
  "toAble",
115770
116050
  "toAble"
@@ -120132,6 +120412,10 @@
120132
120412
  "thisitthat",
120133
120413
  "queryable"
120134
120414
  ],
120415
+ [
120416
+ "to",
120417
+ "preposition"
120418
+ ],
120135
120419
  [
120136
120420
  "toAble",
120137
120421
  "toAble"
@@ -124395,6 +124679,10 @@
124395
124679
  "thisitthat",
124396
124680
  "queryable"
124397
124681
  ],
124682
+ [
124683
+ "to",
124684
+ "preposition"
124685
+ ],
124398
124686
  [
124399
124687
  "toAble",
124400
124688
  "toAble"
@@ -128786,6 +129074,10 @@
128786
129074
  "thisitthat",
128787
129075
  "queryable"
128788
129076
  ],
129077
+ [
129078
+ "to",
129079
+ "preposition"
129080
+ ],
128789
129081
  [
128790
129082
  "toAble",
128791
129083
  "toAble"
@@ -133182,6 +133474,10 @@
133182
133474
  "thisitthat",
133183
133475
  "queryable"
133184
133476
  ],
133477
+ [
133478
+ "to",
133479
+ "preposition"
133480
+ ],
133185
133481
  [
133186
133482
  "toAble",
133187
133483
  "toAble"
@@ -137618,6 +137914,10 @@
137618
137914
  "thisitthat",
137619
137915
  "queryable"
137620
137916
  ],
137917
+ [
137918
+ "to",
137919
+ "preposition"
137920
+ ],
137621
137921
  [
137622
137922
  "toAble",
137623
137923
  "toAble"
@@ -142094,6 +142394,10 @@
142094
142394
  "thisitthat",
142095
142395
  "queryable"
142096
142396
  ],
142397
+ [
142398
+ "to",
142399
+ "preposition"
142400
+ ],
142097
142401
  [
142098
142402
  "toAble",
142099
142403
  "toAble"
@@ -146611,6 +146915,10 @@
146611
146915
  "thisitthat",
146612
146916
  "queryable"
146613
146917
  ],
146918
+ [
146919
+ "to",
146920
+ "preposition"
146921
+ ],
146614
146922
  [
146615
146923
  "toAble",
146616
146924
  "toAble"
@@ -151162,6 +151470,10 @@
151162
151470
  "thisitthat",
151163
151471
  "queryable"
151164
151472
  ],
151473
+ [
151474
+ "to",
151475
+ "preposition"
151476
+ ],
151165
151477
  [
151166
151478
  "toAble",
151167
151479
  "toAble"
@@ -155846,6 +156158,10 @@
155846
156158
  "thisitthat",
155847
156159
  "queryable"
155848
156160
  ],
156161
+ [
156162
+ "to",
156163
+ "preposition"
156164
+ ],
155849
156165
  [
155850
156166
  "toAble",
155851
156167
  "toAble"
@@ -160438,6 +160754,10 @@
160438
160754
  "thisitthat",
160439
160755
  "queryable"
160440
160756
  ],
160757
+ [
160758
+ "to",
160759
+ "preposition"
160760
+ ],
160441
160761
  [
160442
160762
  "toAble",
160443
160763
  "toAble"
@@ -165110,6 +165430,10 @@
165110
165430
  "thisitthat",
165111
165431
  "queryable"
165112
165432
  ],
165433
+ [
165434
+ "to",
165435
+ "preposition"
165436
+ ],
165113
165437
  [
165114
165438
  "toAble",
165115
165439
  "toAble"
@@ -169869,6 +170193,10 @@
169869
170193
  "thisitthat",
169870
170194
  "queryable"
169871
170195
  ],
170196
+ [
170197
+ "to",
170198
+ "preposition"
170199
+ ],
169872
170200
  [
169873
170201
  "toAble",
169874
170202
  "toAble"
@@ -174688,6 +175016,10 @@
174688
175016
  "thisitthat",
174689
175017
  "queryable"
174690
175018
  ],
175019
+ [
175020
+ "to",
175021
+ "preposition"
175022
+ ],
174691
175023
  [
174692
175024
  "toAble",
174693
175025
  "toAble"
@@ -179559,6 +179891,10 @@
179559
179891
  "thisitthat",
179560
179892
  "queryable"
179561
179893
  ],
179894
+ [
179895
+ "to",
179896
+ "preposition"
179897
+ ],
179562
179898
  [
179563
179899
  "toAble",
179564
179900
  "toAble"
@@ -184616,6 +184952,10 @@
184616
184952
  "thisitthat",
184617
184953
  "queryable"
184618
184954
  ],
184955
+ [
184956
+ "to",
184957
+ "preposition"
184958
+ ],
184619
184959
  [
184620
184960
  "toAble",
184621
184961
  "toAble"
@@ -189627,6 +189967,10 @@
189627
189967
  "thisitthat",
189628
189968
  "queryable"
189629
189969
  ],
189970
+ [
189971
+ "to",
189972
+ "preposition"
189973
+ ],
189630
189974
  [
189631
189975
  "toAble",
189632
189976
  "toAble"
@@ -194720,6 +195064,10 @@
194720
195064
  "thisitthat",
194721
195065
  "queryable"
194722
195066
  ],
195067
+ [
195068
+ "to",
195069
+ "preposition"
195070
+ ],
194723
195071
  [
194724
195072
  "toAble",
194725
195073
  "toAble"
@@ -199898,6 +200246,10 @@
199898
200246
  "thisitthat",
199899
200247
  "queryable"
199900
200248
  ],
200249
+ [
200250
+ "to",
200251
+ "preposition"
200252
+ ],
199901
200253
  [
199902
200254
  "toAble",
199903
200255
  "toAble"
@@ -205089,6 +205441,10 @@
205089
205441
  "thisitthat",
205090
205442
  "queryable"
205091
205443
  ],
205444
+ [
205445
+ "to",
205446
+ "preposition"
205447
+ ],
205092
205448
  [
205093
205449
  "toAble",
205094
205450
  "toAble"
@@ -210316,6 +210672,10 @@
210316
210672
  "thisitthat",
210317
210673
  "queryable"
210318
210674
  ],
210675
+ [
210676
+ "to",
210677
+ "preposition"
210678
+ ],
210319
210679
  [
210320
210680
  "toAble",
210321
210681
  "toAble"
@@ -215695,6 +216055,10 @@
215695
216055
  "thisitthat",
215696
216056
  "queryable"
215697
216057
  ],
216058
+ [
216059
+ "to",
216060
+ "preposition"
216061
+ ],
215698
216062
  [
215699
216063
  "toAble",
215700
216064
  "toAble"
@@ -221057,6 +221421,10 @@
221057
221421
  "thisitthat",
221058
221422
  "queryable"
221059
221423
  ],
221424
+ [
221425
+ "to",
221426
+ "preposition"
221427
+ ],
221060
221428
  [
221061
221429
  "toAble",
221062
221430
  "toAble"
@@ -226453,6 +226821,10 @@
226453
226821
  "thisitthat",
226454
226822
  "queryable"
226455
226823
  ],
226824
+ [
226825
+ "to",
226826
+ "preposition"
226827
+ ],
226456
226828
  [
226457
226829
  "toAble",
226458
226830
  "toAble"
@@ -231978,6 +232350,10 @@
231978
232350
  "thisitthat",
231979
232351
  "queryable"
231980
232352
  ],
232353
+ [
232354
+ "to",
232355
+ "preposition"
232356
+ ],
231981
232357
  [
231982
232358
  "toAble",
231983
232359
  "toAble"
@@ -237521,6 +237897,10 @@
237521
237897
  "thisitthat",
237522
237898
  "queryable"
237523
237899
  ],
237900
+ [
237901
+ "to",
237902
+ "preposition"
237903
+ ],
237524
237904
  [
237525
237905
  "toAble",
237526
237906
  "toAble"
@@ -243237,6 +243617,10 @@
243237
243617
  "thisitthat",
243238
243618
  "queryable"
243239
243619
  ],
243620
+ [
243621
+ "to",
243622
+ "preposition"
243623
+ ],
243240
243624
  [
243241
243625
  "toAble",
243242
243626
  "toAble"
@@ -248892,6 +249276,10 @@
248892
249276
  "thisitthat",
248893
249277
  "queryable"
248894
249278
  ],
249279
+ [
249280
+ "to",
249281
+ "preposition"
249282
+ ],
248895
249283
  [
248896
249284
  "toAble",
248897
249285
  "toAble"
@@ -249711,11 +250099,11 @@
249711
250099
  0
249712
250100
  ],
249713
250101
  [
249714
- "french_toast",
250102
+ "breakfast_meal",
249715
250103
  0
249716
250104
  ],
249717
250105
  [
249718
- "pancake_platter",
250106
+ "double_sausage_muffin",
249719
250107
  0
249720
250108
  ],
249721
250109
  [
@@ -249723,11 +250111,11 @@
249723
250111
  0
249724
250112
  ],
249725
250113
  [
249726
- "breakfast_meal",
250114
+ "pancake_platter",
249727
250115
  0
249728
250116
  ],
249729
250117
  [
249730
- "double_sausage_muffin",
250118
+ "french_toast",
249731
250119
  0
249732
250120
  ],
249733
250121
  [
@@ -250038,11 +250426,11 @@
250038
250426
  0
250039
250427
  ],
250040
250428
  [
250041
- "french_toast",
250429
+ "breakfast_meal",
250042
250430
  0
250043
250431
  ],
250044
250432
  [
250045
- "pancake_platter",
250433
+ "double_sausage_muffin",
250046
250434
  0
250047
250435
  ],
250048
250436
  [
@@ -250050,11 +250438,11 @@
250050
250438
  0
250051
250439
  ],
250052
250440
  [
250053
- "breakfast_meal",
250441
+ "pancake_platter",
250054
250442
  0
250055
250443
  ],
250056
250444
  [
250057
- "double_sausage_muffin",
250445
+ "french_toast",
250058
250446
  0
250059
250447
  ],
250060
250448
  [
@@ -250248,15 +250636,15 @@
250248
250636
  0
250249
250637
  ],
250250
250638
  [
250251
- "breakfast_meal",
250639
+ "french_toast",
250252
250640
  0
250253
250641
  ],
250254
250642
  [
250255
- "french_toast",
250643
+ "pancake_platter",
250256
250644
  0
250257
250645
  ],
250258
250646
  [
250259
- "pancake_platter",
250647
+ "breakfast_meal",
250260
250648
  0
250261
250649
  ],
250262
250650
  [
@@ -250357,15 +250745,15 @@
250357
250745
  0
250358
250746
  ],
250359
250747
  [
250360
- "breakfast_meal",
250748
+ "french_toast",
250361
250749
  0
250362
250750
  ],
250363
250751
  [
250364
- "french_toast",
250752
+ "pancake_platter",
250365
250753
  0
250366
250754
  ],
250367
250755
  [
250368
- "pancake_platter",
250756
+ "breakfast_meal",
250369
250757
  0
250370
250758
  ],
250371
250759
  [
@@ -250462,15 +250850,15 @@
250462
250850
  0
250463
250851
  ],
250464
250852
  [
250465
- "breakfast_meal",
250853
+ "french_toast",
250466
250854
  0
250467
250855
  ],
250468
250856
  [
250469
- "french_toast",
250857
+ "pancake_platter",
250470
250858
  0
250471
250859
  ],
250472
250860
  [
250473
- "pancake_platter",
250861
+ "breakfast_meal",
250474
250862
  0
250475
250863
  ],
250476
250864
  [
@@ -250713,15 +251101,15 @@
250713
251101
  0
250714
251102
  ],
250715
251103
  [
250716
- "breakfast_meal",
251104
+ "french_toast",
250717
251105
  0
250718
251106
  ],
250719
251107
  [
250720
- "french_toast",
251108
+ "pancake_platter",
250721
251109
  0
250722
251110
  ],
250723
251111
  [
250724
- "pancake_platter",
251112
+ "breakfast_meal",
250725
251113
  0
250726
251114
  ],
250727
251115
  [
@@ -250871,11 +251259,11 @@
250871
251259
  0
250872
251260
  ],
250873
251261
  [
250874
- "breakfast_meal",
251262
+ "french_toast",
250875
251263
  0
250876
251264
  ],
250877
251265
  [
250878
- "french_toast",
251266
+ "breakfast_meal",
250879
251267
  0
250880
251268
  ],
250881
251269
  [
@@ -251001,11 +251389,11 @@
251001
251389
  0
251002
251390
  ],
251003
251391
  [
251004
- "breakfast_meal",
251392
+ "french_toast",
251005
251393
  0
251006
251394
  ],
251007
251395
  [
251008
- "french_toast",
251396
+ "breakfast_meal",
251009
251397
  0
251010
251398
  ],
251011
251399
  [
@@ -251054,11 +251442,11 @@
251054
251442
  0
251055
251443
  ],
251056
251444
  [
251057
- "breakfast_meal",
251445
+ "french_toast",
251058
251446
  0
251059
251447
  ],
251060
251448
  [
251061
- "french_toast",
251449
+ "breakfast_meal",
251062
251450
  0
251063
251451
  ],
251064
251452
  [
@@ -251103,11 +251491,11 @@
251103
251491
  0
251104
251492
  ],
251105
251493
  [
251106
- "breakfast_meal",
251494
+ "french_toast",
251107
251495
  0
251108
251496
  ],
251109
251497
  [
251110
- "french_toast",
251498
+ "breakfast_meal",
251111
251499
  0
251112
251500
  ],
251113
251501
  [
@@ -252312,10 +252700,6 @@
252312
252700
  "platter",
252313
252701
  0
252314
252702
  ],
252315
- [
252316
- "sandwich",
252317
- 0
252318
- ],
252319
252703
  [
252320
252704
  "sausage",
252321
252705
  0
@@ -252342,10 +252726,6 @@
252342
252726
  "double",
252343
252727
  0
252344
252728
  ],
252345
- [
252346
- "egg",
252347
- 0
252348
- ],
252349
252729
  [
252350
252730
  "french",
252351
252731
  0
@@ -252396,10 +252776,6 @@
252396
252776
  "breakfast",
252397
252777
  0
252398
252778
  ],
252399
- [
252400
- "chicken",
252401
- 0
252402
- ],
252403
252779
  [
252404
252780
  "comma",
252405
252781
  0
@@ -252490,10 +252866,6 @@
252490
252866
  "oatmeal",
252491
252867
  0
252492
252868
  ],
252493
- [
252494
- "on",
252495
- 0
252496
- ],
252497
252869
  [
252498
252870
  "pancake",
252499
252871
  0
@@ -257680,6 +258052,10 @@
257680
258052
  "thisitthat",
257681
258053
  "queryable"
257682
258054
  ],
258055
+ [
258056
+ "to",
258057
+ "preposition"
258058
+ ],
257683
258059
  [
257684
258060
  "toAble",
257685
258061
  "toAble"
@@ -258350,11 +258726,11 @@
258350
258726
  0
258351
258727
  ],
258352
258728
  [
258353
- "premium_cod",
258729
+ "bacon_deluxe",
258354
258730
  0
258355
258731
  ],
258356
258732
  [
258357
- "bacon_deluxe",
258733
+ "premium_cod",
258358
258734
  0
258359
258735
  ]
258360
258736
  ],
@@ -258431,11 +258807,11 @@
258431
258807
  0
258432
258808
  ],
258433
258809
  [
258434
- "premium_cod",
258810
+ "bacon_deluxe",
258435
258811
  0
258436
258812
  ],
258437
258813
  [
258438
- "bacon_deluxe",
258814
+ "premium_cod",
258439
258815
  0
258440
258816
  ]
258441
258817
  ],
@@ -258508,11 +258884,11 @@
258508
258884
  0
258509
258885
  ],
258510
258886
  [
258511
- "premium_cod",
258887
+ "bacon_deluxe",
258512
258888
  0
258513
258889
  ],
258514
258890
  [
258515
- "bacon_deluxe",
258891
+ "premium_cod",
258516
258892
  0
258517
258893
  ]
258518
258894
  ],
@@ -258581,11 +258957,11 @@
258581
258957
  0
258582
258958
  ],
258583
258959
  [
258584
- "premium_cod",
258960
+ "bacon_deluxe",
258585
258961
  0
258586
258962
  ],
258587
258963
  [
258588
- "bacon_deluxe",
258964
+ "premium_cod",
258589
258965
  0
258590
258966
  ]
258591
258967
  ],
@@ -258650,11 +259026,11 @@
258650
259026
  0
258651
259027
  ],
258652
259028
  [
258653
- "premium_cod",
259029
+ "bacon_deluxe",
258654
259030
  0
258655
259031
  ],
258656
259032
  [
258657
- "bacon_deluxe",
259033
+ "premium_cod",
258658
259034
  0
258659
259035
  ]
258660
259036
  ],
@@ -258715,11 +259091,11 @@
258715
259091
  0
258716
259092
  ],
258717
259093
  [
258718
- "premium_cod",
259094
+ "bacon_deluxe",
258719
259095
  0
258720
259096
  ],
258721
259097
  [
258722
- "bacon_deluxe",
259098
+ "premium_cod",
258723
259099
  0
258724
259100
  ]
258725
259101
  ],
@@ -258776,11 +259152,11 @@
258776
259152
  0
258777
259153
  ],
258778
259154
  [
258779
- "premium_cod",
259155
+ "bacon_deluxe",
258780
259156
  0
258781
259157
  ],
258782
259158
  [
258783
- "bacon_deluxe",
259159
+ "premium_cod",
258784
259160
  0
258785
259161
  ]
258786
259162
  ],
@@ -258833,11 +259209,11 @@
258833
259209
  0
258834
259210
  ],
258835
259211
  [
258836
- "premium_cod",
259212
+ "bacon_deluxe",
258837
259213
  0
258838
259214
  ],
258839
259215
  [
258840
- "bacon_deluxe",
259216
+ "premium_cod",
258841
259217
  0
258842
259218
  ]
258843
259219
  ],
@@ -264900,6 +265276,10 @@
264900
265276
  "thisitthat",
264901
265277
  "queryable"
264902
265278
  ],
265279
+ [
265280
+ "to",
265281
+ "preposition"
265282
+ ],
264903
265283
  [
264904
265284
  "toAble",
264905
265285
  "toAble"
@@ -270687,6 +271067,10 @@
270687
271067
  "thisitthat",
270688
271068
  "queryable"
270689
271069
  ],
271070
+ [
271071
+ "to",
271072
+ "preposition"
271073
+ ],
270690
271074
  [
270691
271075
  "toAble",
270692
271076
  "toAble"
@@ -276574,6 +276958,10 @@
276574
276958
  "thisitthat",
276575
276959
  "queryable"
276576
276960
  ],
276961
+ [
276962
+ "to",
276963
+ "preposition"
276964
+ ],
276577
276965
  [
276578
276966
  "toAble",
276579
276967
  "toAble"
@@ -282537,6 +282925,10 @@
282537
282925
  "thisitthat",
282538
282926
  "queryable"
282539
282927
  ],
282928
+ [
282929
+ "to",
282930
+ "preposition"
282931
+ ],
282540
282932
  [
282541
282933
  "toAble",
282542
282934
  "toAble"
@@ -283211,7 +283603,7 @@
283211
283603
  0
283212
283604
  ],
283213
283605
  [
283214
- "coca_cola",
283606
+ "diet_coke",
283215
283607
  0
283216
283608
  ],
283217
283609
  [
@@ -283219,7 +283611,7 @@
283219
283611
  0
283220
283612
  ],
283221
283613
  [
283222
- "diet_coke",
283614
+ "coca_cola",
283223
283615
  0
283224
283616
  ]
283225
283617
  ],
@@ -283296,7 +283688,7 @@
283296
283688
  0
283297
283689
  ],
283298
283690
  [
283299
- "coca_cola",
283691
+ "diet_coke",
283300
283692
  0
283301
283693
  ],
283302
283694
  [
@@ -283304,7 +283696,7 @@
283304
283696
  0
283305
283697
  ],
283306
283698
  [
283307
- "diet_coke",
283699
+ "coca_cola",
283308
283700
  0
283309
283701
  ]
283310
283702
  ],
@@ -283377,7 +283769,7 @@
283377
283769
  0
283378
283770
  ],
283379
283771
  [
283380
- "coca_cola",
283772
+ "diet_coke",
283381
283773
  0
283382
283774
  ],
283383
283775
  [
@@ -283385,7 +283777,7 @@
283385
283777
  0
283386
283778
  ],
283387
283779
  [
283388
- "diet_coke",
283780
+ "coca_cola",
283389
283781
  0
283390
283782
  ]
283391
283783
  ],
@@ -283454,7 +283846,7 @@
283454
283846
  0
283455
283847
  ],
283456
283848
  [
283457
- "coca_cola",
283849
+ "diet_coke",
283458
283850
  0
283459
283851
  ],
283460
283852
  [
@@ -283462,7 +283854,7 @@
283462
283854
  0
283463
283855
  ],
283464
283856
  [
283465
- "diet_coke",
283857
+ "coca_cola",
283466
283858
  0
283467
283859
  ]
283468
283860
  ],
@@ -283576,11 +283968,11 @@
283576
283968
  0
283577
283969
  ],
283578
283970
  [
283579
- "iced_tea",
283971
+ "diet_coke",
283580
283972
  0
283581
283973
  ],
283582
283974
  [
283583
- "diet_coke",
283975
+ "iced_tea",
283584
283976
  0
283585
283977
  ]
283586
283978
  ],
@@ -289976,6 +290368,10 @@
289976
290368
  "thisitthat",
289977
290369
  "queryable"
289978
290370
  ],
290371
+ [
290372
+ "to",
290373
+ "preposition"
290374
+ ],
289979
290375
  [
289980
290376
  "toAble",
289981
290377
  "toAble"
@@ -296207,6 +296603,10 @@
296207
296603
  "thisitthat",
296208
296604
  "queryable"
296209
296605
  ],
296606
+ [
296607
+ "to",
296608
+ "preposition"
296609
+ ],
296210
296610
  [
296211
296611
  "toAble",
296212
296612
  "toAble"
@@ -302462,6 +302862,10 @@
302462
302862
  "thisitthat",
302463
302863
  "queryable"
302464
302864
  ],
302865
+ [
302866
+ "to",
302867
+ "preposition"
302868
+ ],
302465
302869
  [
302466
302870
  "toAble",
302467
302871
  "toAble"
@@ -308745,6 +309149,10 @@
308745
309149
  "thisitthat",
308746
309150
  "queryable"
308747
309151
  ],
309152
+ [
309153
+ "to",
309154
+ "preposition"
309155
+ ],
308748
309156
  [
308749
309157
  "toAble",
308750
309158
  "toAble"
@@ -315096,6 +315504,10 @@
315096
315504
  "thisitthat",
315097
315505
  "queryable"
315098
315506
  ],
315507
+ [
315508
+ "to",
315509
+ "preposition"
315510
+ ],
315099
315511
  [
315100
315512
  "toAble",
315101
315513
  "toAble"
@@ -321515,6 +321927,10 @@
321515
321927
  "thisitthat",
321516
321928
  "queryable"
321517
321929
  ],
321930
+ [
321931
+ "to",
321932
+ "preposition"
321933
+ ],
321518
321934
  [
321519
321935
  "toAble",
321520
321936
  "toAble"
@@ -327963,6 +328379,10 @@
327963
328379
  "thisitthat",
327964
328380
  "queryable"
327965
328381
  ],
328382
+ [
328383
+ "to",
328384
+ "preposition"
328385
+ ],
327966
328386
  [
327967
328387
  "toAble",
327968
328388
  "toAble"
@@ -334446,6 +334866,10 @@
334446
334866
  "thisitthat",
334447
334867
  "queryable"
334448
334868
  ],
334869
+ [
334870
+ "to",
334871
+ "preposition"
334872
+ ],
334449
334873
  [
334450
334874
  "toAble",
334451
334875
  "toAble"
@@ -341017,6 +341441,10 @@
341017
341441
  "thisitthat",
341018
341442
  "queryable"
341019
341443
  ],
341444
+ [
341445
+ "to",
341446
+ "preposition"
341447
+ ],
341020
341448
  [
341021
341449
  "toAble",
341022
341450
  "toAble"
@@ -347745,6 +348173,10 @@
347745
348173
  "thisitthat",
347746
348174
  "queryable"
347747
348175
  ],
348176
+ [
348177
+ "to",
348178
+ "preposition"
348179
+ ],
347748
348180
  [
347749
348181
  "toAble",
347750
348182
  "toAble"
@@ -348596,11 +349028,11 @@
348596
349028
  0
348597
349029
  ],
348598
349030
  [
348599
- "strawberry_smoothie",
349031
+ "mango_passion_smoothie",
348600
349032
  0
348601
349033
  ],
348602
349034
  [
348603
- "mango_passion_smoothie",
349035
+ "strawberry_smoothie",
348604
349036
  0
348605
349037
  ]
348606
349038
  ],
@@ -354804,6 +355236,10 @@
354804
355236
  "thisitthat",
354805
355237
  "queryable"
354806
355238
  ],
355239
+ [
355240
+ "to",
355241
+ "preposition"
355242
+ ],
354807
355243
  [
354808
355244
  "toAble",
354809
355245
  "toAble"
@@ -361649,6 +362085,10 @@
361649
362085
  "thisitthat",
361650
362086
  "queryable"
361651
362087
  ],
362088
+ [
362089
+ "to",
362090
+ "preposition"
362091
+ ],
361652
362092
  [
361653
362093
  "toAble",
361654
362094
  "toAble"
@@ -368532,6 +368972,10 @@
368532
368972
  "thisitthat",
368533
368973
  "queryable"
368534
368974
  ],
368975
+ [
368976
+ "to",
368977
+ "preposition"
368978
+ ],
368535
368979
  [
368536
368980
  "toAble",
368537
368981
  "toAble"
@@ -375455,6 +375899,10 @@
375455
375899
  "thisitthat",
375456
375900
  "queryable"
375457
375901
  ],
375902
+ [
375903
+ "to",
375904
+ "preposition"
375905
+ ],
375458
375906
  [
375459
375907
  "toAble",
375460
375908
  "toAble"
@@ -382278,6 +382726,10 @@
382278
382726
  "thisitthat",
382279
382727
  "queryable"
382280
382728
  ],
382729
+ [
382730
+ "to",
382731
+ "preposition"
382732
+ ],
382281
382733
  [
382282
382734
  "toAble",
382283
382735
  "toAble"
@@ -389101,6 +389553,10 @@
389101
389553
  "thisitthat",
389102
389554
  "queryable"
389103
389555
  ],
389556
+ [
389557
+ "to",
389558
+ "preposition"
389559
+ ],
389104
389560
  [
389105
389561
  "toAble",
389106
389562
  "toAble"
@@ -396056,6 +396512,10 @@
396056
396512
  "thisitthat",
396057
396513
  "queryable"
396058
396514
  ],
396515
+ [
396516
+ "to",
396517
+ "preposition"
396518
+ ],
396059
396519
  [
396060
396520
  "toAble",
396061
396521
  "toAble"
@@ -403144,6 +403604,10 @@
403144
403604
  "thisitthat",
403145
403605
  "queryable"
403146
403606
  ],
403607
+ [
403608
+ "to",
403609
+ "preposition"
403610
+ ],
403147
403611
  [
403148
403612
  "toAble",
403149
403613
  "toAble"
@@ -410210,6 +410674,10 @@
410210
410674
  "thisitthat",
410211
410675
  "queryable"
410212
410676
  ],
410677
+ [
410678
+ "to",
410679
+ "preposition"
410680
+ ],
410213
410681
  [
410214
410682
  "toAble",
410215
410683
  "toAble"
@@ -417439,6 +417907,10 @@
417439
417907
  "thisitthat",
417440
417908
  "queryable"
417441
417909
  ],
417910
+ [
417911
+ "to",
417912
+ "preposition"
417913
+ ],
417442
417914
  [
417443
417915
  "toAble",
417444
417916
  "toAble"
@@ -418225,11 +418697,11 @@
418225
418697
  0
418226
418698
  ],
418227
418699
  [
418228
- "kids_meal",
418700
+ "crispy_chicken",
418229
418701
  0
418230
418702
  ],
418231
418703
  [
418232
- "crispy_chicken",
418704
+ "kids_meal",
418233
418705
  0
418234
418706
  ],
418235
418707
  [
@@ -418282,11 +418754,11 @@
418282
418754
  0
418283
418755
  ],
418284
418756
  [
418285
- "kids_meal",
418757
+ "crispy_chicken",
418286
418758
  0
418287
418759
  ],
418288
418760
  [
418289
- "crispy_chicken",
418761
+ "kids_meal",
418290
418762
  0
418291
418763
  ],
418292
418764
  [
@@ -418335,11 +418807,11 @@
418335
418807
  0
418336
418808
  ],
418337
418809
  [
418338
- "kids_meal",
418810
+ "crispy_chicken",
418339
418811
  0
418340
418812
  ],
418341
418813
  [
418342
- "crispy_chicken",
418814
+ "kids_meal",
418343
418815
  0
418344
418816
  ],
418345
418817
  [
@@ -418384,11 +418856,11 @@
418384
418856
  0
418385
418857
  ],
418386
418858
  [
418387
- "kids_meal",
418859
+ "crispy_chicken",
418388
418860
  0
418389
418861
  ],
418390
418862
  [
418391
- "crispy_chicken",
418863
+ "kids_meal",
418392
418864
  0
418393
418865
  ],
418394
418866
  [
@@ -419260,30 +419732,6 @@
419260
419732
  3
419261
419733
  ]
419262
419734
  },
419263
- {
419264
- "context": [
419265
- [
419266
- "withModification",
419267
- 0
419268
- ],
419269
- [
419270
- "modification",
419271
- 1
419272
- ],
419273
- [
419274
- "list",
419275
- 0
419276
- ],
419277
- [
419278
- "modification",
419279
- 1
419280
- ]
419281
- ],
419282
- "ordered": true,
419283
- "choose": [
419284
- 2
419285
- ]
419286
- },
419287
419735
  {
419288
419736
  "context": [
419289
419737
  [
@@ -419480,7 +419928,7 @@
419480
419928
  ],
419481
419929
  "generators": [
419482
419930
  {
419483
- "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:217"
419931
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:216"
419484
419932
  }
419485
419933
  ],
419486
419934
  "bridges": [
@@ -419490,7 +419938,7 @@
419490
419938
  {
419491
419939
  "id": "withModification",
419492
419940
  "level": 0,
419493
- "isA": [
419941
+ "before": [
419494
419942
  "preposition"
419495
419943
  ],
419496
419944
  "bridge": "{ ...next(operator), modifications: after[0], flatten: false }"
@@ -419529,7 +419977,8 @@
419529
419977
  "id": "comboNumber",
419530
419978
  "convolution": true,
419531
419979
  "before": [
419532
- "combo"
419980
+ "combo",
419981
+ "preposition"
419533
419982
  ],
419534
419983
  "bridge": "{ ...next(before[0]), postModifiers: append(before[0].postModifiers, ['comboNumber']), comboNumber: after[0], instance: true, flatten: true }"
419535
419984
  },
@@ -425988,6 +426437,10 @@
425988
426437
  "thisitthat",
425989
426438
  "queryable"
425990
426439
  ],
426440
+ [
426441
+ "to",
426442
+ "preposition"
426443
+ ],
425991
426444
  [
425992
426445
  "toAble",
425993
426446
  "toAble"
@@ -426828,11 +427281,11 @@
426828
427281
  0
426829
427282
  ],
426830
427283
  [
426831
- "crispy_chicken_club",
427284
+ "chicken_sandwich",
426832
427285
  0
426833
427286
  ],
426834
427287
  [
426835
- "chicken_sandwich",
427288
+ "crispy_chicken_club",
426836
427289
  0
426837
427290
  ]
426838
427291
  ],
@@ -433342,6 +433795,10 @@
433342
433795
  "thisitthat",
433343
433796
  "queryable"
433344
433797
  ],
433798
+ [
433799
+ "to",
433800
+ "preposition"
433801
+ ],
433345
433802
  [
433346
433803
  "toAble",
433347
433804
  "toAble"
@@ -434168,15 +434625,15 @@
434168
434625
  0
434169
434626
  ],
434170
434627
  [
434171
- "crispy_chicken",
434628
+ "chicken_club",
434172
434629
  0
434173
434630
  ],
434174
434631
  [
434175
- "chicken_club",
434632
+ "chicken_sandwich",
434176
434633
  0
434177
434634
  ],
434178
434635
  [
434179
- "chicken_sandwich",
434636
+ "crispy_chicken",
434180
434637
  0
434181
434638
  ]
434182
434639
  ],
@@ -434261,15 +434718,15 @@
434261
434718
  0
434262
434719
  ],
434263
434720
  [
434264
- "crispy_chicken",
434721
+ "chicken_club",
434265
434722
  0
434266
434723
  ],
434267
434724
  [
434268
- "chicken_club",
434725
+ "chicken_sandwich",
434269
434726
  0
434270
434727
  ],
434271
434728
  [
434272
- "chicken_sandwich",
434729
+ "crispy_chicken",
434273
434730
  0
434274
434731
  ]
434275
434732
  ],
@@ -434350,15 +434807,15 @@
434350
434807
  0
434351
434808
  ],
434352
434809
  [
434353
- "crispy_chicken",
434810
+ "chicken_club",
434354
434811
  0
434355
434812
  ],
434356
434813
  [
434357
- "chicken_club",
434814
+ "chicken_sandwich",
434358
434815
  0
434359
434816
  ],
434360
434817
  [
434361
- "chicken_sandwich",
434818
+ "crispy_chicken",
434362
434819
  0
434363
434820
  ]
434364
434821
  ],
@@ -434577,15 +435034,15 @@
434577
435034
  0
434578
435035
  ],
434579
435036
  [
434580
- "crispy_chicken",
435037
+ "chicken_club",
434581
435038
  0
434582
435039
  ],
434583
435040
  [
434584
- "chicken_club",
435041
+ "chicken_sandwich",
434585
435042
  0
434586
435043
  ],
434587
435044
  [
434588
- "chicken_sandwich",
435045
+ "crispy_chicken",
434589
435046
  0
434590
435047
  ]
434591
435048
  ],
@@ -434667,11 +435124,11 @@
434667
435124
  0
434668
435125
  ],
434669
435126
  [
434670
- "chicken_go_wrap",
435127
+ "chicken_sandwich",
434671
435128
  0
434672
435129
  ],
434673
435130
  [
434674
- "chicken_sandwich",
435131
+ "chicken_go_wrap",
434675
435132
  0
434676
435133
  ],
434677
435134
  [
@@ -434752,15 +435209,15 @@
434752
435209
  0
434753
435210
  ],
434754
435211
  [
434755
- "chicken_sandwich",
435212
+ "chicken_club",
434756
435213
  0
434757
435214
  ],
434758
435215
  [
434759
- "chicken_club",
435216
+ "crispy_chicken",
434760
435217
  0
434761
435218
  ],
434762
435219
  [
434763
- "crispy_chicken",
435220
+ "chicken_sandwich",
434764
435221
  0
434765
435222
  ]
434766
435223
  ],
@@ -434789,11 +435246,11 @@
434789
435246
  0
434790
435247
  ],
434791
435248
  [
434792
- "chicken_sandwich",
435249
+ "chicken_club",
434793
435250
  0
434794
435251
  ],
434795
435252
  [
434796
- "chicken_club",
435253
+ "chicken_sandwich",
434797
435254
  0
434798
435255
  ],
434799
435256
  [
@@ -434834,11 +435291,11 @@
434834
435291
  0
434835
435292
  ],
434836
435293
  [
434837
- "crispy_chicken_club",
435294
+ "chicken_sandwich",
434838
435295
  0
434839
435296
  ],
434840
435297
  [
434841
- "chicken_sandwich",
435298
+ "crispy_chicken_club",
434842
435299
  0
434843
435300
  ],
434844
435301
  [
@@ -435448,60 +435905,6 @@
435448
435905
  0
435449
435906
  ]
435450
435907
  ],
435451
- [
435452
- [
435453
- "bacon",
435454
- 0
435455
- ],
435456
- [
435457
- "cheeseburger",
435458
- 0
435459
- ],
435460
- [
435461
- "chicken",
435462
- 0
435463
- ],
435464
- [
435465
- "club",
435466
- 0
435467
- ],
435468
- [
435469
- "comma",
435470
- 0
435471
- ],
435472
- [
435473
- "crispy",
435474
- 0
435475
- ],
435476
- [
435477
- "go",
435478
- 0
435479
- ],
435480
- [
435481
- "is",
435482
- 0
435483
- ],
435484
- [
435485
- "junior",
435486
- 0
435487
- ],
435488
- [
435489
- "list",
435490
- 0
435491
- ],
435492
- [
435493
- "meal",
435494
- 0
435495
- ],
435496
- [
435497
- "value",
435498
- 0
435499
- ],
435500
- [
435501
- "wrap",
435502
- 0
435503
- ]
435504
- ],
435505
435908
  [
435506
435909
  [
435507
435910
  "bacon",
@@ -435650,40 +436053,6 @@
435650
436053
  0
435651
436054
  ]
435652
436055
  ],
435653
- [
435654
- [
435655
- "chicken",
435656
- 0
435657
- ],
435658
- [
435659
- "club",
435660
- 0
435661
- ],
435662
- [
435663
- "crispy",
435664
- 0
435665
- ],
435666
- [
435667
- "is",
435668
- 0
435669
- ],
435670
- [
435671
- "junior",
435672
- 0
435673
- ],
435674
- [
435675
- "list",
435676
- 0
435677
- ],
435678
- [
435679
- "meal",
435680
- 0
435681
- ],
435682
- [
435683
- "value",
435684
- 0
435685
- ]
435686
- ],
435687
436056
  [
435688
436057
  [
435689
436058
  "chicken",
@@ -442135,6 +442504,10 @@
442135
442504
  "thisitthat",
442136
442505
  "queryable"
442137
442506
  ],
442507
+ [
442508
+ "to",
442509
+ "preposition"
442510
+ ],
442138
442511
  [
442139
442512
  "toAble",
442140
442513
  "toAble"
@@ -443357,6 +443730,40 @@
443357
443730
  0
443358
443731
  ]
443359
443732
  ],
443733
+ [
443734
+ [
443735
+ "chili",
443736
+ 0
443737
+ ],
443738
+ [
443739
+ "combo",
443740
+ 0
443741
+ ],
443742
+ [
443743
+ "comma",
443744
+ 0
443745
+ ],
443746
+ [
443747
+ "drink",
443748
+ 0
443749
+ ],
443750
+ [
443751
+ "fry",
443752
+ 0
443753
+ ],
443754
+ [
443755
+ "is",
443756
+ 0
443757
+ ],
443758
+ [
443759
+ "list",
443760
+ 0
443761
+ ],
443762
+ [
443763
+ "sizeable",
443764
+ 0
443765
+ ]
443766
+ ],
443360
443767
  [
443361
443768
  [
443362
443769
  "chili",
@@ -443499,15 +443906,46 @@
443499
443906
  "semantics": [
443500
443907
  {},
443501
443908
  {
443502
- "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:294"
443909
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:293"
443910
+ },
443911
+ {
443912
+ "where": "/home/dev/code/theprogrammablemind/kms/common/fastfood.js:305"
443503
443913
  }
443504
443914
  ]
443505
443915
  },
443506
443916
  {
443507
- "apply": "({ask, api}) => {\n // see if followup for drink is needed\n\n const hasDrink = (isA, item) => {\n let hasDrink = false\n for (let modification of (item.modifications || [])) {\n if (isA(modification.id, 'drink')) {\n hasDrink = true\n break\n }\n }\n return hasDrink\n }\n\n const needsDrink = (item) => {\n return item.needsDrink\n }\n\n const askAbout = ({api, isA}) => {\n const items = []\n for (const item of api.items()) {\n if (needsDrink(item) && !hasDrink(isA, item)) {\n items.push(item)\n }\n }\n return items\n }\n\n ask([\n {\n where: where(),\n oneShot: false,\n matchq: (args) => askAbout(args).length > 0,\n applyq: (args) => {\n args.context.cascade = true\n const needsDrink = askAbout(args)\n if (needsDrink.length > 1) {\n return `What drinks do you want?`\n } else {\n return `What drink do you want?`\n }\n },\n matchr: (args) => args.isA(args.context.marker, 'drink') && askAbout(args).length > 0,\n applyr: (args) => {\n // TODO check for is available for all modifications\n const needsDrink = askAbout(args)\n const { api, context } = args\n if (isMany(context)) {\n let count = getCount(context) || Number.MAX_SAFE_INTEGER\n for (let item of needsDrink) {\n if (count < 1) {\n break\n }\n count -= 1\n api.addDrink(item.item_id, { id: context.value }) \n }\n } else {\n const item_id = needsDrink[0].item_id\n api.addDrink(item_id, { id: context.value }) \n }\n }\n },\n ])\n }"
443917
+ "apply": "({ask, api}) => {\n // see if followup for drink is needed\n\n const hasDrink = (isA, item) => {\n let hasDrink = false\n for (let modification of (item.modifications || [])) {\n if (isA(modification.id, 'drink')) {\n hasDrink = true\n break\n }\n }\n return hasDrink\n }\n\n const needsDrink = (item) => {\n return item.needsDrink\n }\n\n const askAbout = ({api, isA}) => {\n const items = []\n for (const item of api.items()) {\n if (needsDrink(item) && !hasDrink(isA, item)) {\n items.push(item)\n }\n }\n return items\n }\n\n ask([\n {\n where: where(),\n oneShot: false,\n matchq: (args) => askAbout(args).length > 0 && args.context.marker == 'controlEnd',\n applyq: (args) => {\n args.context.cascade = true\n const needsDrink = askAbout(args)\n // const details = args.gp({ marker: 'list', value: needsDrink.map((item) => item.food)})\n if (needsDrink.length > 1) {\n return `What drinks do you want?`\n } else {\n return `What drink do you want?`\n }\n },\n matchr: (args) => {\n if (args.isA(args.context.marker, 'drink') && askAbout(args).length > 0) {\n const needsDrink = askAbout(args)\n if (args.api.isAvailableModification(needsDrink[0].food, { ...args.context , id: args.context.value })) {\n return true\n }\n }\n return false\n },\n applyr: (args) => {\n // TODO check for is available for all modifications\n const needsDrink = askAbout(args)\n const { api, context } = args\n if (isMany(context)) {\n let count = getCount(context) || Number.MAX_SAFE_INTEGER\n for (let item of needsDrink) {\n if (count < 1) {\n break\n }\n count -= 1\n api.addDrink(item.item_id, { id: context.value }) \n }\n } else {\n const item_id = needsDrink[0].item_id\n api.addDrink(item_id, { id: context.value }) \n }\n }\n },\n ])\n }"
443508
443918
  },
443509
443919
  {
443510
443920
  "extraConfig": true,
443921
+ "operators": [
443922
+ "([change] (meal/* || drink/*) (to/1))"
443923
+ ],
443924
+ "hierarchy": [
443925
+ [
443926
+ "meal",
443927
+ "toAble"
443928
+ ],
443929
+ [
443930
+ "drink",
443931
+ "toAble"
443932
+ ]
443933
+ ],
443934
+ "bridges": [
443935
+ {
443936
+ "id": "change",
443937
+ "isA": [
443938
+ "verby"
443939
+ ],
443940
+ "localHierarchy": [
443941
+ [
443942
+ "thisitthat",
443943
+ "meal"
443944
+ ]
443945
+ ],
443946
+ "bridge": "{ ...next(operator), from: after[0], to: after[1].toObject }"
443947
+ }
443948
+ ],
443511
443949
  "priorities": [
443512
443950
  {
443513
443951
  "context": [
@@ -443643,6 +444081,128 @@
443643
444081
  1,
443644
444082
  2
443645
444083
  ]
444084
+ },
444085
+ {
444086
+ "context": [
444087
+ [
444088
+ "drink",
444089
+ 0
444090
+ ],
444091
+ [
444092
+ "list",
444093
+ 0
444094
+ ],
444095
+ [
444096
+ "combo",
444097
+ 0
444098
+ ],
444099
+ [
444100
+ "number",
444101
+ 0
444102
+ ]
444103
+ ],
444104
+ "ordered": true,
444105
+ "choose": [
444106
+ 2,
444107
+ 3
444108
+ ]
444109
+ },
444110
+ {
444111
+ "context": [
444112
+ [
444113
+ "drink",
444114
+ 1
444115
+ ],
444116
+ [
444117
+ "list",
444118
+ 0
444119
+ ],
444120
+ [
444121
+ "combo",
444122
+ 0
444123
+ ],
444124
+ [
444125
+ "number",
444126
+ 0
444127
+ ]
444128
+ ],
444129
+ "ordered": true,
444130
+ "choose": [
444131
+ 2,
444132
+ 3
444133
+ ]
444134
+ },
444135
+ {
444136
+ "context": [
444137
+ [
444138
+ "withModification",
444139
+ 0
444140
+ ],
444141
+ [
444142
+ "modification",
444143
+ 1
444144
+ ],
444145
+ [
444146
+ "list",
444147
+ 0
444148
+ ],
444149
+ [
444150
+ "modification",
444151
+ 1
444152
+ ]
444153
+ ],
444154
+ "ordered": true,
444155
+ "choose": [
444156
+ 2
444157
+ ]
444158
+ },
444159
+ {
444160
+ "context": [
444161
+ [
444162
+ "withModification",
444163
+ 0
444164
+ ],
444165
+ [
444166
+ "modification",
444167
+ 1
444168
+ ],
444169
+ [
444170
+ "list",
444171
+ 0
444172
+ ],
444173
+ [
444174
+ "combo",
444175
+ 1
444176
+ ]
444177
+ ],
444178
+ "ordered": true,
444179
+ "choose": [
444180
+ 0
444181
+ ]
444182
+ },
444183
+ {
444184
+ "context": [
444185
+ [
444186
+ "combo",
444187
+ 2
444188
+ ],
444189
+ [
444190
+ "list",
444191
+ 0
444192
+ ],
444193
+ [
444194
+ "combo",
444195
+ 1
444196
+ ],
444197
+ [
444198
+ "withModification",
444199
+ 1
444200
+ ]
444201
+ ],
444202
+ "ordered": true,
444203
+ "choose": [
444204
+ 3
444205
+ ]
443646
444206
  }
443647
444207
  ]
443648
444208
  }
@@ -444688,60 +445248,6 @@
444688
445248
  0
444689
445249
  ]
444690
445250
  ],
444691
- [
444692
- [
444693
- "bacon",
444694
- 0
444695
- ],
444696
- [
444697
- "cheeseburger",
444698
- 0
444699
- ],
444700
- [
444701
- "chicken",
444702
- 0
444703
- ],
444704
- [
444705
- "club",
444706
- 0
444707
- ],
444708
- [
444709
- "comma",
444710
- 0
444711
- ],
444712
- [
444713
- "crispy",
444714
- 0
444715
- ],
444716
- [
444717
- "go",
444718
- 0
444719
- ],
444720
- [
444721
- "is",
444722
- 0
444723
- ],
444724
- [
444725
- "junior",
444726
- 0
444727
- ],
444728
- [
444729
- "list",
444730
- 0
444731
- ],
444732
- [
444733
- "meal",
444734
- 0
444735
- ],
444736
- [
444737
- "value",
444738
- 0
444739
- ],
444740
- [
444741
- "wrap",
444742
- 0
444743
- ]
444744
- ],
444745
445251
  [
444746
445252
  [
444747
445253
  "bacon",
@@ -446103,10 +446609,6 @@
446103
446609
  "platter",
446104
446610
  0
446105
446611
  ],
446106
- [
446107
- "sandwich",
446108
- 0
446109
- ],
446110
446612
  [
446111
446613
  "sausage",
446112
446614
  0
@@ -446133,10 +446635,6 @@
446133
446635
  "double",
446134
446636
  0
446135
446637
  ],
446136
- [
446137
- "egg",
446138
- 0
446139
- ],
446140
446638
  [
446141
446639
  "french",
446142
446640
  0
@@ -446187,10 +446685,6 @@
446187
446685
  "breakfast",
446188
446686
  0
446189
446687
  ],
446190
- [
446191
- "chicken",
446192
- 0
446193
- ],
446194
446688
  [
446195
446689
  "comma",
446196
446690
  0
@@ -446281,10 +446775,6 @@
446281
446775
  "oatmeal",
446282
446776
  0
446283
446777
  ],
446284
- [
446285
- "on",
446286
- 0
446287
- ],
446288
446778
  [
446289
446779
  "pancake",
446290
446780
  0
@@ -447088,40 +447578,6 @@
447088
447578
  0
447089
447579
  ]
447090
447580
  ],
447091
- [
447092
- [
447093
- "chicken",
447094
- 0
447095
- ],
447096
- [
447097
- "club",
447098
- 0
447099
- ],
447100
- [
447101
- "crispy",
447102
- 0
447103
- ],
447104
- [
447105
- "is",
447106
- 0
447107
- ],
447108
- [
447109
- "junior",
447110
- 0
447111
- ],
447112
- [
447113
- "list",
447114
- 0
447115
- ],
447116
- [
447117
- "meal",
447118
- 0
447119
- ],
447120
- [
447121
- "value",
447122
- 0
447123
- ]
447124
- ],
447125
447581
  [
447126
447582
  [
447127
447583
  "chicken",
@@ -447638,6 +448094,40 @@
447638
448094
  0
447639
448095
  ]
447640
448096
  ],
448097
+ [
448098
+ [
448099
+ "chili",
448100
+ 0
448101
+ ],
448102
+ [
448103
+ "combo",
448104
+ 0
448105
+ ],
448106
+ [
448107
+ "comma",
448108
+ 0
448109
+ ],
448110
+ [
448111
+ "drink",
448112
+ 0
448113
+ ],
448114
+ [
448115
+ "fry",
448116
+ 0
448117
+ ],
448118
+ [
448119
+ "is",
448120
+ 0
448121
+ ],
448122
+ [
448123
+ "list",
448124
+ 0
448125
+ ],
448126
+ [
448127
+ "sizeable",
448128
+ 0
448129
+ ]
448130
+ ],
447641
448131
  [
447642
448132
  [
447643
448133
  "chili",
@@ -449040,24 +449530,6 @@
449040
449530
  0
449041
449531
  ]
449042
449532
  ],
449043
- [
449044
- [
449045
- "ingredient",
449046
- 0
449047
- ],
449048
- [
449049
- "is",
449050
- 0
449051
- ],
449052
- [
449053
- "list",
449054
- 1
449055
- ],
449056
- [
449057
- "smoothie",
449058
- 0
449059
- ]
449060
- ],
449061
449533
  [
449062
449534
  [
449063
449535
  "is",
@@ -449372,6 +449844,24 @@
449372
449844
  1
449373
449845
  ]
449374
449846
  ],
449847
+ [
449848
+ [
449849
+ "is",
449850
+ 0
449851
+ ],
449852
+ [
449853
+ "list",
449854
+ 1
449855
+ ],
449856
+ [
449857
+ "sandwich",
449858
+ 0
449859
+ ],
449860
+ [
449861
+ "unknown",
449862
+ 1
449863
+ ]
449864
+ ],
449375
449865
  [
449376
449866
  [
449377
449867
  "is",
@@ -449804,6 +450294,20 @@
449804
450294
  1
449805
450295
  ]
449806
450296
  ],
450297
+ [
450298
+ [
450299
+ "list",
450300
+ 1
450301
+ ],
450302
+ [
450303
+ "modifies",
450304
+ 0
450305
+ ],
450306
+ [
450307
+ "unknown",
450308
+ 1
450309
+ ]
450310
+ ],
449807
450311
  [
449808
450312
  [
449809
450313
  "list",