tpmkms_4wp 8.9.1-beta.1 → 8.9.1-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/animals.instance.json +195 -16
- package/common/articles.js +18 -2
- package/common/articles.test.json +338 -0
- package/common/asking.js +2 -2
- package/common/avatar.js +1 -1
- package/common/characters.js +1 -1
- package/common/colors.instance.json +210 -45
- package/common/comparable.instance.json +45 -0
- package/common/comparable.js +1 -1
- package/common/concept.js +1 -1
- package/common/conjunction.js +1 -1
- package/common/countable.js +2 -8
- package/common/countable.test.json +0 -586
- package/common/crew.instance.json +390 -0
- package/common/currency.js +2 -2
- package/common/dialogues.js +6 -4
- package/common/dimension.instance.json +11 -4
- package/common/dimension.js +2 -2
- package/common/edible.instance.json +352 -58
- package/common/emotions.instance.json +15 -0
- package/common/errors.js +3 -1
- package/common/events.js +1 -1
- package/common/fastfood.instance.json +1753 -1074
- package/common/fastfood.js +3 -3
- package/common/formulas.instance.json +11 -1
- package/common/formulas.js +1 -1
- package/common/gdefaults.js +28 -17
- package/common/help.js +4 -4
- package/common/help.test.json +4 -4
- package/common/helpers/concept.js +3 -3
- package/common/helpers/conjunction.js +1 -1
- package/common/helpers/formulas.js +4 -4
- package/common/helpers/frankenhash.js +4 -4
- package/common/helpers/meta.js +4 -4
- package/common/helpers/ordering.js +2 -2
- package/common/helpers/properties.js +16 -16
- package/common/helpers.js +17 -1
- package/common/hierarchy.js +3 -3
- package/common/javascript.js +1 -1
- package/common/kirk.instance.json +15 -0
- package/common/length.instance.json +165 -20
- package/common/math.instance.json +11 -1
- package/common/math.js +1 -1
- package/common/meta.js +5 -5
- package/common/negation.js +1 -1
- package/common/numbers.js +1 -1
- package/common/ordering.instance.json +31 -71
- package/common/ordinals.js +5 -3
- package/common/people.instance.json +120 -0
- package/common/people.js +1 -1
- package/common/percentages.js +1 -1
- package/common/pipboy.instance.json +187 -46
- package/common/pipboy.js +1 -1
- package/common/pokemon.instance.json +195 -5
- package/common/pos.js +11 -1
- package/common/pressure.instance.json +44 -7
- package/common/properties.instance.json +15 -0
- package/common/properties.js +2 -2
- package/common/punctuation.js +1 -1
- package/common/reports.instance.json +24 -4
- package/common/reports.js +7 -7
- package/common/scorekeeper.js +5 -5
- package/common/sdefaults.js +2 -2
- package/common/sizeable.js +1 -1
- package/common/spock.instance.json +15 -0
- package/common/stm.js +6 -6
- package/common/tell.js +1 -1
- package/common/temperature.instance.json +44 -8
- package/common/tester.js +1 -1
- package/common/ui.instance.json +16 -1
- package/common/weight.instance.json +132 -16
- package/common/wp.instance.json +13996 -1532
- package/common/wp.js +150 -25
- package/common/wp.test.json +82657 -3824
- package/common/yesno.js +1 -1
- package/package.json +11 -6
@@ -306,5 +306,343 @@
|
|
306
306
|
"responses": [
|
307
307
|
""
|
308
308
|
]
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"associations": [
|
312
|
+
[
|
313
|
+
[
|
314
|
+
"distributable",
|
315
|
+
0
|
316
|
+
],
|
317
|
+
[
|
318
|
+
"every",
|
319
|
+
0
|
320
|
+
]
|
321
|
+
]
|
322
|
+
],
|
323
|
+
"config": {
|
324
|
+
},
|
325
|
+
"contexts": [
|
326
|
+
{
|
327
|
+
"concept": true,
|
328
|
+
"dead": true,
|
329
|
+
"default": true,
|
330
|
+
"distributer": {
|
331
|
+
"default": true,
|
332
|
+
"level": 0,
|
333
|
+
"marker": "every",
|
334
|
+
"range": {
|
335
|
+
"end": 4,
|
336
|
+
"start": 0
|
337
|
+
},
|
338
|
+
"text": "every",
|
339
|
+
"value": "every",
|
340
|
+
"word": "every"
|
341
|
+
},
|
342
|
+
"focusableForPhrase": true,
|
343
|
+
"level": 1,
|
344
|
+
"marker": "distributable",
|
345
|
+
"modifiers": [
|
346
|
+
"distributer"
|
347
|
+
],
|
348
|
+
"pullFromContext": true,
|
349
|
+
"range": {
|
350
|
+
"end": 18,
|
351
|
+
"start": 0
|
352
|
+
},
|
353
|
+
"text": "every distributable",
|
354
|
+
"topLevel": true,
|
355
|
+
"types": [
|
356
|
+
"distributable"
|
357
|
+
],
|
358
|
+
"value": "distributable",
|
359
|
+
"wantsValue": true,
|
360
|
+
"word": "distributable"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"developerTest": false,
|
364
|
+
"generatedParenthesized": [
|
365
|
+
""
|
366
|
+
],
|
367
|
+
"metadata": {
|
368
|
+
"opChoices": [
|
369
|
+
{
|
370
|
+
"counter": 1,
|
371
|
+
"op": [
|
372
|
+
"distributable",
|
373
|
+
0
|
374
|
+
],
|
375
|
+
"ops": [
|
376
|
+
[
|
377
|
+
"distributable",
|
378
|
+
0
|
379
|
+
],
|
380
|
+
[
|
381
|
+
"every",
|
382
|
+
0
|
383
|
+
]
|
384
|
+
]
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"counter": 2,
|
388
|
+
"op": [
|
389
|
+
"every",
|
390
|
+
0
|
391
|
+
],
|
392
|
+
"ops": [
|
393
|
+
[
|
394
|
+
"every",
|
395
|
+
0
|
396
|
+
]
|
397
|
+
]
|
398
|
+
}
|
399
|
+
]
|
400
|
+
},
|
401
|
+
"objects": {
|
402
|
+
"nameToUUID": {
|
403
|
+
"articles": "articles1",
|
404
|
+
"gdefaults": "gdefaults2",
|
405
|
+
"pos": "pos2",
|
406
|
+
"punctuation": "punctuation2",
|
407
|
+
"tokenize": "tokenize2"
|
408
|
+
},
|
409
|
+
"namespaced": {
|
410
|
+
"articles1": {
|
411
|
+
},
|
412
|
+
"gdefaults2": {
|
413
|
+
},
|
414
|
+
"pos2": {
|
415
|
+
},
|
416
|
+
"punctuation2": {
|
417
|
+
},
|
418
|
+
"tokenize2": {
|
419
|
+
}
|
420
|
+
},
|
421
|
+
"processed": [
|
422
|
+
{
|
423
|
+
"context": {
|
424
|
+
"concept": true,
|
425
|
+
"dead": true,
|
426
|
+
"default": true,
|
427
|
+
"distributer": {
|
428
|
+
"default": true,
|
429
|
+
"level": 0,
|
430
|
+
"marker": "every",
|
431
|
+
"range": {
|
432
|
+
"end": 4,
|
433
|
+
"start": 0
|
434
|
+
},
|
435
|
+
"text": "every",
|
436
|
+
"value": "every",
|
437
|
+
"word": "every"
|
438
|
+
},
|
439
|
+
"focusableForPhrase": true,
|
440
|
+
"level": 1,
|
441
|
+
"marker": "distributable",
|
442
|
+
"modifiers": [
|
443
|
+
"distributer"
|
444
|
+
],
|
445
|
+
"pullFromContext": true,
|
446
|
+
"range": {
|
447
|
+
"end": 18,
|
448
|
+
"start": 0
|
449
|
+
},
|
450
|
+
"text": "every distributable",
|
451
|
+
"topLevel": true,
|
452
|
+
"types": [
|
453
|
+
"distributable"
|
454
|
+
],
|
455
|
+
"value": "distributable",
|
456
|
+
"wantsValue": true,
|
457
|
+
"word": "distributable"
|
458
|
+
},
|
459
|
+
"generatedParenthesized": "",
|
460
|
+
"paraphrases": "every distributable",
|
461
|
+
"paraphrasesParenthesized": "((every) (distributable))",
|
462
|
+
"responses": [
|
463
|
+
""
|
464
|
+
]
|
465
|
+
}
|
466
|
+
]
|
467
|
+
},
|
468
|
+
"paraphrases": [
|
469
|
+
"every distributable"
|
470
|
+
],
|
471
|
+
"paraphrasesParenthesized": [
|
472
|
+
"((every) (distributable))"
|
473
|
+
],
|
474
|
+
"query": "every distributable",
|
475
|
+
"responses": [
|
476
|
+
""
|
477
|
+
]
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"associations": [
|
481
|
+
[
|
482
|
+
[
|
483
|
+
"distributable",
|
484
|
+
0
|
485
|
+
],
|
486
|
+
[
|
487
|
+
"each",
|
488
|
+
0
|
489
|
+
]
|
490
|
+
]
|
491
|
+
],
|
492
|
+
"config": {
|
493
|
+
},
|
494
|
+
"contexts": [
|
495
|
+
{
|
496
|
+
"concept": true,
|
497
|
+
"dead": true,
|
498
|
+
"default": true,
|
499
|
+
"distributer": {
|
500
|
+
"default": true,
|
501
|
+
"level": 0,
|
502
|
+
"marker": "each",
|
503
|
+
"range": {
|
504
|
+
"end": 3,
|
505
|
+
"start": 0
|
506
|
+
},
|
507
|
+
"text": "each",
|
508
|
+
"value": "each",
|
509
|
+
"word": "each"
|
510
|
+
},
|
511
|
+
"focusableForPhrase": true,
|
512
|
+
"level": 1,
|
513
|
+
"marker": "distributable",
|
514
|
+
"modifiers": [
|
515
|
+
"distributer"
|
516
|
+
],
|
517
|
+
"pullFromContext": true,
|
518
|
+
"range": {
|
519
|
+
"end": 17,
|
520
|
+
"start": 0
|
521
|
+
},
|
522
|
+
"text": "each distributable",
|
523
|
+
"topLevel": true,
|
524
|
+
"types": [
|
525
|
+
"distributable"
|
526
|
+
],
|
527
|
+
"value": "distributable",
|
528
|
+
"wantsValue": true,
|
529
|
+
"word": "distributable"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"developerTest": false,
|
533
|
+
"generatedParenthesized": [
|
534
|
+
""
|
535
|
+
],
|
536
|
+
"metadata": {
|
537
|
+
"opChoices": [
|
538
|
+
{
|
539
|
+
"counter": 1,
|
540
|
+
"op": [
|
541
|
+
"distributable",
|
542
|
+
0
|
543
|
+
],
|
544
|
+
"ops": [
|
545
|
+
[
|
546
|
+
"distributable",
|
547
|
+
0
|
548
|
+
],
|
549
|
+
[
|
550
|
+
"each",
|
551
|
+
0
|
552
|
+
]
|
553
|
+
]
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"counter": 2,
|
557
|
+
"op": [
|
558
|
+
"each",
|
559
|
+
0
|
560
|
+
],
|
561
|
+
"ops": [
|
562
|
+
[
|
563
|
+
"each",
|
564
|
+
0
|
565
|
+
]
|
566
|
+
]
|
567
|
+
}
|
568
|
+
]
|
569
|
+
},
|
570
|
+
"objects": {
|
571
|
+
"nameToUUID": {
|
572
|
+
"articles": "articles1",
|
573
|
+
"gdefaults": "gdefaults2",
|
574
|
+
"pos": "pos2",
|
575
|
+
"punctuation": "punctuation2",
|
576
|
+
"tokenize": "tokenize2"
|
577
|
+
},
|
578
|
+
"namespaced": {
|
579
|
+
"articles1": {
|
580
|
+
},
|
581
|
+
"gdefaults2": {
|
582
|
+
},
|
583
|
+
"pos2": {
|
584
|
+
},
|
585
|
+
"punctuation2": {
|
586
|
+
},
|
587
|
+
"tokenize2": {
|
588
|
+
}
|
589
|
+
},
|
590
|
+
"processed": [
|
591
|
+
{
|
592
|
+
"context": {
|
593
|
+
"concept": true,
|
594
|
+
"dead": true,
|
595
|
+
"default": true,
|
596
|
+
"distributer": {
|
597
|
+
"default": true,
|
598
|
+
"level": 0,
|
599
|
+
"marker": "each",
|
600
|
+
"range": {
|
601
|
+
"end": 3,
|
602
|
+
"start": 0
|
603
|
+
},
|
604
|
+
"text": "each",
|
605
|
+
"value": "each",
|
606
|
+
"word": "each"
|
607
|
+
},
|
608
|
+
"focusableForPhrase": true,
|
609
|
+
"level": 1,
|
610
|
+
"marker": "distributable",
|
611
|
+
"modifiers": [
|
612
|
+
"distributer"
|
613
|
+
],
|
614
|
+
"pullFromContext": true,
|
615
|
+
"range": {
|
616
|
+
"end": 17,
|
617
|
+
"start": 0
|
618
|
+
},
|
619
|
+
"text": "each distributable",
|
620
|
+
"topLevel": true,
|
621
|
+
"types": [
|
622
|
+
"distributable"
|
623
|
+
],
|
624
|
+
"value": "distributable",
|
625
|
+
"wantsValue": true,
|
626
|
+
"word": "distributable"
|
627
|
+
},
|
628
|
+
"generatedParenthesized": "",
|
629
|
+
"paraphrases": "each distributable",
|
630
|
+
"paraphrasesParenthesized": "((each) (distributable))",
|
631
|
+
"responses": [
|
632
|
+
""
|
633
|
+
]
|
634
|
+
}
|
635
|
+
]
|
636
|
+
},
|
637
|
+
"paraphrases": [
|
638
|
+
"each distributable"
|
639
|
+
],
|
640
|
+
"paraphrasesParenthesized": [
|
641
|
+
"((each) (distributable))"
|
642
|
+
],
|
643
|
+
"query": "each distributable",
|
644
|
+
"responses": [
|
645
|
+
""
|
646
|
+
]
|
309
647
|
}
|
310
648
|
]
|
package/common/asking.js
CHANGED
@@ -8,7 +8,7 @@ const { defaultContextCheck, indent, focus, requiredArgument } = require('./help
|
|
8
8
|
const pluralize = require('pluralize')
|
9
9
|
|
10
10
|
// TODO implement what / what did you say ...
|
11
|
-
|
11
|
+
const config = {
|
12
12
|
name: 'asking',
|
13
13
|
operators: [
|
14
14
|
"([nevermind])",
|
@@ -191,7 +191,7 @@ const initializer = ({objects, config, isModule}) => {
|
|
191
191
|
return {
|
192
192
|
ask,
|
193
193
|
askWhich: ({ choices, chosen, question, isChoice, onNevermind }) => {
|
194
|
-
|
194
|
+
const state = {}
|
195
195
|
|
196
196
|
requiredArgument(choices, 'choices')
|
197
197
|
requiredArgument(chosen, 'chosen')
|
package/common/avatar.js
CHANGED