@jtff/miztemplate-lib 3.7.1 → 3.7.2
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.
package/lua/lib/Moose_.lua
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
env.info('*** MOOSE GITHUB Commit Hash ID: 2025-03-
|
|
1
|
+
env.info('*** MOOSE GITHUB Commit Hash ID: 2025-03-23T14:11:21+01:00-4955fe4d9260ad3fba0e0688a0be4f562f872614 ***')
|
|
2
2
|
if not MOOSE_DEVELOPMENT_FOLDER then
|
|
3
3
|
MOOSE_DEVELOPMENT_FOLDER='Scripts'
|
|
4
4
|
end
|
|
@@ -19787,13 +19787,14 @@ SpawnPoint.helipadId=nil
|
|
|
19787
19787
|
SpawnPoint.airdromeId=nil
|
|
19788
19788
|
local AirbaseID=SpawnAirbase:GetID()
|
|
19789
19789
|
local AirbaseCategory=SpawnAirbase:GetAirbaseCategory()
|
|
19790
|
-
SpawnPoint.airdromeId=AirbaseID
|
|
19791
19790
|
if AirbaseCategory==Airbase.Category.SHIP then
|
|
19792
19791
|
SpawnPoint.linkUnit=AirbaseID
|
|
19793
19792
|
SpawnPoint.helipadId=AirbaseID
|
|
19794
19793
|
elseif AirbaseCategory==Airbase.Category.HELIPAD then
|
|
19795
19794
|
SpawnPoint.linkUnit=AirbaseID
|
|
19796
19795
|
SpawnPoint.helipadId=AirbaseID
|
|
19796
|
+
else
|
|
19797
|
+
SpawnPoint.airdromeId=AirbaseID
|
|
19797
19798
|
end
|
|
19798
19799
|
SpawnPoint.alt=0
|
|
19799
19800
|
SpawnPoint.type=GROUPTEMPLATE.Takeoff[Takeoff][1]
|
package/lua/src/120-tankers.lua
CHANGED
|
@@ -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(
|
|
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
|
@@ -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(' '));
|