tpmkms_4wp 8.9.1-beta.3 → 8.9.1-beta.30
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 +6714 -809
- package/common/articles.js +22 -9
- package/common/articles.test.json +640 -2
- package/common/asking.js +3 -3
- package/common/asking.test.json +1599 -140
- package/common/avatar.js +9 -1
- package/common/avatar.test.json +6008 -2749
- package/common/characters.js +1 -1
- package/common/characters.test.json +1371 -95
- package/common/colors.instance.json +23070 -1697
- package/common/colors.test.json +704 -136
- package/common/comparable.instance.json +1340 -162
- package/common/comparable.js +13 -13
- package/common/comparable.test.json +3239 -558
- package/common/concept.js +11 -3
- package/common/concept.test.json +2853 -694
- package/common/conjunction.js +13 -1
- package/common/conjunction.test.json +229 -1
- package/common/countable.js +3 -9
- package/common/countable.test.json +1310 -638
- package/common/crew.instance.json +19487 -2160
- package/common/crew.js +19 -0
- package/common/crew.test.json +10218 -2145
- package/common/currency.js +2 -3
- package/common/currency.test.json +948 -64
- package/common/dialogues.js +99 -35
- package/common/dialogues.test.json +6611 -1905
- package/common/dimension.instance.json +760 -120
- package/common/dimension.js +18 -4
- package/common/dimension.test.json +23680 -11550
- package/common/edible.instance.json +21884 -2729
- package/common/edible.js +13 -0
- package/common/edible.test.json +1580 -304
- package/common/emotions.instance.json +2225 -254
- package/common/emotions.js +10 -2
- package/common/emotions.test.json +1134 -107
- package/common/errors.js +1 -1
- package/common/errors.test.json +88 -0
- package/common/evaluate.test.json +100 -1
- package/common/events.js +1 -1
- package/common/events.test.json +2197 -242
- package/common/fastfood.instance.json +82176 -10105
- package/common/fastfood.js +99 -12
- package/common/fastfood.test.json +65486 -21430
- package/common/formulas.instance.json +325 -58
- package/common/formulas.js +1 -1
- package/common/formulas.test.json +13202 -6757
- package/common/gdefaults.js +18 -8
- package/common/help.js +4 -4
- package/common/help.test.json +292 -4
- package/common/helpers/concept.js +6 -5
- 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 +18 -48
- package/common/helpers.js +1 -1
- package/common/hierarchy.js +12 -3
- package/common/hierarchy.test.json +53813 -17340
- package/common/javascript.js +1 -1
- package/common/javascript.test.json +214 -11
- package/common/kirk.instance.json +322 -7
- package/common/kirk.test.json +1123 -254
- package/common/length.instance.json +9898 -805
- package/common/length.test.json +12055 -8184
- package/common/listener.test.json +39 -1
- package/common/math.instance.json +294 -57
- package/common/math.js +1 -1
- package/common/math.test.json +38557 -17754
- package/common/meta.instance.json +1 -0
- package/common/meta.js +13 -13
- package/common/meta.test.json +2770 -275
- package/common/nameable.js +1 -1
- package/common/nameable.test.json +5150 -1475
- package/common/negation.js +1 -1
- package/common/negation.test.json +146 -8
- package/common/numbers.js +1 -1
- package/common/numbers.test.json +234 -0
- package/common/ordering.instance.json +3862 -509
- package/common/ordering.test.json +2680 -1283
- package/common/ordinals.js +15 -3
- package/common/ordinals.test.json +627 -3
- package/common/people.instance.json +4032 -679
- package/common/people.js +1 -15
- package/common/people.test.json +27157 -13664
- package/common/percentages.js +1 -2
- package/common/percentages.test.json +313 -0
- package/common/pipboy.instance.json +13637 -1538
- package/common/pipboy.js +28 -48
- package/common/pipboy.test.json +17367 -5640
- package/common/pokemon.instance.json +6168 -695
- package/common/pokemon.test.json +1826 -389
- package/common/pos.js +16 -6
- package/common/pressure.instance.json +2637 -293
- package/common/pressure.test.json +2997 -1629
- package/common/properties.instance.json +907 -128
- package/common/properties.js +19 -28
- package/common/properties.test.json +46801 -14612
- package/common/punctuation.js +1 -1
- package/common/punctuation.test.json +327 -0
- package/common/reports.instance.json +997 -118
- package/common/reports.js +16 -9
- package/common/reports.test.json +16653 -2453
- package/common/scorekeeper.instance.json +1 -0
- package/common/scorekeeper.js +22 -12
- package/common/scorekeeper.test.json +42546 -15408
- package/common/sdefaults.js +2 -2
- package/common/sizeable.js +2 -2
- package/common/sizeable.test.json +1170 -215
- package/common/spock.instance.json +322 -7
- package/common/spock.test.json +1123 -254
- package/common/stgame.js +0 -1
- package/common/stgame.test.json +1371 -91
- package/common/stm.js +6 -6
- package/common/stm.test.json +842 -9
- package/common/tell.js +1 -1
- package/common/tell.test.json +224 -1
- package/common/temperature.instance.json +5983 -288
- package/common/temperature.test.json +2610 -1272
- package/common/tester.js +1 -1
- package/common/testing.test.json +84 -1
- package/common/time.test.json +5345 -272
- package/common/tokenize.js +3 -2
- package/common/tokenize.test.json +39 -0
- package/common/ui.instance.json +144 -26
- package/common/ui.js +0 -16
- package/common/ui.test.json +4620 -140
- package/common/weight.instance.json +9992 -790
- package/common/weight.js +10 -0
- package/common/weight.test.json +18658 -12176
- package/common/wp.instance.json +20091 -2018
- package/common/wp.js +197 -44
- package/common/wp.test.json +121113 -17800
- package/common/yesno.js +1 -1
- package/common/yesno.test.json +168 -4
- package/package.json +11 -6
package/common/pipboy.js
CHANGED
@@ -99,7 +99,7 @@ class API {
|
|
99
99
|
}
|
100
100
|
}
|
101
101
|
|
102
|
-
|
102
|
+
const config = {
|
103
103
|
name: 'pipboy',
|
104
104
|
// TODO mark default as local scope
|
105
105
|
operators: [
|
@@ -116,7 +116,7 @@ let config = {
|
|
116
116
|
// "([weapon])",
|
117
117
|
// "([44_pistol|])",
|
118
118
|
"([apparel])",
|
119
|
-
"((!
|
119
|
+
"((!article/0 && !verb/0) [outfit|outfit])",
|
120
120
|
// this doesnt work because the speech recognizer hears 'where'
|
121
121
|
"([wear] ([wearable]))",
|
122
122
|
"([strip])",
|
@@ -142,24 +142,39 @@ let config = {
|
|
142
142
|
// ['weapon', 'showable'],
|
143
143
|
],
|
144
144
|
priorities: [
|
145
|
-
{ context: [['
|
146
|
-
{ context: [['tab', 0], ['
|
147
|
-
{ context: [['
|
145
|
+
{ context: [['article', 0], ['to2', 0], ], choose: [0] },
|
146
|
+
{ context: [['tab', 0], ['article', 0], ], choose: [0] },
|
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
|
{
|
160
175
|
where: where(),
|
161
176
|
id: "propertyCondition",
|
162
|
-
before: ['adjective', '
|
177
|
+
before: ['adjective', 'article', 'the'],
|
163
178
|
convolution: true,
|
164
179
|
level: 0,
|
165
180
|
bridge: "{ ...next(after[0]), condition: before[0], modifiers: ['condition'] }",
|
@@ -191,8 +206,6 @@ let 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 @@ let 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 @@ let 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 @@ let config = {
|
|
318
327
|
level: 0,
|
319
328
|
bridge: "{ ...next(operator), name: before[0], modifiers: ['name'] }"
|
320
329
|
},
|
321
|
-
{
|
322
|
-
|
323
|
-
|
324
|
-
|
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 @@ let 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 @@ let 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 @@ let 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 @@ let 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'],
|
@@ -471,7 +452,6 @@ let config = {
|
|
471
452
|
['maps', 'map'],
|
472
453
|
['quest', 'quest'],
|
473
454
|
['quests', 'quest'],
|
474
|
-
['stats', 'stats'],
|
475
455
|
['workshops', 'workshops'],
|
476
456
|
['radio', 'radio'],
|
477
457
|
['status', 'status'],
|