tpmkms_4wp 9.5.1 → 9.6.0

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.
Files changed (122) hide show
  1. package/common/animals.instance.json +21 -61
  2. package/common/asking.js +116 -106
  3. package/common/avatar.test.json +1001 -860
  4. package/common/can.instance.json +2174 -0
  5. package/common/can.js +254 -0
  6. package/common/can.test.json +51307 -0
  7. package/common/characters.js +5 -5
  8. package/common/colors.instance.json +12 -12
  9. package/common/comparable.instance.json +3 -3
  10. package/common/concept.js +25 -27
  11. package/common/concept.test.json +180 -144
  12. package/common/conjunction.js +13 -5
  13. package/common/conjunction.test.json +32 -42
  14. package/common/crew.instance.json +196 -160
  15. package/common/crew.js +1 -1
  16. package/common/crew.test.json +4148 -3324
  17. package/common/currency.js +1 -1
  18. package/common/dateTimeSelectors.instance.json +2 -2
  19. package/common/dateTimeSelectors.js +3 -3
  20. package/common/dateTimeSelectors.test.json +76935 -35739
  21. package/common/dates.instance.json +3 -3
  22. package/common/dates.test.json +284 -287
  23. package/common/dialogues.js +41 -119
  24. package/common/dialogues.test.json +1171 -996
  25. package/common/dimension.instance.json +21369 -557
  26. package/common/dimension.js +148 -54
  27. package/common/dimension.test.json +8753 -3495
  28. package/common/drone.instance.json +23712 -0
  29. package/common/drone.js +448 -0
  30. package/common/drone.test.json +66665 -0
  31. package/common/edible.instance.json +32 -32
  32. package/common/emotions.instance.json +75 -76
  33. package/common/emotions.js +1 -1
  34. package/common/emotions.test.json +242 -174
  35. package/common/english_helpers.js +336 -0
  36. package/common/errors.js +6 -6
  37. package/common/evaluate.js +2 -2
  38. package/common/events.js +8 -8
  39. package/common/fastfood.instance.json +389 -245
  40. package/common/fastfood.js +11 -11
  41. package/common/fastfood.test.json +6970 -6829
  42. package/common/formulas.instance.json +1 -1
  43. package/common/formulas.js +1 -1
  44. package/common/gdefaults.js +111 -17
  45. package/common/help.js +12 -12
  46. package/common/help.test.json +65 -11
  47. package/common/helpers/concept.js +1 -1
  48. package/common/helpers/conjunction.js +54 -44
  49. package/common/helpers/dateTimeSelectors.js +2 -2
  50. package/common/helpers/dialogues.js +7 -2
  51. package/common/helpers/formulas.js +13 -11
  52. package/common/helpers/menus.js +12 -12
  53. package/common/helpers/meta.js +9 -9
  54. package/common/helpers/properties.js +185 -62
  55. package/common/helpers.js +167 -48
  56. package/common/hierarchy.js +6 -4
  57. package/common/kirk.instance.json +1 -1
  58. package/common/kirk.test.json +600 -424
  59. package/common/latin.instance.json +12 -12
  60. package/common/latin.js +9 -9
  61. package/common/length.instance.json +27612 -2890
  62. package/common/length.js +6 -1
  63. package/common/length.test.json +45315 -3925
  64. package/common/math.instance.json +29 -29
  65. package/common/math.js +47 -46
  66. package/common/menus.instance.json +7 -10
  67. package/common/menus.js +2 -9
  68. package/common/meta.js +77 -60
  69. package/common/nameable.js +20 -13
  70. package/common/nameable.test.json +436 -0
  71. package/common/numbers.js +1 -1
  72. package/common/ordering.instance.json +87 -19
  73. package/common/ordering.js +1 -1
  74. package/common/ordering.test.json +835 -417
  75. package/common/people.instance.json +96 -348
  76. package/common/people.js +6 -4
  77. package/common/people.test.json +4135 -3606
  78. package/common/pipboy.instance.json +17 -17
  79. package/common/pipboy.js +2 -3
  80. package/common/pokemon.instance.json +13 -13
  81. package/common/pokemon.js +1 -1
  82. package/common/pressure.instance.json +3579 -1610
  83. package/common/pressure.test.json +433 -477
  84. package/common/properties.instance.json +6 -17
  85. package/common/properties.js +25 -7
  86. package/common/properties.test.json +9565 -6951
  87. package/common/rates.instance.json +59 -0
  88. package/common/rates.js +97 -0
  89. package/common/rates.test.json +27702 -0
  90. package/common/reminders.instance.json +4 -4
  91. package/common/reminders.js +5 -5
  92. package/common/reminders.test.json +64635 -25787
  93. package/common/reports.instance.json +3 -3
  94. package/common/reports.js +18 -16
  95. package/common/scorekeeper.js +6 -6
  96. package/common/sdefaults.js +22 -2
  97. package/common/spock.instance.json +1 -1
  98. package/common/spock.test.json +606 -430
  99. package/common/stgame.js +1 -1
  100. package/common/stm.js +17 -6
  101. package/common/tell.js +1 -1
  102. package/common/temperature.instance.json +3659 -1690
  103. package/common/temperature.test.json +433 -477
  104. package/common/tester.js +3 -3
  105. package/common/time.instance.json +24762 -0
  106. package/common/time.js +137 -141
  107. package/common/time.test.json +31876 -3757
  108. package/common/tokenize.js +5 -2
  109. package/common/ui.instance.json +2 -5
  110. package/common/ui.js +1 -8
  111. package/common/weight.instance.json +10360 -4078
  112. package/common/weight.test.json +2601 -2263
  113. package/common/words.instance.json +9 -0
  114. package/common/words.js +53 -0
  115. package/common/words.test.json +2 -0
  116. package/common/wp.instance.json +408 -8
  117. package/common/wp.js +8 -4
  118. package/common/wp.test.json +7385 -6906
  119. package/main.js +4 -2
  120. package/package.json +20 -5
  121. package/common/listener.js +0 -50
  122. package/common/listener.test.json +0 -142
