ekms 7.11.1 → 7.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +18 -32
- package/common/crew.instance.json +0 -68
- package/common/dialogues.js +8 -1
- package/common/dimensionTemplate.instance.json +18 -32
- package/common/edible.instance.json +20 -34
- package/common/fastfood.instance.json +1065 -688
- package/common/fastfood.js +18 -2
- package/common/fastfood.test.json +22379 -112
- package/common/helpers.js +10 -0
- package/common/ordering.instance.json +70 -6
- package/common/pipboy.js +2 -1
- package/common/reports.instance.json +1 -1
- package/common/temperature.instance.json +112 -0
- package/common/weight.instance.json +1 -1
- package/package.json +2 -2
@@ -332,23 +332,6 @@
|
|
332
332
|
],
|
333
333
|
"counter": 4
|
334
334
|
},
|
335
|
-
{
|
336
|
-
"op": [
|
337
|
-
"list",
|
338
|
-
1
|
339
|
-
],
|
340
|
-
"ops": [
|
341
|
-
[
|
342
|
-
"list",
|
343
|
-
1
|
344
|
-
],
|
345
|
-
[
|
346
|
-
"is",
|
347
|
-
0
|
348
|
-
]
|
349
|
-
],
|
350
|
-
"counter": 5
|
351
|
-
},
|
352
335
|
{
|
353
336
|
"op": [
|
354
337
|
"is",
|
@@ -360,7 +343,7 @@
|
|
360
343
|
0
|
361
344
|
]
|
362
345
|
],
|
363
|
-
"counter":
|
346
|
+
"counter": 5
|
364
347
|
},
|
365
348
|
{
|
366
349
|
"op": [
|
@@ -373,7 +356,7 @@
|
|
373
356
|
1
|
374
357
|
]
|
375
358
|
],
|
376
|
-
"counter":
|
359
|
+
"counter": 6
|
377
360
|
}
|
378
361
|
]
|
379
362
|
},
|
@@ -391,10 +374,22 @@
|
|
391
374
|
"one": {
|
392
375
|
"number": "many",
|
393
376
|
"marker": "list",
|
377
|
+
"default": true,
|
378
|
+
"word": "and",
|
379
|
+
"text": "birds and mammals",
|
380
|
+
"range": {
|
381
|
+
"start": 0,
|
382
|
+
"end": 28
|
383
|
+
},
|
384
|
+
"types": [
|
385
|
+
"list",
|
386
|
+
"type"
|
387
|
+
],
|
394
388
|
"listable": true,
|
389
|
+
"isList": true,
|
395
390
|
"value": [
|
396
391
|
{
|
397
|
-
"marker": "
|
392
|
+
"marker": "type",
|
398
393
|
"range": {
|
399
394
|
"start": 0,
|
400
395
|
"end": 4
|
@@ -404,10 +399,10 @@
|
|
404
399
|
"value": "birds",
|
405
400
|
"unknown": true,
|
406
401
|
"dead": true,
|
407
|
-
"level":
|
402
|
+
"level": 1
|
408
403
|
},
|
409
404
|
{
|
410
|
-
"marker": "
|
405
|
+
"marker": "type",
|
411
406
|
"range": {
|
412
407
|
"start": 10,
|
413
408
|
"end": 16
|
@@ -417,18 +412,9 @@
|
|
417
412
|
"value": "mammals",
|
418
413
|
"unknown": true,
|
419
414
|
"dead": true,
|
420
|
-
"level":
|
415
|
+
"level": 1
|
421
416
|
}
|
422
417
|
],
|
423
|
-
"range": {
|
424
|
-
"start": 0,
|
425
|
-
"end": 28
|
426
|
-
},
|
427
|
-
"types": [
|
428
|
-
"list",
|
429
|
-
"unknown"
|
430
|
-
],
|
431
|
-
"text": "birds and mammals are animals",
|
432
418
|
"level": 1
|
433
419
|
},
|
434
420
|
"two": {
|
@@ -32759,40 +32759,6 @@
|
|
32759
32759
|
1
|
32760
32760
|
]
|
32761
32761
|
],
|
32762
|
-
[
|
32763
|
-
[
|
32764
|
-
"disarm",
|
32765
|
-
0
|
32766
|
-
],
|
32767
|
-
[
|
32768
|
-
"is",
|
32769
|
-
0
|
32770
|
-
],
|
32771
|
-
[
|
32772
|
-
"means",
|
32773
|
-
0
|
32774
|
-
],
|
32775
|
-
[
|
32776
|
-
"not",
|
32777
|
-
0
|
32778
|
-
],
|
32779
|
-
[
|
32780
|
-
"propertyOf",
|
32781
|
-
0
|
32782
|
-
],
|
32783
|
-
[
|
32784
|
-
"the",
|
32785
|
-
0
|
32786
|
-
],
|
32787
|
-
[
|
32788
|
-
"unknown",
|
32789
|
-
0
|
32790
|
-
],
|
32791
|
-
[
|
32792
|
-
"unknown",
|
32793
|
-
1
|
32794
|
-
]
|
32795
|
-
],
|
32796
32762
|
[
|
32797
32763
|
[
|
32798
32764
|
"disarm",
|
@@ -33450,40 +33416,6 @@
|
|
33450
33416
|
1
|
33451
33417
|
]
|
33452
33418
|
],
|
33453
|
-
[
|
33454
|
-
[
|
33455
|
-
"disarm",
|
33456
|
-
0
|
33457
|
-
],
|
33458
|
-
[
|
33459
|
-
"is",
|
33460
|
-
0
|
33461
|
-
],
|
33462
|
-
[
|
33463
|
-
"means",
|
33464
|
-
0
|
33465
|
-
],
|
33466
|
-
[
|
33467
|
-
"not",
|
33468
|
-
0
|
33469
|
-
],
|
33470
|
-
[
|
33471
|
-
"propertyOf",
|
33472
|
-
0
|
33473
|
-
],
|
33474
|
-
[
|
33475
|
-
"the",
|
33476
|
-
0
|
33477
|
-
],
|
33478
|
-
[
|
33479
|
-
"unknown",
|
33480
|
-
0
|
33481
|
-
],
|
33482
|
-
[
|
33483
|
-
"unknown",
|
33484
|
-
1
|
33485
|
-
]
|
33486
|
-
],
|
33487
33419
|
[
|
33488
33420
|
[
|
33489
33421
|
"disarm",
|
package/common/dialogues.js
CHANGED
@@ -111,6 +111,8 @@ let configStruct = {
|
|
111
111
|
match: "same",
|
112
112
|
left: [ { pattern: '($type && context.instance == variables.instance)' } ],
|
113
113
|
right: [ { pattern: '($type && context.instance == variables.instance)' } ],
|
114
|
+
left: [ { pattern: '($type)' } ],
|
115
|
+
right: [ { pattern: '($type)' } ],
|
114
116
|
passthrough: true
|
115
117
|
},
|
116
118
|
bridge: "{ ...next(operator), listable: true, isList: true, value: append(before, after) }"
|
@@ -181,7 +183,12 @@ let configStruct = {
|
|
181
183
|
level: 0,
|
182
184
|
bridge: '{ ...after[0], focusableForPhrase: true, pullFromContext: true, concept: true, wantsValue: true, determiner: "the", modifiers: append(["determiner"], after[0].modifiers)}'
|
183
185
|
},
|
184
|
-
{
|
186
|
+
{
|
187
|
+
id: "a",
|
188
|
+
level: 0,
|
189
|
+
// bridge: "{ ...after[0], pullFromContext: false, instance: true, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
|
190
|
+
bridge: "{ ...after[0], pullFromContext: false, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
|
191
|
+
},
|
185
192
|
{
|
186
193
|
id: "theAble",
|
187
194
|
children: ['noun'],
|
@@ -320,23 +320,6 @@
|
|
320
320
|
],
|
321
321
|
"counter": 4
|
322
322
|
},
|
323
|
-
{
|
324
|
-
"op": [
|
325
|
-
"list",
|
326
|
-
1
|
327
|
-
],
|
328
|
-
"ops": [
|
329
|
-
[
|
330
|
-
"list",
|
331
|
-
1
|
332
|
-
],
|
333
|
-
[
|
334
|
-
"is",
|
335
|
-
0
|
336
|
-
]
|
337
|
-
],
|
338
|
-
"counter": 5
|
339
|
-
},
|
340
323
|
{
|
341
324
|
"op": [
|
342
325
|
"is",
|
@@ -348,7 +331,7 @@
|
|
348
331
|
0
|
349
332
|
]
|
350
333
|
],
|
351
|
-
"counter":
|
334
|
+
"counter": 5
|
352
335
|
},
|
353
336
|
{
|
354
337
|
"op": [
|
@@ -361,7 +344,7 @@
|
|
361
344
|
1
|
362
345
|
]
|
363
346
|
],
|
364
|
-
"counter":
|
347
|
+
"counter": 6
|
365
348
|
}
|
366
349
|
]
|
367
350
|
},
|
@@ -379,10 +362,22 @@
|
|
379
362
|
"one": {
|
380
363
|
"number": "many",
|
381
364
|
"marker": "list",
|
365
|
+
"default": true,
|
366
|
+
"word": "and",
|
367
|
+
"text": "dimension and unit",
|
368
|
+
"range": {
|
369
|
+
"start": 0,
|
370
|
+
"end": 30
|
371
|
+
},
|
372
|
+
"types": [
|
373
|
+
"list",
|
374
|
+
"type"
|
375
|
+
],
|
382
376
|
"listable": true,
|
377
|
+
"isList": true,
|
383
378
|
"value": [
|
384
379
|
{
|
385
|
-
"marker": "
|
380
|
+
"marker": "type",
|
386
381
|
"range": {
|
387
382
|
"start": 0,
|
388
383
|
"end": 8
|
@@ -392,10 +387,10 @@
|
|
392
387
|
"value": "dimension",
|
393
388
|
"unknown": true,
|
394
389
|
"dead": true,
|
395
|
-
"level":
|
390
|
+
"level": 1
|
396
391
|
},
|
397
392
|
{
|
398
|
-
"marker": "
|
393
|
+
"marker": "type",
|
399
394
|
"range": {
|
400
395
|
"start": 14,
|
401
396
|
"end": 17
|
@@ -405,18 +400,9 @@
|
|
405
400
|
"value": "unit",
|
406
401
|
"unknown": true,
|
407
402
|
"dead": true,
|
408
|
-
"level":
|
403
|
+
"level": 1
|
409
404
|
}
|
410
405
|
],
|
411
|
-
"range": {
|
412
|
-
"start": 0,
|
413
|
-
"end": 30
|
414
|
-
},
|
415
|
-
"types": [
|
416
|
-
"list",
|
417
|
-
"unknown"
|
418
|
-
],
|
419
|
-
"text": "dimension and unit are concepts",
|
420
406
|
"level": 1
|
421
407
|
},
|
422
408
|
"two": {
|
@@ -387,23 +387,6 @@
|
|
387
387
|
],
|
388
388
|
"counter": 4
|
389
389
|
},
|
390
|
-
{
|
391
|
-
"op": [
|
392
|
-
"list",
|
393
|
-
1
|
394
|
-
],
|
395
|
-
"ops": [
|
396
|
-
[
|
397
|
-
"list",
|
398
|
-
1
|
399
|
-
],
|
400
|
-
[
|
401
|
-
"is",
|
402
|
-
0
|
403
|
-
]
|
404
|
-
],
|
405
|
-
"counter": 5
|
406
|
-
},
|
407
390
|
{
|
408
391
|
"op": [
|
409
392
|
"is",
|
@@ -415,7 +398,7 @@
|
|
415
398
|
0
|
416
399
|
]
|
417
400
|
],
|
418
|
-
"counter":
|
401
|
+
"counter": 5
|
419
402
|
},
|
420
403
|
{
|
421
404
|
"op": [
|
@@ -428,7 +411,7 @@
|
|
428
411
|
1
|
429
412
|
]
|
430
413
|
],
|
431
|
-
"counter":
|
414
|
+
"counter": 6
|
432
415
|
}
|
433
416
|
]
|
434
417
|
},
|
@@ -446,10 +429,22 @@
|
|
446
429
|
"one": {
|
447
430
|
"number": "many",
|
448
431
|
"marker": "list",
|
432
|
+
"default": true,
|
433
|
+
"word": "and",
|
434
|
+
"text": "food and drinks",
|
435
|
+
"range": {
|
436
|
+
"start": 0,
|
437
|
+
"end": 25
|
438
|
+
},
|
439
|
+
"types": [
|
440
|
+
"list",
|
441
|
+
"type"
|
442
|
+
],
|
449
443
|
"listable": true,
|
444
|
+
"isList": true,
|
450
445
|
"value": [
|
451
446
|
{
|
452
|
-
"marker": "
|
447
|
+
"marker": "type",
|
453
448
|
"range": {
|
454
449
|
"start": 0,
|
455
450
|
"end": 3
|
@@ -459,10 +454,10 @@
|
|
459
454
|
"value": "food",
|
460
455
|
"unknown": true,
|
461
456
|
"dead": true,
|
462
|
-
"level":
|
457
|
+
"level": 1
|
463
458
|
},
|
464
459
|
{
|
465
|
-
"marker": "
|
460
|
+
"marker": "type",
|
466
461
|
"range": {
|
467
462
|
"start": 9,
|
468
463
|
"end": 14
|
@@ -472,18 +467,9 @@
|
|
472
467
|
"value": "drinks",
|
473
468
|
"unknown": true,
|
474
469
|
"dead": true,
|
475
|
-
"level":
|
470
|
+
"level": 1
|
476
471
|
}
|
477
472
|
],
|
478
|
-
"range": {
|
479
|
-
"start": 0,
|
480
|
-
"end": 25
|
481
|
-
},
|
482
|
-
"types": [
|
483
|
-
"list",
|
484
|
-
"unknown"
|
485
|
-
],
|
486
|
-
"text": "food and drinks are edible",
|
487
473
|
"level": 1
|
488
474
|
},
|
489
475
|
"two": {
|
@@ -2267,11 +2253,11 @@
|
|
2267
2253
|
0
|
2268
2254
|
],
|
2269
2255
|
[
|
2270
|
-
"
|
2256
|
+
"chicken_nugget",
|
2271
2257
|
0
|
2272
2258
|
],
|
2273
2259
|
[
|
2274
|
-
"
|
2260
|
+
"chicken_strip",
|
2275
2261
|
0
|
2276
2262
|
]
|
2277
2263
|
],
|