tpmkms_4wp 8.9.1-beta.2 → 8.9.1
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/crew.instance.json +0 -288
- package/common/dialogues.js +0 -9
- package/common/edible.instance.json +0 -36
- package/common/fastfood.instance.json +126 -266
- package/common/gdefaults.js +3 -9
- package/common/pipboy.instance.json +0 -72
- package/common/pos.js +6 -12
- package/common/reports.instance.json +1 -1
- package/common/wp.instance.json +940 -7780
- package/common/wp.js +24 -56
- package/common/wp.test.json +0 -10374
- package/package.json +2 -2
package/common/gdefaults.js
CHANGED
@@ -61,7 +61,7 @@ let config = {
|
|
61
61
|
//({context}) => context.paraphrase && context.modifiers,
|
62
62
|
// match: ({context}) => context.paraphrase && (context.modifiers || context.postModifiers),
|
63
63
|
match: ({context}) => (context.modifiers || context.postModifiers),
|
64
|
-
apply: async ({context, g,
|
64
|
+
apply: async ({context, g, callId}) => {
|
65
65
|
const text = []
|
66
66
|
for (modifier of (context.modifiers || [])) {
|
67
67
|
if (Array.isArray(context[modifier])) {
|
@@ -86,15 +86,9 @@ let config = {
|
|
86
86
|
}
|
87
87
|
for ([index, modifier] of (context.postModifiers || []).entries()) {
|
88
88
|
if (index == context.postModifiers.length - 1) {
|
89
|
-
|
90
|
-
if (Array.isArray(context[modifier])) {
|
91
|
-
text.push(await gs(context[modifier].map((c) => { return {...c , number} })))
|
92
|
-
} else {
|
93
|
-
text.push(await g({...context[modifier], number}))
|
94
|
-
}
|
89
|
+
text.push(await g({...context[modifier], number}))
|
95
90
|
} else {
|
96
|
-
|
97
|
-
text.push(await fn(context[modifier]))
|
91
|
+
text.push(await g(context[modifier]))
|
98
92
|
}
|
99
93
|
}
|
100
94
|
return text.join(' ')
|
@@ -1750,24 +1750,6 @@
|
|
1750
1750
|
1
|
1751
1751
|
]
|
1752
1752
|
],
|
1753
|
-
[
|
1754
|
-
[
|
1755
|
-
"is",
|
1756
|
-
0
|
1757
|
-
],
|
1758
|
-
[
|
1759
|
-
"list",
|
1760
|
-
0
|
1761
|
-
],
|
1762
|
-
[
|
1763
|
-
"unknown",
|
1764
|
-
0
|
1765
|
-
],
|
1766
|
-
[
|
1767
|
-
"unknown",
|
1768
|
-
1
|
1769
|
-
]
|
1770
|
-
],
|
1771
1753
|
[
|
1772
1754
|
[
|
1773
1755
|
"is",
|
@@ -8512,24 +8494,6 @@
|
|
8512
8494
|
1
|
8513
8495
|
]
|
8514
8496
|
],
|
8515
|
-
[
|
8516
|
-
[
|
8517
|
-
"is",
|
8518
|
-
0
|
8519
|
-
],
|
8520
|
-
[
|
8521
|
-
"list",
|
8522
|
-
0
|
8523
|
-
],
|
8524
|
-
[
|
8525
|
-
"unknown",
|
8526
|
-
0
|
8527
|
-
],
|
8528
|
-
[
|
8529
|
-
"unknown",
|
8530
|
-
1
|
8531
|
-
]
|
8532
|
-
],
|
8533
8497
|
[
|
8534
8498
|
[
|
8535
8499
|
"is",
|
@@ -30092,42 +30056,6 @@
|
|
30092
30056
|
1
|
30093
30057
|
]
|
30094
30058
|
],
|
30095
|
-
[
|
30096
|
-
[
|
30097
|
-
"is",
|
30098
|
-
0
|
30099
|
-
],
|
30100
|
-
[
|
30101
|
-
"list",
|
30102
|
-
0
|
30103
|
-
],
|
30104
|
-
[
|
30105
|
-
"unknown",
|
30106
|
-
0
|
30107
|
-
],
|
30108
|
-
[
|
30109
|
-
"unknown",
|
30110
|
-
1
|
30111
|
-
]
|
30112
|
-
],
|
30113
|
-
[
|
30114
|
-
[
|
30115
|
-
"is",
|
30116
|
-
0
|
30117
|
-
],
|
30118
|
-
[
|
30119
|
-
"list",
|
30120
|
-
0
|
30121
|
-
],
|
30122
|
-
[
|
30123
|
-
"unknown",
|
30124
|
-
0
|
30125
|
-
],
|
30126
|
-
[
|
30127
|
-
"unknown",
|
30128
|
-
1
|
30129
|
-
]
|
30130
|
-
],
|
30131
30059
|
[
|
30132
30060
|
[
|
30133
30061
|
"is",
|