@@ -1571,7 +1571,7 @@
1571
1571
  "text": "pistols rifles grenades mines and shotguns",
1572
1572
  "range": {
1573
1573
  "start": 0,
1574
- "end": 53
1574
+ "end": 41
1575
1575
  },
1576
1576
  "types": [
1577
1577
  "list",
@@ -3727,7 +3727,7 @@
3727
3727
  "text": "mines and grenades",
3728
3728
  "range": {
3729
3729
  "start": 0,
3730
- "end": 32
3730
+ "end": 17
3731
3731
  },
3732
3732
  "types": [
3733
3733
  "grenade",
@@ -5250,7 +5250,7 @@
5250
5250
  "word": "explosives",
5251
5251
  "range": {
5252
5252
  "start": 0,
5253
- "end": 21
5253
+ "end": 9
5254
5254
  },
5255
5255
  "dead": true,
5256
5256
  "types": [
@@ -6718,7 +6718,7 @@
6718
6718
  "text": "pistols rifles and shotguns",
6719
6719
  "range": {
6720
6720
  "start": 0,
6721
- "end": 39
6721
+ "end": 26
6722
6722
  },
6723
6723
  "types": [
6724
6724
  "list",
@@ -8472,7 +8472,7 @@
8472
8472
  "word": "firearms",
8473
8473
  "range": {
8474
8474
  "start": 0,
8475
- "end": 19
8475
+ "end": 7
8476
8476
  },
8477
8477
  "dead": true,
8478
8478
  "types": [
@@ -10012,7 +10012,7 @@
10012
10012
  "text": "hats armor and suits",
10013
10013
  "range": {
10014
10014
  "start": 0,
10015
- "end": 31
10015
+ "end": 19
10016
10016
  },
10017
10017
  "types": [
10018
10018
  "list",
@@ -11994,7 +11994,7 @@
11994
11994
  "word": "weapon",
11995
11995
  "range": {
11996
11996
  "start": 0,
11997
- "end": 20
11997
+ "end": 7
11998
11998
  },
11999
11999
  "dead": true,
12000
12000
  "types": [
@@ -13726,7 +13726,7 @@
13726
13726
  "word": "clothes",
13727
13727
  "range": {
13728
13728
  "start": 0,
13729
- "end": 19
13729
+ "end": 6
13730
13730
  },
13731
13731
  "dead": true,
13732
13732
  "types": [
@@ -15398,7 +15398,7 @@
15398
15398
  "word": "edible",
15399
15399
  "range": {
15400
15400
  "start": 0,
15401
- "end": 18
15401
+ "end": 5
15402
15402
  },
15403
15403
  "dead": true,
15404
15404
  "types": [
@@ -17166,7 +17166,7 @@
17166
17166
  "word": "food",
17167
17167
  "range": {
17168
17168
  "start": 0,
17169
- "end": 13
17169
+ "end": 3
17170
17170
  },
17171
17171
  "dead": true,
17172
17172
  "types": [
@@ -18918,7 +18918,7 @@
18918
18918
  "word": "drinks",
18919
18919
  "range": {
18920
18920
  "start": 0,
18921
- "end": 19
18921
+ "end": 5
18922
18922
  },
18923
18923
  "dead": true,
18924
18924
  "types": [
@@ -20741,7 +20741,7 @@
20741
20741
  "word": "meat",
20742
20742
  "range": {
20743
20743
  "start": 0,
20744
- "end": 11
20744
+ "end": 3
20745
20745
  },
20746
20746
  "dead": true,
20747
20747
  "types": [
@@ -22661,7 +22661,7 @@
22661
22661
  "text": "vegetables and fruit",
22662
22662
  "range": {
22663
22663
  "start": 0,
22664
- "end": 28
22664
+ "end": 19
22665
22665
  },
22666
22666
  "types": [
22667
22667
  "list",
@@ -24845,7 +24845,7 @@
24845
24845
  "text": "cola and pop",
24846
24846
  "range": {
24847
24847
  "start": 0,
24848
- "end": 22
24848
+ "end": 11
24849
24849
  },
24850
24850
  "types": [
24851
24851
  "list",
@@ -27109,7 +27109,7 @@
27109
27109
  "text": "medicine and stimpaks",
27110
27110
  "range": {
27111
27111
  "start": 0,
27112
- "end": 33
27112
+ "end": 20
27113
27113
  },
27114
27114
  "types": [
27115
27115
  "list",
@@ -29410,7 +29410,7 @@
29410
29410
  "end": 21
29411
29411
  },
29412
29412
  "dead": true,
29413
- "modifiers": [
29413
+ "conceptModifiers": [
29414
29414
  {
29415
29415
  "value": "item",
29416
29416
  "unknown": true,
@@ -32211,7 +32211,7 @@
32211
32211
  "text": "damage luck hp rads value ap charisma range and accuracy",
32212
32212
  "range": {
32213
32213
  "start": 0,
32214
- "end": 75
32214
+ "end": 55
32215
32215
  },
32216
32216
  "types": [
32217
32217
  "list",
package/common/pipboy.js CHANGED
@@ -134,7 +134,7 @@ const config = {
134
134
  // show the outfits
135
135
 
136
136
  // TODO for future
137
- // { pattern: "([testsetup1] ([equipable]))", development: true },
137
+ // { pattern: "([testsetup1] ([equipable]))", scope: "testing" },
138
138
  ],
139
139
  hierarchy: [
140
140
  ['weapon', 'countable'],
@@ -409,7 +409,7 @@ const config = {
409
409
  /*
410
410
  {
411
411
  id: "testsetup1",
412
- development: true,
412
+ scope: "testing",
413
413
  level: 0,
414
414
  bridge: "{ ...next(operator), type: after[0] }" ,
415
415
  localHierarchy: [ ['weapon', 'equipable'] ],
@@ -504,7 +504,6 @@ knowledgeModule({
504
504
  contents: pipboy_tests,
505
505
  checks: {
506
506
  objects: [
507
- 'apply', 'change', 'display', 'disarm', 'drink', 'eat', 'equip', 'setName', 'strip', 'take', 'wear',
508
507
  'apply', 'change', 'display', 'disarm', 'drink', 'eat', 'equip', 'setName', 'strip', 'take', 'wear', 'showWeapons',
509
508
  ],
510
509
  context: [defaultContextCheck()],
@@ -395,7 +395,7 @@
395
395
  "end": 20
396
396
  },
397
397
  "dead": true,
398
- "modifiers": [
398
+ "conceptModifiers": [
399
399
  {
400
400
  "value": "pokemon",
401
401
  "unknown": true,
@@ -1122,7 +1122,7 @@
1122
1122
  "text": "pokemon type",
1123
1123
  "range": {
1124
1124
  "start": 0,
1125
- "end": 21
1125
+ "end": 11
1126
1126
  },
1127
1127
  "types": [
1128
1128
  "pokemon_type",
@@ -2162,7 +2162,7 @@
2162
2162
  "text": "pikachu squirtle weedle and pidgeot",
2163
2163
  "range": {
2164
2164
  "start": 0,
2165
- "end": 46
2165
+ "end": 34
2166
2166
  },
2167
2167
  "types": [
2168
2168
  "list",
@@ -3607,7 +3607,7 @@
3607
3607
  "end": 17
3608
3608
  },
3609
3609
  "dead": true,
3610
- "modifiers": [
3610
+ "conceptModifiers": [
3611
3611
  {
3612
3612
  "value": "fire",
3613
3613
  "unknown": true,
@@ -4539,7 +4539,7 @@
4539
4539
  "end": 18
4540
4540
  },
4541
4541
  "dead": true,
4542
- "modifiers": [
4542
+ "conceptModifiers": [
4543
4543
  {
4544
4544
  "value": "water",
4545
4545
  "unknown": true,
@@ -5561,7 +5561,7 @@
5561
5561
  "end": 18
5562
5562
  },
5563
5563
  "dead": true,
5564
- "modifiers": [
5564
+ "conceptModifiers": [
5565
5565
  {
5566
5566
  "value": "earth",
5567
5567
  "unknown": true,
@@ -6673,7 +6673,7 @@
6673
6673
  "end": 21
6674
6674
  },
6675
6675
  "dead": true,
6676
- "modifiers": [
6676
+ "conceptModifiers": [
6677
6677
  {
6678
6678
  "value": "electric",
6679
6679
  "unknown": true,
@@ -7953,7 +7953,7 @@
7953
7953
  "text": "fire type",
7954
7954
  "range": {
7955
7955
  "start": 0,
7956
- "end": 26
7956
+ "end": 8
7957
7957
  },
7958
7958
  "types": [
7959
7959
  "fire_type",
@@ -9500,7 +9500,7 @@
9500
9500
  "text": "water type",
9501
9501
  "range": {
9502
9502
  "start": 0,
9503
- "end": 27
9503
+ "end": 9
9504
9504
  },
9505
9505
  "types": [
9506
9506
  "type",
@@ -11052,7 +11052,7 @@
11052
11052
  "text": "electric type",
11053
11053
  "range": {
11054
11054
  "start": 0,
11055
- "end": 30
11055
+ "end": 12
11056
11056
  },
11057
11057
  "types": [
11058
11058
  "electric_type",
@@ -12609,7 +12609,7 @@
12609
12609
  "text": "earth type",
12610
12610
  "range": {
12611
12611
  "start": 0,
12612
- "end": 27
12612
+ "end": 9
12613
12613
  },
12614
12614
  "types": [
12615
12615
  "earth_type",
@@ -14166,7 +14166,7 @@
14166
14166
  "word": "pikachu",
14167
14167
  "range": {
14168
14168
  "start": 0,
14169
- "end": 26
14169
+ "end": 6
14170
14170
  },
14171
14171
  "dead": true,
14172
14172
  "types": [
@@ -15677,7 +15677,7 @@
15677
15677
  "word": "charmander",
15678
15678
  "range": {
15679
15679
  "start": 0,
15680
- "end": 24
15680
+ "end": 9
15681
15681
  },
15682
15682
  "dead": true,
15683
15683
  "types": [
package/common/pokemon.js CHANGED
@@ -29,7 +29,7 @@ const template = {
29
29
  // 'ashe owns pikachu who owns pikachu'
30
30
  // TODO does ashe own pikachu / ash owns pikachu? / 'ashe likes pikachu does ashe like pikachu'
31
31
 
32
- const initializer = ({config, apis}) => {
32
+ function initializer({config, apis}) {
33
33
  const api = apis('properties')
34
34
  /*
35
35
  api.createActionPrefix({