tpmkms_4wp 8.9.1-beta.27 → 8.9.1-beta.29

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 (112) hide show
  1. package/common/animals.instance.json +6427 -714
  2. package/common/articles.js +4 -7
  3. package/common/articles.test.json +268 -136
  4. package/common/asking.test.json +1504 -798
  5. package/common/avatar.js +8 -0
  6. package/common/avatar.test.json +3292 -1852
  7. package/common/characters.test.json +962 -464
  8. package/common/colors.instance.json +22950 -1756
  9. package/common/colors.test.json +140 -68
  10. package/common/comparable.instance.json +1279 -149
  11. package/common/comparable.js +11 -11
  12. package/common/comparable.test.json +455 -230
  13. package/common/concept.js +9 -1
  14. package/common/concept.test.json +2023 -928
  15. package/common/conjunction.js +12 -0
  16. package/common/conjunction.test.json +219 -102
  17. package/common/countable.test.json +906 -444
  18. package/common/crew.instance.json +18796 -2069
  19. package/common/crew.js +19 -0
  20. package/common/crew.test.json +7104 -3435
  21. package/common/currency.js +0 -1
  22. package/common/currency.test.json +753 -369
  23. package/common/dialogues.js +76 -29
  24. package/common/dialogues.test.json +4225 -1915
  25. package/common/dimension.instance.json +744 -112
  26. package/common/dimension.js +16 -2
  27. package/common/dimension.test.json +10410 -4721
  28. package/common/edible.instance.json +21412 -2527
  29. package/common/edible.js +13 -0
  30. package/common/edible.test.json +1033 -487
  31. package/common/emotions.instance.json +2269 -254
  32. package/common/emotions.js +10 -2
  33. package/common/emotions.test.json +928 -403
  34. package/common/errors.js +0 -2
  35. package/common/errors.test.json +77 -38
  36. package/common/evaluate.test.json +43 -22
  37. package/common/events.test.json +453 -210
  38. package/common/fastfood.instance.json +80935 -9140
  39. package/common/fastfood.js +83 -2
  40. package/common/fastfood.test.json +37703 -20376
  41. package/common/formulas.instance.json +309 -53
  42. package/common/formulas.test.json +6286 -3094
  43. package/common/gdefaults.js +0 -1
  44. package/common/help.test.json +272 -128
  45. package/common/helpers/concept.js +1 -0
  46. package/common/helpers/properties.js +1 -31
  47. package/common/hierarchy.js +9 -0
  48. package/common/hierarchy.test.json +21532 -10628
  49. package/common/javascript.test.json +185 -86
  50. package/common/kirk.instance.json +302 -3
  51. package/common/kirk.test.json +621 -285
  52. package/common/length.instance.json +9630 -697
  53. package/common/length.test.json +3359 -1737
  54. package/common/listener.test.json +33 -18
  55. package/common/math.instance.json +278 -52
  56. package/common/math.test.json +22940 -13876
  57. package/common/meta.instance.json +1 -0
  58. package/common/meta.js +8 -8
  59. package/common/meta.test.json +584 -272
  60. package/common/nameable.test.json +1800 -843
  61. package/common/negation.test.json +114 -60
  62. package/common/numbers.test.json +198 -108
  63. package/common/ordering.instance.json +3848 -541
  64. package/common/ordering.test.json +1158 -540
  65. package/common/ordinals.js +7 -1
  66. package/common/ordinals.test.json +256 -136
  67. package/common/people.instance.json +3803 -537
  68. package/common/people.js +0 -14
  69. package/common/people.test.json +14361 -7176
  70. package/common/percentages.js +0 -1
  71. package/common/percentages.test.json +289 -134
  72. package/common/pipboy.instance.json +13187 -1238
  73. package/common/pipboy.js +22 -41
  74. package/common/pipboy.test.json +5598 -2688
  75. package/common/pokemon.instance.json +5930 -660
  76. package/common/pokemon.test.json +975 -453
  77. package/common/pressure.instance.json +2589 -286
  78. package/common/pressure.test.json +991 -445
  79. package/common/properties.instance.json +887 -80
  80. package/common/properties.js +13 -22
  81. package/common/properties.test.json +20521 -9542
  82. package/common/punctuation.test.json +305 -146
  83. package/common/reports.instance.json +965 -108
  84. package/common/reports.js +7 -0
  85. package/common/reports.test.json +13247 -6426
  86. package/common/scorekeeper.instance.json +1 -0
  87. package/common/scorekeeper.js +17 -7
  88. package/common/scorekeeper.test.json +26256 -11598
  89. package/common/sizeable.test.json +455 -230
  90. package/common/spock.instance.json +302 -3
  91. package/common/spock.test.json +621 -285
  92. package/common/stgame.js +0 -1
  93. package/common/stgame.test.json +962 -464
  94. package/common/stm.test.json +755 -374
  95. package/common/tell.test.json +195 -90
  96. package/common/temperature.instance.json +5940 -285
  97. package/common/temperature.test.json +990 -444
  98. package/common/testing.test.json +67 -34
  99. package/common/time.test.json +2386 -1066
  100. package/common/tokenize.js +3 -2
  101. package/common/tokenize.test.json +33 -18
  102. package/common/ui.instance.json +123 -21
  103. package/common/ui.js +0 -16
  104. package/common/ui.test.json +612 -312
  105. package/common/weight.instance.json +9798 -680
  106. package/common/weight.js +10 -0
  107. package/common/weight.test.json +6185 -2711
  108. package/common/wp.instance.json +13555 -1583
  109. package/common/wp.js +11 -6
  110. package/common/wp.test.json +27299 -13463
  111. package/common/yesno.test.json +132 -72
  112. package/package.json +2 -2
