tpmkms_4wp 9.4.3 → 9.4.4-beta.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/asking.js +5 -1
- package/common/characters.js +0 -3
- package/common/crew.instance.json +0 -72
- package/common/edible.instance.json +28 -0
- package/common/fastfood.instance.json +417 -89
- package/common/gdefaults.js +9 -1
- package/common/javascript.js +0 -5
- package/common/latin.instance.json +2 -0
- package/common/latin.js +72 -0
- package/common/latin.test.json +1331 -0
- package/common/pipboy.instance.json +0 -28
- package/common/properties.js +1 -1
- package/common/reminders.instance.json +57 -24
- package/common/reminders.js +69 -23
- package/common/reminders.test.json +9827 -0
- package/common/reports.instance.json +2 -2
- package/common/scorekeeper.js +0 -5
- package/common/temperature.instance.json +0 -84
- package/common/time.js +0 -9
- package/main.js +2 -0
- package/package.json +12 -2
package/common/asking.js
CHANGED
@@ -18,7 +18,7 @@ const config = {
|
|
18
18
|
bridges: [
|
19
19
|
{
|
20
20
|
id: "nevermind",
|
21
|
-
bridge: "{ ...next(operator) }",
|
21
|
+
bridge: "{ ...next(operator), complete: true }",
|
22
22
|
semantic: (args) => {
|
23
23
|
const {config, context} = args
|
24
24
|
// stop asking all questions
|
@@ -128,11 +128,13 @@ const getAsk = (config) => (uuid) => {
|
|
128
128
|
const id_r = stableId('semantic')
|
129
129
|
id_rs.push(id_r)
|
130
130
|
s_ids.push(id_r)
|
131
|
+
// debugger
|
131
132
|
config.addSemantic({
|
132
133
|
uuid,
|
133
134
|
id: id_r,
|
134
135
|
tied_ids: [id_q],
|
135
136
|
// tied_ids: s_ids,
|
137
|
+
onDelete: ask.onDelete,
|
136
138
|
oneShot,
|
137
139
|
where: semantic.where || ask.where || where(2),
|
138
140
|
source: 'response',
|
@@ -154,6 +156,7 @@ const getAsk = (config) => (uuid) => {
|
|
154
156
|
isQuestion: true, // do one question at a time
|
155
157
|
getWasAsked,
|
156
158
|
getWasApplied,
|
159
|
+
onDelete: ask.onDelete,
|
157
160
|
onNevermind: ask.onNevermind,
|
158
161
|
source: 'question',
|
159
162
|
match: ({ context }) => context.marker == 'controlEnd' || context.marker == 'controlBetween',
|
@@ -187,6 +190,7 @@ const getAsk = (config) => (uuid) => {
|
|
187
190
|
|
188
191
|
const s_ids = []
|
189
192
|
for (const a of [...asks].reverse()) {
|
193
|
+
// debugger
|
190
194
|
ask(a, s_ids)
|
191
195
|
}
|
192
196
|
|
package/common/characters.js
CHANGED
@@ -44,9 +44,6 @@ const config = {
|
|
44
44
|
"literals": {
|
45
45
|
"sally": [{"id": "character", development: true, "initial": "{ value: 'sally' }" }],
|
46
46
|
"bob": [{"id": "character", development: true, "initial": "{ value: 'bob' }" }],
|
47
|
-
//"product1": [{"id": "reportObject", "initial": "{ value: 'api1' }" }],
|
48
|
-
//"api2": [{"id": "reportObject", "initial": "{ value: 'api2' }" }],
|
49
|
-
//" ([0-9]+)": [{"id": "amount", "initial": "{ value: int(group[0]) }" }],
|
50
47
|
},
|
51
48
|
},
|
52
49
|
|
@@ -13229,24 +13229,6 @@
|
|
13229
13229
|
0
|
13230
13230
|
]
|
13231
13231
|
],
|
13232
|
-
[
|
13233
|
-
[
|
13234
|
-
"is",
|
13235
|
-
0
|
13236
|
-
],
|
13237
|
-
[
|
13238
|
-
"name",
|
13239
|
-
0
|
13240
|
-
],
|
13241
|
-
[
|
13242
|
-
"possession",
|
13243
|
-
0
|
13244
|
-
],
|
13245
|
-
[
|
13246
|
-
"spock",
|
13247
|
-
0
|
13248
|
-
]
|
13249
|
-
],
|
13250
13232
|
[
|
13251
13233
|
[
|
13252
13234
|
"is",
|
@@ -22686,24 +22668,6 @@
|
|
22686
22668
|
0
|
22687
22669
|
]
|
22688
22670
|
],
|
22689
|
-
[
|
22690
|
-
[
|
22691
|
-
"is",
|
22692
|
-
0
|
22693
|
-
],
|
22694
|
-
[
|
22695
|
-
"mccoy",
|
22696
|
-
0
|
22697
|
-
],
|
22698
|
-
[
|
22699
|
-
"name",
|
22700
|
-
0
|
22701
|
-
],
|
22702
|
-
[
|
22703
|
-
"possession",
|
22704
|
-
0
|
22705
|
-
]
|
22706
|
-
],
|
22707
22671
|
[
|
22708
22672
|
[
|
22709
22673
|
"is",
|
@@ -52546,24 +52510,6 @@
|
|
52546
52510
|
0
|
52547
52511
|
]
|
52548
52512
|
],
|
52549
|
-
[
|
52550
|
-
[
|
52551
|
-
"is",
|
52552
|
-
0
|
52553
|
-
],
|
52554
|
-
[
|
52555
|
-
"mccoy",
|
52556
|
-
0
|
52557
|
-
],
|
52558
|
-
[
|
52559
|
-
"name",
|
52560
|
-
0
|
52561
|
-
],
|
52562
|
-
[
|
52563
|
-
"possession",
|
52564
|
-
0
|
52565
|
-
]
|
52566
|
-
],
|
52567
52513
|
[
|
52568
52514
|
[
|
52569
52515
|
"is",
|
@@ -52732,24 +52678,6 @@
|
|
52732
52678
|
0
|
52733
52679
|
]
|
52734
52680
|
],
|
52735
|
-
[
|
52736
|
-
[
|
52737
|
-
"is",
|
52738
|
-
0
|
52739
|
-
],
|
52740
|
-
[
|
52741
|
-
"name",
|
52742
|
-
0
|
52743
|
-
],
|
52744
|
-
[
|
52745
|
-
"possession",
|
52746
|
-
0
|
52747
|
-
],
|
52748
|
-
[
|
52749
|
-
"spock",
|
52750
|
-
0
|
52751
|
-
]
|
52752
|
-
],
|
52753
52681
|
[
|
52754
52682
|
[
|
52755
52683
|
"is",
|
@@ -3808,6 +3808,20 @@
|
|
3808
3808
|
1
|
3809
3809
|
]
|
3810
3810
|
],
|
3811
|
+
[
|
3812
|
+
[
|
3813
|
+
"food",
|
3814
|
+
0
|
3815
|
+
],
|
3816
|
+
[
|
3817
|
+
"is",
|
3818
|
+
0
|
3819
|
+
],
|
3820
|
+
[
|
3821
|
+
"list",
|
3822
|
+
1
|
3823
|
+
]
|
3824
|
+
],
|
3811
3825
|
[
|
3812
3826
|
[
|
3813
3827
|
"food",
|
@@ -69457,6 +69471,20 @@
|
|
69457
69471
|
1
|
69458
69472
|
]
|
69459
69473
|
],
|
69474
|
+
[
|
69475
|
+
[
|
69476
|
+
"food",
|
69477
|
+
0
|
69478
|
+
],
|
69479
|
+
[
|
69480
|
+
"is",
|
69481
|
+
0
|
69482
|
+
],
|
69483
|
+
[
|
69484
|
+
"list",
|
69485
|
+
1
|
69486
|
+
]
|
69487
|
+
],
|
69460
69488
|
[
|
69461
69489
|
[
|
69462
69490
|
"food",
|