tpmkms_4wp 8.0.0-beta.20 → 8.0.0-beta.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/common/animals.instance.json +0 -88
  2. package/common/animals.js +2 -2
  3. package/common/avatar.js +2 -2
  4. package/common/characters.js +12 -16
  5. package/common/colors.instance.json +10 -326
  6. package/common/colors.js +2 -2
  7. package/common/comparable.js +2 -2
  8. package/common/concept.js +4 -5
  9. package/common/countable.js +2 -2
  10. package/common/crew.instance.json +0 -416
  11. package/common/crew.js +3 -3
  12. package/common/currency.js +4 -4
  13. package/common/dialogues.js +4 -4
  14. package/common/dimension.js +4 -4
  15. package/common/edible.instance.json +17 -93
  16. package/common/edible.js +2 -2
  17. package/common/emotions.instance.json +0 -60
  18. package/common/emotions.js +3 -3
  19. package/common/events.js +3 -3
  20. package/common/fastfood.instance.json +237 -517
  21. package/common/fastfood.js +4 -4
  22. package/common/formulas.js +4 -4
  23. package/common/gdefaults.js +2 -2
  24. package/common/help.js +3 -3
  25. package/common/helpers/concept.js +0 -1
  26. package/common/hierarchy.js +3 -3
  27. package/common/javascript.js +3 -3
  28. package/common/kirk.js +2 -2
  29. package/common/length.instance.json +0 -60
  30. package/common/length.js +2 -2
  31. package/common/math.js +2 -2
  32. package/common/meta.js +3 -3
  33. package/common/negation.js +1 -1
  34. package/common/numbers.js +2 -2
  35. package/common/ordering.js +4 -4
  36. package/common/people.js +3 -3
  37. package/common/percentages.js +2 -2
  38. package/common/pipboy.instance.json +10 -78
  39. package/common/pipboy.js +4 -4
  40. package/common/pokemon.instance.json +0 -44
  41. package/common/pokemon.js +3 -3
  42. package/common/pos.js +1 -1
  43. package/common/pressure.js +2 -2
  44. package/common/properties.js +4 -4
  45. package/common/punctuation.js +1 -1
  46. package/common/reports.instance.json +1 -1
  47. package/common/reports.js +11 -11
  48. package/common/scorekeeper.js +3 -3
  49. package/common/sdefaults.js +1 -1
  50. package/common/sizeable.js +2 -2
  51. package/common/spock.js +2 -2
  52. package/common/stgame.js +13 -9
  53. package/common/stm.js +3 -3
  54. package/common/tell.js +4 -4
  55. package/common/temperature.instance.json +84 -60
  56. package/common/temperature.js +2 -2
  57. package/common/tester.js +2 -2
  58. package/common/testing.js +2 -2
  59. package/common/time.js +4 -4
  60. package/common/tokenize.js +1 -1
  61. package/common/ui.js +4 -4
  62. package/common/weight.js +2 -2
  63. package/common/yesno.js +1 -1
  64. package/package.json +2 -2
@@ -5084,10 +5084,6 @@
5084
5084
  "list",
5085
5085
  0
5086
5086
  ],
5087
- [
5088
- "unknown",
5089
- 0
5090
- ],
5091
5087
  [
5092
5088
  "unknown",
5093
5089
  1
@@ -5100,7 +5096,7 @@
5100
5096
  ],
5101
5097
  [
5102
5098
  "list",
5103
- 0
5099
+ 1
5104
5100
  ],
5105
5101
  [
5106
5102
  "unknown",
@@ -20791,20 +20787,12 @@
20791
20787
  "list",
20792
20788
  0
20793
20789
  ],
20794
- [
20795
- "unknown",
20796
- 0
20797
- ],
20798
20790
  [
20799
20791
  "unknown",
20800
20792
  1
20801
20793
  ]
20802
20794
  ],
20803
20795
  [
20804
- [
20805
- "comma",
20806
- 0
20807
- ],
20808
20796
  [
20809
20797
  "is",
20810
20798
  0
@@ -20825,7 +20813,7 @@
20825
20813
  ],
20826
20814
  [
20827
20815
  "list",
20828
- 0
20816
+ 1
20829
20817
  ],
20830
20818
  [
20831
20819
  "unknown",
@@ -48816,32 +48804,6 @@
48816
48804
  1
48817
48805
  ]
48818
48806
  ],
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
48807
  [
48846
48808
  [
48847
48809
  "comma",
@@ -58031,32 +57993,6 @@
58031
57993
  1
58032
57994
  ]
58033
57995
  ],
58034
- [
58035
- [
58036
- "comma",
58037
- 0
58038
- ],
58039
- [
58040
- "drink",
58041
- 0
58042
- ],
58043
- [
58044
- "is",
58045
- 0
58046
- ],
58047
- [
58048
- "list",
58049
- 0
58050
- ],
58051
- [
58052
- "unknown",
58053
- 0
58054
- ],
58055
- [
58056
- "unknown",
58057
- 1
58058
- ]
58059
- ],
58060
57996
  [
58061
57997
  [
58062
57998
  "comma",
@@ -58119,28 +58055,6 @@
58119
58055
  1
58120
58056
  ]
58121
58057
  ],
58122
- [
58123
- [
58124
- "comma",
58125
- 0
58126
- ],
58127
- [
58128
- "is",
58129
- 0
58130
- ],
58131
- [
58132
- "list",
58133
- 0
58134
- ],
58135
- [
58136
- "unknown",
58137
- 0
58138
- ],
58139
- [
58140
- "unknown",
58141
- 1
58142
- ]
58143
- ],
58144
58058
  [
58145
58059
  [
58146
58060
  "comma",
@@ -58696,10 +58610,6 @@
58696
58610
  "list",
58697
58611
  0
58698
58612
  ],
58699
- [
58700
- "unknown",
58701
- 0
58702
- ],
58703
58613
  [
58704
58614
  "unknown",
58705
58615
  1
@@ -58740,10 +58650,16 @@
58740
58650
  ],
58741
58651
  [
58742
58652
  "list",
58653
+ 1
58654
+ ]
58655
+ ],
58656
+ [
58657
+ [
58658
+ "is",
58743
58659
  0
58744
58660
  ],
58745
58661
  [
58746
- "unknown",
58662
+ "list",
58747
58663
  1
58748
58664
  ]
58749
58665
  ],
@@ -58785,6 +58701,10 @@
58785
58701
  [
58786
58702
  "list",
58787
58703
  1
58704
+ ],
58705
+ [
58706
+ "unknown",
58707
+ 1
58788
58708
  ]
58789
58709
  ],
58790
58710
  [
@@ -58795,6 +58715,10 @@
58795
58715
  [
58796
58716
  "list",
58797
58717
  1
58718
+ ],
58719
+ [
58720
+ "unknown",
58721
+ 1
58798
58722
  ]
58799
58723
  ],
58800
58724
  [
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(), hierarchy())
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",
@@ -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,7 +46,7 @@ const createConfig = () => {
46
46
  ]
47
47
  }, module)
48
48
  config.stop_auto_rebuild()
49
- config.add(hierarchy())
49
+ await config.add(hierarchy)
50
50
  config.initializer( ({config, apis}) => {
51
51
  const api = apis('properties')
52
52
  api.createActionPrefix({
@@ -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
@@ -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.api = new API()
123
- config.add(dialogues())
122
+ await config.setApi(new API())
123
+ await config.add(dialogues)
124
124
  return config
125
125
  }
126
126