package/common/pipboy.js CHANGED
@@ -147,13 +147,28 @@ const config = {
147
147
  { context: [['article', 0], ['unknown', 1], ['outfit', 0]], ordered: true, choose: [1,2] },
148
148
  // TODO this should trigger a circular warning or somethign [['put', 0], ['on', 0]],
149
149
  ],
150
+ associations: {
151
+ negative: [],
152
+ positive: [
153
+ { context: [["wear",0],["article",0],["unknown",0],["wearable",0]], choose: 0 },
154
+ { context: [["wear",0],["article",0],["unknown",1],["wearable",0]], choose: 0 },
155
+ { context: [["wear",0],["article",0],["wearable",0]], choose: 0 },
156
+ { context: [["wear",0],["article",0],["wearable",1]], choose: 0 },
157
+ { context: [["wear",0],["article",0],["unknown",0]], choose: 0 },
158
+ { context: [["wear",0],["article",0],["unknown",1]], choose: 0 },
159
+
160
+ { context: [["equip",0],["the",0],["condition",0],["item_property",0],["weapon",0]], choose: 0 },
161
+ { context: [["equip",0],["the",0],["condition",0],["item_property",1],["weapon",0]], choose: 0 },
162
+
163
+ { context: [["what",0],["is",0],["article",0],["type",1],["propertyOf",0],["item",0],["property",0]], choose: 1 },
164
+ { context: [["what",0],["is",0],["article",0],["type",1],["propertyOf",0],["object",1]], choose: 1 },
165
+ ]
166
+ },
150
167
  bridges: [
151
168
  {
152
169
  where: where(),
153
170
  id: "put",
154
171
  isA: ['verb'],
155
- level: 0,
156
- bridge: "{ ...next(operator) }",
157
172
  generatorp: ({context}) => `put on`,
158
173
  },
159
174
  {
@@ -191,8 +206,6 @@ const config = {
191
206
  where: where(),
192
207
  id: "disarm",
193
208
  isA: ['verb'],
194
- level: 0,
195
- bridge: "{ ...next(operator) }",
196
209
  generatorp: ({context}) => `disarm`,
197
210
  semantic: ({api, context}) => {
198
211
  api.disarm()
@@ -202,8 +215,6 @@ const config = {
202
215
  where: where(),
203
216
  id: "strip",
204
217
  isA: ['verb'],
205
- level: 0,
206
- bridge: "{ ...next(operator) }",
207
218
  generatorp: ({context}) => `strip`,
208
219
  semantic: ({api, context}) => {
209
220
  api.strip()
@@ -309,8 +320,6 @@ const config = {
309
320
  id: "nameable",
310
321
  isA: ['theAble'],
311
322
  children: ['thisitthat'],
312
- level: 0,
313
- bridge: "{ ...next(operator) }"
314
323
  },
315
324
  {
316
325
  id: "outfit",
@@ -318,31 +327,11 @@ const config = {
318
327
  level: 0,
319
328
  bridge: "{ ...next(operator), name: before[0], modifiers: ['name'] }"
320
329
  },
321
- {
322
- id: "equipable",
323
- level: 0,
324
- bridge: "{ ...next(operator) }"
325
- },
326
- {
327
- id: "drinkable",
328
- level: 0,
329
- bridge: "{ ...next(operator) }"
330
- },
331
- {
332
- id: "edible",
333
- level: 0,
334
- bridge: "{ ...next(operator) }"
335
- },
336
- {
337
- id: "takeable",
338
- level: 0,
339
- bridge: "{ ...next(operator) }"
340
- },
341
- {
342
- id: "changeable",
343
- level: 0,
344
- bridge: "{ ...next(operator) }"
345
- },
330
+ { id: "equipable", },
331
+ { id: "drinkable", },
332
+ { id: "edible", },
333
+ { id: "takeable", },
334
+ { id: "changeable", },
346
335
  /*
347
336
  {
348
337
  id: "44_pistol",
@@ -354,9 +343,7 @@ const config = {
354
343
  */
355
344
  {
356
345
  id: "apparel",
357
- level: 0,
358
346
  isA: ['changeable'],
359
- bridge: "{ ...next(operator) }"
360
347
  },
361
348
  /*
362
349
  {
@@ -422,10 +409,8 @@ const config = {
422
409
  },
423
410
  {
424
411
  id: "stimpak",
425
- level: 0,
426
412
  words: ['stimpaks', 'stimpack', 'stimpacks'],
427
413
  isA: ['theAble', 'countable'],
428
- bridge: "{ ...next(operator) }"
429
414
  },
430
415
  {
431
416
  id: "tab",
@@ -435,9 +420,7 @@ const config = {
435
420
  },
436
421
  {
437
422
  id: "showable",
438
- level: 0,
439
423
  isA: ['theAble'],
440
- bridge: "{ ...next(operator) }" ,
441
424
  },
442
425
  /*
443
426
  {
@@ -458,9 +441,7 @@ const config = {
458
441
  */
459
442
  {
460
443
  id: "content",
461
- level: 0,
462
444
  isA: ['showable'],
463
- bridge: "{ ...next(operator) }" ,
464
445
  words: [
465
446
  ['stat', 'stat'],
466
447
  ['stats', 'stat'],