tpmkms_4wp 7.12.3 → 7.12.4

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
 
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
 
@@ -853,8 +853,9 @@ let configStruct = {
853
853
 
854
854
  const createConfig = () => {
855
855
  const config = new Config(configStruct, module)
856
+ config.stop_auto_rebuild()
856
857
  config.api = api
857
- config.add(gdefaults()).add(sdefaults()).add(pos()).add(stm()).add(meta()).add(punctuation())
858
+ config.add(gdefaults(), sdefaults(), pos(), stm(), meta(), punctuation())
858
859
  config.initializer( ({objects, config, isModule}) => {
859
860
  /* TODO add this beck in. some stuff from config needs to be here
860
861
  config.addArgs((args) => ({
@@ -888,6 +889,7 @@ const createConfig = () => {
888
889
  config.addWord("doesable", { id: "doesAble", "initial": "{}" })
889
890
  }
890
891
  })
892
+ config.restart_auto_rebuild()
891
893
  return config
892
894
  }
893
895
 
@@ -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
  }