tpmkms_4wp 8.9.0-beta.3 → 8.9.0-beta.4
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/countable.js +8 -2
- package/common/countable.test.json +586 -0
- package/common/hierarchy.js +5 -5
- package/common/hierarchy.test.json +1491 -0
- package/common/pipboy.instance.json +28 -28
- package/common/wp.instance.json +5986 -618
- package/common/wp.js +33 -3
- package/common/wp.test.json +1120 -0
- package/package.json +2 -2
@@ -105,7 +105,7 @@
|
|
105
105
|
],
|
106
106
|
"bridges": [
|
107
107
|
{
|
108
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
108
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:152",
|
109
109
|
"id": "put",
|
110
110
|
"isA": [
|
111
111
|
"verb"
|
@@ -115,7 +115,7 @@
|
|
115
115
|
"generatorp": "({context}) => `put on`"
|
116
116
|
},
|
117
117
|
{
|
118
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
118
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:160",
|
119
119
|
"id": "propertyCondition",
|
120
120
|
"before": [
|
121
121
|
"adjective",
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"bridge": "{ ...next(after[0]), condition: before[0], modifiers: ['condition'] }"
|
128
128
|
},
|
129
129
|
{
|
130
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
130
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:168",
|
131
131
|
"id": "on",
|
132
132
|
"isA": [
|
133
133
|
"preposition"
|
@@ -138,7 +138,7 @@
|
|
138
138
|
"semantic": "({api, context}) => {\n api.change(context.item.marker)\n }"
|
139
139
|
},
|
140
140
|
{
|
141
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
141
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:179",
|
142
142
|
"id": "change",
|
143
143
|
"isA": [
|
144
144
|
"verb"
|
@@ -155,7 +155,7 @@
|
|
155
155
|
"semantic": "({api, context}) => {\n api.change(context.item.marker)\n }"
|
156
156
|
},
|
157
157
|
{
|
158
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
158
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:191",
|
159
159
|
"id": "disarm",
|
160
160
|
"isA": [
|
161
161
|
"verb"
|
@@ -166,7 +166,7 @@
|
|
166
166
|
"semantic": "({api, context}) => {\n api.disarm()\n }"
|
167
167
|
},
|
168
168
|
{
|
169
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
169
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:202",
|
170
170
|
"id": "strip",
|
171
171
|
"isA": [
|
172
172
|
"verb"
|
@@ -177,7 +177,7 @@
|
|
177
177
|
"semantic": "({api, context}) => {\n api.strip()\n }"
|
178
178
|
},
|
179
179
|
{
|
180
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
180
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:213",
|
181
181
|
"id": "call",
|
182
182
|
"isA": [
|
183
183
|
"verb"
|
@@ -188,7 +188,7 @@
|
|
188
188
|
"semantic": "({api, context}) => {\n api.setName(context.item, context.name.name.value)\n }"
|
189
189
|
},
|
190
190
|
{
|
191
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
191
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:224",
|
192
192
|
"id": "putOn",
|
193
193
|
"isA": [
|
194
194
|
"verb"
|
@@ -199,7 +199,7 @@
|
|
199
199
|
"semantic": "({api, context}) => {\n if (context.item.name) {\n api.wear({ name: context.item.name.value, type: 'outfit' })\n } else {\n api.wear({ type: context.item.value })\n }\n }"
|
200
200
|
},
|
201
201
|
{
|
202
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
202
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:239",
|
203
203
|
"id": "wear",
|
204
204
|
"isA": [
|
205
205
|
"verb"
|
@@ -219,7 +219,7 @@
|
|
219
219
|
"semantic": "({api, context}) => {\n if (context.item.name) {\n api.wear({ name: context.item.name.value, type: 'outfit' })\n } else {\n api.wear({ type: context.item.value })\n }\n }"
|
220
220
|
},
|
221
221
|
{
|
222
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
222
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:256",
|
223
223
|
"id": "equip",
|
224
224
|
"isA": [
|
225
225
|
"verb"
|
@@ -244,7 +244,7 @@
|
|
244
244
|
"semantic": "async ({api, context}) => {\n let condition\n if (context.item.condition) {\n condition = { selector: context.item.condition.marker, property: context.item.condition.property[0].marker }\n }\n api.equip({ type: context.item.value, condition })\n }"
|
245
245
|
},
|
246
246
|
{
|
247
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
247
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:272",
|
248
248
|
"id": "toDrink",
|
249
249
|
"isA": [
|
250
250
|
"verb"
|
@@ -255,7 +255,7 @@
|
|
255
255
|
"semantic": "async ({api, context, e}) => {\n const value = await e(context.item)\n api.drink(value.value)\n }"
|
256
256
|
},
|
257
257
|
{
|
258
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
258
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:284",
|
259
259
|
"id": "eat",
|
260
260
|
"localHierarchy": [
|
261
261
|
[
|
@@ -272,7 +272,7 @@
|
|
272
272
|
"semantic": "async ({api, context}) => {\n api.eat(context.item.value)\n }"
|
273
273
|
},
|
274
274
|
{
|
275
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
275
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:296",
|
276
276
|
"id": "take",
|
277
277
|
"isA": [
|
278
278
|
"verb"
|
@@ -283,7 +283,7 @@
|
|
283
283
|
"semantic": "async ({api, context, e}) => {\n const value = await e(context.item)\n api.take(value.value)\n }"
|
284
284
|
},
|
285
285
|
{
|
286
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
286
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:308",
|
287
287
|
"id": "nameable",
|
288
288
|
"isA": [
|
289
289
|
"theAble"
|
@@ -28780,7 +28780,7 @@
|
|
28780
28780
|
],
|
28781
28781
|
"bridges": [
|
28782
28782
|
{
|
28783
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28783
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:152",
|
28784
28784
|
"id": "put",
|
28785
28785
|
"isA": [
|
28786
28786
|
"verb"
|
@@ -28789,7 +28789,7 @@
|
|
28789
28789
|
"bridge": "{ ...next(operator) }"
|
28790
28790
|
},
|
28791
28791
|
{
|
28792
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28792
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:160",
|
28793
28793
|
"id": "propertyCondition",
|
28794
28794
|
"before": [
|
28795
28795
|
"adjective",
|
@@ -28801,7 +28801,7 @@
|
|
28801
28801
|
"bridge": "{ ...next(after[0]), condition: before[0], modifiers: ['condition'] }"
|
28802
28802
|
},
|
28803
28803
|
{
|
28804
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28804
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:168",
|
28805
28805
|
"id": "on",
|
28806
28806
|
"isA": [
|
28807
28807
|
"preposition"
|
@@ -28810,7 +28810,7 @@
|
|
28810
28810
|
"bridge": "{ ...before, marker: operator('putOn', 0), dead: false }"
|
28811
28811
|
},
|
28812
28812
|
{
|
28813
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28813
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:179",
|
28814
28814
|
"id": "change",
|
28815
28815
|
"isA": [
|
28816
28816
|
"verb"
|
@@ -28825,7 +28825,7 @@
|
|
28825
28825
|
]
|
28826
28826
|
},
|
28827
28827
|
{
|
28828
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28828
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:191",
|
28829
28829
|
"id": "disarm",
|
28830
28830
|
"isA": [
|
28831
28831
|
"verb"
|
@@ -28834,7 +28834,7 @@
|
|
28834
28834
|
"bridge": "{ ...next(operator) }"
|
28835
28835
|
},
|
28836
28836
|
{
|
28837
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28837
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:202",
|
28838
28838
|
"id": "strip",
|
28839
28839
|
"isA": [
|
28840
28840
|
"verb"
|
@@ -28843,7 +28843,7 @@
|
|
28843
28843
|
"bridge": "{ ...next(operator) }"
|
28844
28844
|
},
|
28845
28845
|
{
|
28846
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28846
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:213",
|
28847
28847
|
"id": "call",
|
28848
28848
|
"isA": [
|
28849
28849
|
"verb"
|
@@ -28852,7 +28852,7 @@
|
|
28852
28852
|
"bridge": "{ ...next(operator), item: after[0], name: after[1] }"
|
28853
28853
|
},
|
28854
28854
|
{
|
28855
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28855
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:224",
|
28856
28856
|
"id": "putOn",
|
28857
28857
|
"isA": [
|
28858
28858
|
"verb"
|
@@ -28861,7 +28861,7 @@
|
|
28861
28861
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28862
28862
|
},
|
28863
28863
|
{
|
28864
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28864
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:239",
|
28865
28865
|
"id": "wear",
|
28866
28866
|
"isA": [
|
28867
28867
|
"verb"
|
@@ -28879,7 +28879,7 @@
|
|
28879
28879
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28880
28880
|
},
|
28881
28881
|
{
|
28882
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28882
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:256",
|
28883
28883
|
"id": "equip",
|
28884
28884
|
"isA": [
|
28885
28885
|
"verb"
|
@@ -28902,7 +28902,7 @@
|
|
28902
28902
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28903
28903
|
},
|
28904
28904
|
{
|
28905
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28905
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:272",
|
28906
28906
|
"id": "toDrink",
|
28907
28907
|
"isA": [
|
28908
28908
|
"verb"
|
@@ -28911,7 +28911,7 @@
|
|
28911
28911
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28912
28912
|
},
|
28913
28913
|
{
|
28914
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28914
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:284",
|
28915
28915
|
"id": "eat",
|
28916
28916
|
"localHierarchy": [
|
28917
28917
|
[
|
@@ -28926,7 +28926,7 @@
|
|
28926
28926
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28927
28927
|
},
|
28928
28928
|
{
|
28929
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28929
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:296",
|
28930
28930
|
"id": "take",
|
28931
28931
|
"isA": [
|
28932
28932
|
"verb"
|
@@ -28935,7 +28935,7 @@
|
|
28935
28935
|
"bridge": "{ ...next(operator), item: after[0] }"
|
28936
28936
|
},
|
28937
28937
|
{
|
28938
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:
|
28938
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/pipboy.js:308",
|
28939
28939
|
"id": "nameable",
|
28940
28940
|
"isA": [
|
28941
28941
|
"theAble"
|