@jtff/miztemplate-lib 3.7.1 → 3.7.3

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.
@@ -99,7 +99,13 @@ for index, tankerconfig in ipairs(TankersConfig) do
99
99
  if not(GROUP:FindByName(self.escortGroupObject.GroupName)) then
100
100
  jtff_log.info('Respawning escort Group '..self.escortGroupObject.GroupName,"TANKER")
101
101
  self.escortGroupObject = self.escortSpawnObject
102
- :SpawnAtAirbase(AIRBASE:FindByName(self.customconfig.baseUnit),SPAWN.Takeoff.Cold, self.customconfig.altitude)
102
+ :SpawnAtAirbase(
103
+ AIRBASE:FindByName(self.customconfig.baseUnit),
104
+ SPAWN.Takeoff.Cold,
105
+ self.customconfig.altitude,
106
+ nil,
107
+ true
108
+ )
103
109
  end
104
110
  end
105
111
  end
@@ -286,7 +292,8 @@ function triggerOnDemandTanker(type, askedDuration, askedFL, askedSpeed, askedAn
286
292
  AIRBASE:FindByName(OnDemandTanker.baseUnit),
287
293
  SPAWN.Takeoff.Hot,
288
294
  nil,
289
- OnDemandTanker.terminalType
295
+ OnDemandTanker.terminalType,
296
+ true
290
297
  )
291
298
  table.insert(TankerRoute,
292
299
  AIRBASE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.7.1",
3
+ "version": "3.7.3",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://gitlab.dt-klanik.com/open-source/jtff/miztemplate-lib.git"
19
+ "url": "https://gitlab.com/klanik-dsir/open-source/jtff/miztemplate-lib.git"
20
20
  },
21
21
  "keywords": [
22
22
  "DCS",
@@ -27,9 +27,9 @@
27
27
  "author": "Sebastien LONGO",
28
28
  "license": "GPL-3.0-or-later",
29
29
  "bugs": {
30
- "url": "https://gitlab.dt-klanik.com/open-source/jtff/miztemplate-lib/-/issues"
30
+ "url": "https://gitlab.com/klanik-dsir/open-source/jtff/miztemplate-lib/-/issues"
31
31
  },
32
- "homepage": "https://gitlab.dt-klanik.com/open-source/jtff/miztemplate-lib",
32
+ "homepage": "https://gitlab.com/klanik-dsir/open-source/jtff/miztemplate-lib",
33
33
  "dependencies": {
34
34
  "ftp": "^0.3.10",
35
35
  "get-installed-path": "^4.0.8",
@@ -171,8 +171,8 @@ async function doInject(ciObject, sourceMizFileName, workspacePath,destinationMi
171
171
  // insertion des librairies externes dans la file d'attente
172
172
  libsArray.push({
173
173
  folder: 'lib',
174
- scriptTitle: 'SplashDamage 3.0',
175
- scripts: ['Splash_Damage_3.0.lua'],
174
+ scriptTitle: 'SplashDamage',
175
+ scripts: ['Splash_Damage_main.lua'],
176
176
  timing: 9,
177
177
  color: '0x008000ff'
178
178
  });
@@ -219,13 +219,6 @@ async function doInject(ciObject, sourceMizFileName, workspacePath,destinationMi
219
219
  file: "settings-global.lua",
220
220
  },
221
221
  );
222
- libsArray.push({
223
- folder: 'lib',
224
- scriptTitle: 'FunkMan',
225
- scripts: ['funkman.lua'],
226
- timing: 15,
227
- color: '0xffff00ff'
228
- });
229
222
  libsArray.push({
230
223
  folder: 'src',
231
224
  scriptTitle: 'JTFF Libraries',
@@ -233,6 +226,13 @@ async function doInject(ciObject, sourceMizFileName, workspacePath,destinationMi
233
226
  timing: 15,
234
227
  color: '0xffff00ff'
235
228
  });
229
+ libsArray.push({
230
+ folder: 'lib',
231
+ scriptTitle: 'FunkMan',
232
+ scripts: ['funkman.lua'],
233
+ timing: 16,
234
+ color: '0xffff00ff'
235
+ });
236
236
  // traitement de la file d'attente des librairies (injection des triggers et des fichiers lua)
237
237
  for ( libscript of libsArray) {
238
238
  console.log(['adding library',libscript.scripts.join(' and '),'from',workspacePath + '/.workspace/' + libscript.folder, 'folder...'].join(' '));