tpmkms_4wp 7.12.3 → 7.12.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
package/common/avatar.js CHANGED
@@ -68,8 +68,7 @@ let configStruct = {
68
68
 
69
69
  const createConfig = () => {
70
70
  const config = new Config(configStruct, module)
71
- config.add(hierarchy())
72
- config.add(emotions())
71
+ config.add(hierarchy(), emotions())
73
72
  return config
74
73
  }
75
74
 
@@ -62,7 +62,7 @@ let configStruct = {
62
62
 
63
63
  const createConfig = () => {
64
64
  const config = new Config(configStruct, module)
65
- config.add(dialogues()).add(numbers())
65
+ config.add(dialogues(), numbers())
66
66
  return config
67
67
  }
68
68
 
package/common/concept.js CHANGED
@@ -132,8 +132,10 @@ const createConfig = () => {
132
132
  },
133
133
  ],
134
134
  }, module)
135
+ config.stop_auto_rebuild()
135
136
  config.api = new API()
136
137
  config.add(dialogues())
138
+ config.restart_auto_rebuild()
137
139
  return config
138
140
  }
139
141
 
@@ -77,7 +77,7 @@ let configStruct = {
77
77
 
78
78
  const createConfig = () => {
79
79
  const config = new Config(configStruct, module)
80
- config.add(dialogues()).add(numbers())
80
+ config.add(dialogues(), numbers())
81
81
  return config
82
82
  }
83
83
 
@@ -32759,6 +32759,40 @@
32759
32759
  1
32760
32760
  ]
32761
32761
  ],
32762
+ [
32763
+ [
32764
+ "disarm",
32765
+ 0
32766
+ ],
32767
+ [
32768
+ "is",
32769
+ 0
32770
+ ],
32771
+ [
32772
+ "means",
32773
+ 0
32774
+ ],
32775
+ [
32776
+ "not",
32777
+ 0
32778
+ ],
32779
+ [
32780
+ "propertyOf",
32781
+ 0
32782
+ ],
32783
+ [
32784
+ "the",
32785
+ 0
32786
+ ],
32787
+ [
32788
+ "unknown",
32789
+ 0
32790
+ ],
32791
+ [
32792
+ "unknown",
32793
+ 1
32794
+ ]
32795
+ ],
32762
32796
  [
32763
32797
  [
32764
32798
  "disarm",
@@ -33416,6 +33450,40 @@
33416
33450
  1
33417
33451
  ]
33418
33452
  ],
33453
+ [
33454
+ [
33455
+ "disarm",
33456
+ 0
33457
+ ],
33458
+ [
33459
+ "is",
33460
+ 0
33461
+ ],
33462
+ [
33463
+ "means",
33464
+ 0
33465
+ ],
33466
+ [
33467
+ "not",
33468
+ 0
33469
+ ],
33470
+ [
33471
+ "propertyOf",
33472
+ 0
33473
+ ],
33474
+ [
33475
+ "the",
33476
+ 0
33477
+ ],
33478
+ [
33479
+ "unknown",
33480
+ 0
33481
+ ],
33482
+ [
33483
+ "unknown",
33484
+ 1
33485
+ ]
33486
+ ],
33419
33487
  [
33420
33488
  [
33421
33489
  "disarm",
package/common/crew.js CHANGED
@@ -37,8 +37,8 @@ const template = {
37
37
 
38
38
  const createConfig = () => {
39
39
  const config = new Config({ name: 'crew', }, module)
40
- config.add(avatar())
41
- config.add(animals())
40
+ config.stop_auto_rebuild()
41
+ config.add(avatar(), animals())
42
42
  crew_instance.base = 'avatar'
43
43
  config.initializer( ({config, apis}) => {
44
44
  const api = apis('properties')
@@ -73,6 +73,7 @@ const createConfig = () => {
73
73
  after: [{tag: 'weapon', id: 'weapon'}],
74
74
  config })
75
75
  })
76
+ config.restart_auto_rebuild()
76
77
  return config
77
78
  }
78
79
 
@@ -94,6 +94,7 @@ let configStruct = {
94
94
 
95
95
  const createConfig = () => {
96
96
  const config = new Config(configStruct, module)
97
+ config.stop_auto_rebuild()
97
98
  config.add(numbersKM())
98
99
  config.api = api
99
100
  config.initializer( ({config, objects, apis, addWord, addGenerator, baseConfig, uuid}) => {
@@ -129,6 +130,7 @@ const createConfig = () => {
129
130
  })
130
131
  }
131
132
  })
133
+ config.restart_auto_rebuild()
132
134
  return config
133
135
  }
134
136
 
@@ -131,6 +131,7 @@ let configStruct = {
131
131
  where: where(),
132
132
  id: "to",
133
133
  level: 0,
134
+ isA: ['preposition'],
134
135
  bridge: "{ ...next(operator), toObject: after[0] }",
135
136
  generatorp: ({context, gp}) => {
136
137
  return `to ${gp(context.toObject)}`
@@ -853,8 +854,9 @@ let configStruct = {
853
854
 
854
855
  const createConfig = () => {
855
856
  const config = new Config(configStruct, module)
857
+ config.stop_auto_rebuild()
856
858
  config.api = api
857
- config.add(gdefaults()).add(sdefaults()).add(pos()).add(stm()).add(meta()).add(punctuation())
859
+ config.add(gdefaults(), sdefaults(), pos(), stm(), meta(), punctuation())
858
860
  config.initializer( ({objects, config, isModule}) => {
859
861
  /* TODO add this beck in. some stuff from config needs to be here
860
862
  config.addArgs((args) => ({
@@ -888,6 +890,7 @@ const createConfig = () => {
888
890
  config.addWord("doesable", { id: "doesAble", "initial": "{}" })
889
891
  }
890
892
  })
893
+ config.restart_auto_rebuild()
891
894
  return config
892
895
  }
893
896
 
@@ -168,8 +168,10 @@ let configStruct = {
168
168
 
169
169
  const createConfig = () => {
170
170
  const config = new Config(configStruct, module)
171
- config.add(base()).add(formulas()).add(testing())
171
+ config.stop_auto_rebuild()
172
+ config.add(base(), formulas(), testing())
172
173
  config.api = api
174
+ config.restart_auto_rebuild()
173
175
  return config
174
176
  }
175
177
 
package/common/edible.js CHANGED
@@ -76,8 +76,7 @@ const template ={
76
76
 
77
77
  const createConfig = () => {
78
78
  const config = new Config({ name: 'edible' }, module)
79
- config.add(countable())
80
- config.add(hierarchy())
79
+ config.add(countable(), hierarchy())
81
80
  return config
82
81
  }
83
82
 
@@ -45,6 +45,7 @@ const createConfig = () => {
45
45
  ['sentientBeing', 'unknown'],
46
46
  ]
47
47
  }, module)
48
+ config.stop_auto_rebuild()
48
49
  config.add(hierarchy())
49
50
  config.initializer( ({config, apis}) => {
50
51
  const api = apis('properties')
@@ -56,6 +57,7 @@ const createConfig = () => {
56
57
  doAble: true,
57
58
  config })
58
59
  })
60
+ config.restart_auto_rebuild()
59
61
  //config.load(template, emotions_instance)
60
62
  return config
61
63
  }