tpmkms_4wp 8.9.1-beta.18 → 8.9.1-beta.19

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 (41) hide show
  1. package/common/animals.instance.json +78 -78
  2. package/common/articles.js +4 -4
  3. package/common/colors.instance.json +84 -112
  4. package/common/comparable.instance.json +18 -18
  5. package/common/comparable.js +1 -1
  6. package/common/countable.js +1 -1
  7. package/common/crew.instance.json +252 -156
  8. package/common/dialogues.js +5 -5
  9. package/common/dimension.instance.json +6 -6
  10. package/common/edible.instance.json +192 -248
  11. package/common/emotions.instance.json +6 -6
  12. package/common/fastfood.instance.json +574 -958
  13. package/common/fastfood.js +1 -1
  14. package/common/formulas.instance.json +6 -6
  15. package/common/gdefaults.js +1 -1
  16. package/common/helpers/concept.js +2 -2
  17. package/common/helpers/properties.js +1 -1
  18. package/common/kirk.instance.json +6 -6
  19. package/common/length.instance.json +90 -90
  20. package/common/math.instance.json +6 -6
  21. package/common/ordering.instance.json +12 -12
  22. package/common/ordinals.js +1 -0
  23. package/common/people.instance.json +48 -48
  24. package/common/pipboy.instance.json +112 -168
  25. package/common/pipboy.js +5 -5
  26. package/common/pokemon.instance.json +78 -78
  27. package/common/pos.js +6 -6
  28. package/common/pressure.instance.json +24 -24
  29. package/common/properties.instance.json +6 -6
  30. package/common/properties.js +3 -3
  31. package/common/reports.instance.json +13 -13
  32. package/common/reports.js +1 -1
  33. package/common/sizeable.js +1 -1
  34. package/common/spock.instance.json +6 -6
  35. package/common/temperature.instance.json +24 -24
  36. package/common/ui.instance.json +6 -6
  37. package/common/weight.instance.json +72 -72
  38. package/common/wp.instance.json +88 -144
  39. package/common/wp.js +15 -5
  40. package/common/wp.test.json +4906 -987
  41. package/package.json +2 -2
@@ -275,7 +275,7 @@ const template = {
275
275
  { context: [['meal', 0], ['list', 0], ['meal', 0], ['comboMeal', 0]], ordered: true, choose: [0,1,2] },
276
276
  // { context: [['crispy_chicken_club', 0], ['chicken_club', 0], ['chicken_sandwich', 0]], choose: [0] },
277
277
  { context: [['breakfast_baconator', 0], ['breakfast_meal', 0]], choose: [0] },
278
- { context: [['list', 0], ['articlePOS',0], ['smoothie_ingredient', 0], ['smoothie', 0]], ordered: true, choose: [1,2] },
278
+ { context: [['list', 0], ['article',0], ['smoothie_ingredient', 0], ['smoothie', 0]], ordered: true, choose: [1,2] },
279
279
  ]
280
280
  },
281
281
  // { stop: true },
@@ -115,7 +115,7 @@
115
115
  "hierarchy": [
116
116
  [
117
117
  "a",
118
- "articlePOS",
118
+ "article",
119
119
  false
120
120
  ],
121
121
  [
@@ -129,8 +129,8 @@
129
129
  false
130
130
  ],
131
131
  [
132
- "articlePOS",
133
- "articlePOS",
132
+ "article",
133
+ "article",
134
134
  false
135
135
  ],
136
136
  [
@@ -270,7 +270,7 @@
270
270
  ],
271
271
  [
272
272
  "each",
273
- "articlePOS",
273
+ "article",
274
274
  false
275
275
  ],
276
276
  [
@@ -280,7 +280,7 @@
280
280
  ],
281
281
  [
282
282
  "every",
283
- "articlePOS",
283
+ "article",
284
284
  false
285
285
  ],
286
286
  [
@@ -790,7 +790,7 @@
790
790
  ],
791
791
  [
792
792
  "the",
793
- "articlePOS",
793
+ "article",
794
794
  false
795
795
  ],
796
796
  [
@@ -34,7 +34,7 @@ const config = {
34
34
  match: ({context}) => context.generate,
35
35
  apply: async ({context, gs}) => {
36
36
  const contexts = []
37
- for (const keyOrContext of context.generate) {
37
+ for (const keyOrContext of (context.modifiers || []).concat(context.generate)) {
38
38
  let value = keyOrContext
39
39
  if (keyOrContext.invisible) {
40
40
  continue
@@ -133,8 +133,8 @@ class API {
133
133
  }
134
134
  config.addHierarchy(modifiersObjectId, objectId)
135
135
 
136
- modifierIds.forEach((modifierId) => config.addPriority({ "context": [[modifierId, 0], ['articlePOS', 0]], "choose": [0] }))
137
- config.addPriority({ "context": [[objectId, 0], ['articlePOS', 0], ], "choose": [0] })
136
+ modifierIds.forEach((modifierId) => config.addPriority({ "context": [[modifierId, 0], ['article', 0]], "choose": [0] }))
137
+ config.addPriority({ "context": [[objectId, 0], ['article', 0], ], "choose": [0] })
138
138
  // maybe remove the next line
139
139
  modifierIds.forEach((modifierId) => config.addPriority({ context: [[modifiersObjectId, 0], [modifierId, 0], ], generalize: false, choose: [0] }))
140
140
  config.addPriority({ "context": [[modifiersObjectId, 0], [objectId, 0], ], choose: [0] })
@@ -404,7 +404,7 @@ class API {
404
404
  }
405
405
 
406
406
  config.addPriority({ "context": [[operator, 0], ['means', 0], ], "choose": [0] })
407
- config.addPriority({ "context": [['articlePOS', 0], [operator, 0], ], "choose": [0] })
407
+ config.addPriority({ "context": [['article', 0], [operator, 0], ], "choose": [0] })
408
408
 
409
409
  config.addGenerator({
410
410
  notes: 'ordering generator for paraphrase',
@@ -7,7 +7,7 @@
7
7
  "hierarchy": [
8
8
  [
9
9
  "a",
10
- "articlePOS",
10
+ "article",
11
11
  false
12
12
  ],
13
13
  [
@@ -51,8 +51,8 @@
51
51
  false
52
52
  ],
53
53
  [
54
- "articlePOS",
55
- "articlePOS",
54
+ "article",
55
+ "article",
56
56
  false
57
57
  ],
58
58
  [
@@ -452,7 +452,7 @@
452
452
  ],
453
453
  [
454
454
  "each",
455
- "articlePOS",
455
+ "article",
456
456
  false
457
457
  ],
458
458
  [
@@ -507,7 +507,7 @@
507
507
  ],
508
508
  [
509
509
  "every",
510
- "articlePOS",
510
+ "article",
511
511
  false
512
512
  ],
513
513
  [
@@ -1257,7 +1257,7 @@
1257
1257
  ],
1258
1258
  [
1259
1259
  "the",
1260
- "articlePOS",
1260
+ "article",
1261
1261
  false
1262
1262
  ],
1263
1263
  [