ekms 8.0.0-beta.20 → 8.0.0-beta.22
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +0 -88
- package/common/animals.js +2 -2
- package/common/avatar.js +2 -2
- package/common/characters.js +12 -16
- package/common/colors.instance.json +0 -344
- package/common/colors.js +2 -2
- package/common/comparable.js +2 -15
- package/common/concept.js +13 -10
- package/common/countable.js +5 -5
- package/common/crew.instance.json +0 -416
- package/common/crew.js +4 -4
- package/common/currency.js +7 -7
- package/common/dialogues.js +52 -121
- package/common/dimension.instance.json +4 -4
- package/common/dimension.js +12 -12
- package/common/dimension.test.json +242 -1248
- package/common/edible.instance.json +30 -134
- package/common/edible.js +2 -2
- package/common/emotions.instance.json +0 -60
- package/common/emotions.js +4 -4
- package/common/events.js +6 -6
- package/common/fastfood.instance.json +929 -1408
- package/common/fastfood.js +24 -24
- package/common/formulas.instance.json +6 -6
- package/common/formulas.js +12 -12
- package/common/gdefaults.js +13 -13
- package/common/help.js +4 -4
- package/common/helpers/concept.js +0 -1
- package/common/helpers/dialogues.js +2 -3
- package/common/helpers/properties.js +48 -58
- package/common/hierarchy.js +12 -16
- package/common/javascript.js +8 -8
- package/common/kirk.js +2 -2
- package/common/length.instance.json +0 -60
- package/common/length.js +2 -2
- package/common/math.instance.json +12 -12
- package/common/math.js +7 -7
- package/common/meta.js +22 -29
- package/common/negation.js +1 -1
- package/common/numbers.js +2 -2
- package/common/ordering.js +5 -5
- package/common/people.js +4 -5
- package/common/percentages.js +4 -4
- package/common/pipboy.instance.json +30 -154
- package/common/pipboy.js +29 -32
- package/common/pokemon.instance.json +0 -44
- package/common/pokemon.js +4 -4
- package/common/pos.js +1 -1
- package/common/pressure.js +2 -2
- package/common/properties.js +52 -125
- package/common/punctuation.js +2 -2
- package/common/reports.instance.json +1 -1
- package/common/reports.js +59 -76
- package/common/scorekeeper.js +13 -21
- package/common/sdefaults.js +5 -5
- package/common/sizeable.js +2 -2
- package/common/spock.js +2 -2
- package/common/stgame.js +13 -9
- package/common/stm.js +4 -4
- package/common/tell.js +10 -10
- package/common/temperature.instance.json +0 -60
- package/common/temperature.js +2 -2
- package/common/tester.js +2 -2
- package/common/testing.js +5 -5
- package/common/time.js +7 -7
- package/common/tokenize.js +1 -1
- package/common/ui.js +9 -9
- package/common/weight.js +2 -2
- package/common/yesno.js +1 -1
- package/package.json +2 -2
@@ -2673,11 +2673,11 @@
|
|
2673
2673
|
0
|
2674
2674
|
],
|
2675
2675
|
[
|
2676
|
-
"
|
2676
|
+
"chicken_nugget",
|
2677
2677
|
0
|
2678
2678
|
],
|
2679
2679
|
[
|
2680
|
-
"
|
2680
|
+
"chicken_strip",
|
2681
2681
|
0
|
2682
2682
|
]
|
2683
2683
|
],
|
@@ -3153,6 +3153,20 @@
|
|
3153
3153
|
1
|
3154
3154
|
]
|
3155
3155
|
],
|
3156
|
+
[
|
3157
|
+
[
|
3158
|
+
"food",
|
3159
|
+
0
|
3160
|
+
],
|
3161
|
+
[
|
3162
|
+
"is",
|
3163
|
+
0
|
3164
|
+
],
|
3165
|
+
[
|
3166
|
+
"list",
|
3167
|
+
1
|
3168
|
+
]
|
3169
|
+
],
|
3156
3170
|
[
|
3157
3171
|
[
|
3158
3172
|
"is",
|
@@ -5075,24 +5089,6 @@
|
|
5075
5089
|
1
|
5076
5090
|
]
|
5077
5091
|
],
|
5078
|
-
[
|
5079
|
-
[
|
5080
|
-
"is",
|
5081
|
-
0
|
5082
|
-
],
|
5083
|
-
[
|
5084
|
-
"list",
|
5085
|
-
0
|
5086
|
-
],
|
5087
|
-
[
|
5088
|
-
"unknown",
|
5089
|
-
0
|
5090
|
-
],
|
5091
|
-
[
|
5092
|
-
"unknown",
|
5093
|
-
1
|
5094
|
-
]
|
5095
|
-
],
|
5096
5092
|
[
|
5097
5093
|
[
|
5098
5094
|
"is",
|
@@ -20778,28 +20774,6 @@
|
|
20778
20774
|
1
|
20779
20775
|
]
|
20780
20776
|
],
|
20781
|
-
[
|
20782
|
-
[
|
20783
|
-
"comma",
|
20784
|
-
0
|
20785
|
-
],
|
20786
|
-
[
|
20787
|
-
"is",
|
20788
|
-
0
|
20789
|
-
],
|
20790
|
-
[
|
20791
|
-
"list",
|
20792
|
-
0
|
20793
|
-
],
|
20794
|
-
[
|
20795
|
-
"unknown",
|
20796
|
-
0
|
20797
|
-
],
|
20798
|
-
[
|
20799
|
-
"unknown",
|
20800
|
-
1
|
20801
|
-
]
|
20802
|
-
],
|
20803
20777
|
[
|
20804
20778
|
[
|
20805
20779
|
"comma",
|
@@ -48816,32 +48790,6 @@
|
|
48816
48790
|
1
|
48817
48791
|
]
|
48818
48792
|
],
|
48819
|
-
[
|
48820
|
-
[
|
48821
|
-
"comma",
|
48822
|
-
0
|
48823
|
-
],
|
48824
|
-
[
|
48825
|
-
"drink",
|
48826
|
-
0
|
48827
|
-
],
|
48828
|
-
[
|
48829
|
-
"is",
|
48830
|
-
0
|
48831
|
-
],
|
48832
|
-
[
|
48833
|
-
"list",
|
48834
|
-
0
|
48835
|
-
],
|
48836
|
-
[
|
48837
|
-
"unknown",
|
48838
|
-
0
|
48839
|
-
],
|
48840
|
-
[
|
48841
|
-
"unknown",
|
48842
|
-
1
|
48843
|
-
]
|
48844
|
-
],
|
48845
48793
|
[
|
48846
48794
|
[
|
48847
48795
|
"comma",
|
@@ -58048,55 +57996,11 @@
|
|
58048
57996
|
"list",
|
58049
57997
|
0
|
58050
57998
|
],
|
58051
|
-
[
|
58052
|
-
"unknown",
|
58053
|
-
0
|
58054
|
-
],
|
58055
57999
|
[
|
58056
58000
|
"unknown",
|
58057
58001
|
1
|
58058
58002
|
]
|
58059
58003
|
],
|
58060
|
-
[
|
58061
|
-
[
|
58062
|
-
"comma",
|
58063
|
-
0
|
58064
|
-
],
|
58065
|
-
[
|
58066
|
-
"drink",
|
58067
|
-
0
|
58068
|
-
],
|
58069
|
-
[
|
58070
|
-
"is",
|
58071
|
-
0
|
58072
|
-
],
|
58073
|
-
[
|
58074
|
-
"list",
|
58075
|
-
0
|
58076
|
-
],
|
58077
|
-
[
|
58078
|
-
"unknown",
|
58079
|
-
1
|
58080
|
-
]
|
58081
|
-
],
|
58082
|
-
[
|
58083
|
-
[
|
58084
|
-
"comma",
|
58085
|
-
0
|
58086
|
-
],
|
58087
|
-
[
|
58088
|
-
"is",
|
58089
|
-
0
|
58090
|
-
],
|
58091
|
-
[
|
58092
|
-
"list",
|
58093
|
-
0
|
58094
|
-
],
|
58095
|
-
[
|
58096
|
-
"unknown",
|
58097
|
-
0
|
58098
|
-
]
|
58099
|
-
],
|
58100
58004
|
[
|
58101
58005
|
[
|
58102
58006
|
"comma",
|
@@ -58113,10 +58017,6 @@
|
|
58113
58017
|
[
|
58114
58018
|
"unknown",
|
58115
58019
|
0
|
58116
|
-
],
|
58117
|
-
[
|
58118
|
-
"unknown",
|
58119
|
-
1
|
58120
58020
|
]
|
58121
58021
|
],
|
58122
58022
|
[
|
@@ -58507,8 +58407,8 @@
|
|
58507
58407
|
0
|
58508
58408
|
],
|
58509
58409
|
[
|
58510
|
-
"
|
58511
|
-
|
58410
|
+
"list",
|
58411
|
+
1
|
58512
58412
|
]
|
58513
58413
|
],
|
58514
58414
|
[
|
@@ -58521,7 +58421,7 @@
|
|
58521
58421
|
0
|
58522
58422
|
],
|
58523
58423
|
[
|
58524
|
-
"
|
58424
|
+
"meat",
|
58525
58425
|
0
|
58526
58426
|
]
|
58527
58427
|
],
|
@@ -58550,7 +58450,7 @@
|
|
58550
58450
|
],
|
58551
58451
|
[
|
58552
58452
|
"unknown",
|
58553
|
-
|
58453
|
+
0
|
58554
58454
|
]
|
58555
58455
|
],
|
58556
58456
|
[
|
@@ -58569,16 +58469,16 @@
|
|
58569
58469
|
],
|
58570
58470
|
[
|
58571
58471
|
[
|
58572
|
-
"
|
58472
|
+
"food",
|
58573
58473
|
0
|
58574
58474
|
],
|
58575
58475
|
[
|
58576
|
-
"
|
58476
|
+
"is",
|
58577
58477
|
0
|
58578
58478
|
],
|
58579
58479
|
[
|
58580
58480
|
"unknown",
|
58581
|
-
|
58481
|
+
1
|
58582
58482
|
]
|
58583
58483
|
],
|
58584
58484
|
[
|
@@ -58592,12 +58492,12 @@
|
|
58592
58492
|
],
|
58593
58493
|
[
|
58594
58494
|
"unknown",
|
58595
|
-
|
58495
|
+
0
|
58596
58496
|
]
|
58597
58497
|
],
|
58598
58498
|
[
|
58599
58499
|
[
|
58600
|
-
"
|
58500
|
+
"french",
|
58601
58501
|
0
|
58602
58502
|
],
|
58603
58503
|
[
|
@@ -58606,7 +58506,7 @@
|
|
58606
58506
|
],
|
58607
58507
|
[
|
58608
58508
|
"unknown",
|
58609
|
-
|
58509
|
+
1
|
58610
58510
|
]
|
58611
58511
|
],
|
58612
58512
|
[
|
@@ -58620,21 +58520,21 @@
|
|
58620
58520
|
],
|
58621
58521
|
[
|
58622
58522
|
"unknown",
|
58623
|
-
|
58523
|
+
0
|
58624
58524
|
]
|
58625
58525
|
],
|
58626
58526
|
[
|
58627
58527
|
[
|
58628
|
-
"
|
58528
|
+
"grain",
|
58629
58529
|
0
|
58630
58530
|
],
|
58631
58531
|
[
|
58632
|
-
"
|
58532
|
+
"modifies",
|
58633
58533
|
0
|
58634
58534
|
],
|
58635
58535
|
[
|
58636
58536
|
"unknown",
|
58637
|
-
|
58537
|
+
1
|
58638
58538
|
]
|
58639
58539
|
],
|
58640
58540
|
[
|
@@ -58663,10 +58563,6 @@
|
|
58663
58563
|
[
|
58664
58564
|
"unknown",
|
58665
58565
|
0
|
58666
|
-
],
|
58667
|
-
[
|
58668
|
-
"unknown",
|
58669
|
-
1
|
58670
58566
|
]
|
58671
58567
|
],
|
58672
58568
|
[
|
package/common/edible.js
CHANGED
@@ -74,9 +74,9 @@ const template ={
|
|
74
74
|
],
|
75
75
|
}
|
76
76
|
|
77
|
-
const createConfig = () => {
|
77
|
+
const createConfig = async () => {
|
78
78
|
const config = new Config({ name: 'edible' }, module)
|
79
|
-
config.add(countable
|
79
|
+
await config.add(countable, hierarchy)
|
80
80
|
return config
|
81
81
|
}
|
82
82
|
|
@@ -938,36 +938,6 @@
|
|
938
938
|
1
|
939
939
|
]
|
940
940
|
],
|
941
|
-
[
|
942
|
-
[
|
943
|
-
"feel",
|
944
|
-
0
|
945
|
-
],
|
946
|
-
[
|
947
|
-
"is",
|
948
|
-
0
|
949
|
-
],
|
950
|
-
[
|
951
|
-
"means",
|
952
|
-
0
|
953
|
-
],
|
954
|
-
[
|
955
|
-
"propertyOf",
|
956
|
-
0
|
957
|
-
],
|
958
|
-
[
|
959
|
-
"the",
|
960
|
-
0
|
961
|
-
],
|
962
|
-
[
|
963
|
-
"unknown",
|
964
|
-
0
|
965
|
-
],
|
966
|
-
[
|
967
|
-
"unknown",
|
968
|
-
1
|
969
|
-
]
|
970
|
-
],
|
971
941
|
[
|
972
942
|
[
|
973
943
|
"feel",
|
@@ -1165,36 +1135,6 @@
|
|
1165
1135
|
1
|
1166
1136
|
]
|
1167
1137
|
],
|
1168
|
-
[
|
1169
|
-
[
|
1170
|
-
"feel",
|
1171
|
-
0
|
1172
|
-
],
|
1173
|
-
[
|
1174
|
-
"is",
|
1175
|
-
0
|
1176
|
-
],
|
1177
|
-
[
|
1178
|
-
"means",
|
1179
|
-
0
|
1180
|
-
],
|
1181
|
-
[
|
1182
|
-
"propertyOf",
|
1183
|
-
0
|
1184
|
-
],
|
1185
|
-
[
|
1186
|
-
"the",
|
1187
|
-
0
|
1188
|
-
],
|
1189
|
-
[
|
1190
|
-
"unknown",
|
1191
|
-
0
|
1192
|
-
],
|
1193
|
-
[
|
1194
|
-
"unknown",
|
1195
|
-
1
|
1196
|
-
]
|
1197
|
-
],
|
1198
1138
|
[
|
1199
1139
|
[
|
1200
1140
|
"feel",
|
package/common/emotions.js
CHANGED
@@ -23,7 +23,7 @@ const template ={
|
|
23
23
|
],
|
24
24
|
}
|
25
25
|
|
26
|
-
const createConfig = () => {
|
26
|
+
const createConfig = async () => {
|
27
27
|
const config = new Config({
|
28
28
|
name: 'emotions',
|
29
29
|
operators: [
|
@@ -46,8 +46,8 @@ const createConfig = () => {
|
|
46
46
|
]
|
47
47
|
}, module)
|
48
48
|
config.stop_auto_rebuild()
|
49
|
-
config.add(hierarchy
|
50
|
-
config.initializer( ({config, apis}) => {
|
49
|
+
await config.add(hierarchy)
|
50
|
+
await config.initializer( ({config, apis}) => {
|
51
51
|
const api = apis('properties')
|
52
52
|
api.createActionPrefix({
|
53
53
|
operator: 'feel',
|
@@ -57,7 +57,7 @@ const createConfig = () => {
|
|
57
57
|
doAble: true,
|
58
58
|
config })
|
59
59
|
})
|
60
|
-
config.restart_auto_rebuild()
|
60
|
+
await config.restart_auto_rebuild()
|
61
61
|
//config.load(template, emotions_instance)
|
62
62
|
return config
|
63
63
|
}
|
package/common/events.js
CHANGED
@@ -32,7 +32,7 @@ let configStruct = {
|
|
32
32
|
where: where(),
|
33
33
|
id: "after", level: 0,
|
34
34
|
bridge: "{ ...next(operator), event: after[0], action: after[1] }",
|
35
|
-
generatorp: ({context, gp}) => `after ${gp(context.event)} ${gp(context.action)}`,
|
35
|
+
generatorp: async ({context, gp}) => `after ${await gp(context.event)} ${await gp(context.action)}`,
|
36
36
|
},
|
37
37
|
{ id: "action", level: 0, bridge: "{ ...next(operator) }" },
|
38
38
|
{ id: "changeable", level: 0, bridge: "{ ...next(operator) }" },
|
@@ -42,11 +42,11 @@ let configStruct = {
|
|
42
42
|
level: 0,
|
43
43
|
isA: ['verby'],
|
44
44
|
bridge: "{ ...next(operator), changeable: before[0] }",
|
45
|
-
generatorp: ({context, g}) => {
|
45
|
+
generatorp: async ({context, g}) => {
|
46
46
|
if (!context.changeable) {
|
47
47
|
return 'undefined changes'
|
48
48
|
}
|
49
|
-
return `${g(context.changeable)} changes`
|
49
|
+
return `${await g(context.changeable)} changes`
|
50
50
|
}
|
51
51
|
},
|
52
52
|
{
|
@@ -117,10 +117,10 @@ let configStruct = {
|
|
117
117
|
],
|
118
118
|
};
|
119
119
|
|
120
|
-
const createConfig = () => {
|
120
|
+
const createConfig = async () => {
|
121
121
|
const config = new Config(configStruct, module)
|
122
|
-
config.
|
123
|
-
config.add(dialogues
|
122
|
+
await config.setApi(new API())
|
123
|
+
await config.add(dialogues)
|
124
124
|
return config
|
125
125
|
}
|
126
126
|
|