@jtff/miztemplate-lib 3.9.0 → 3.9.1

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.
Files changed (2) hide show
  1. package/lua/lib/Moose_.lua +23 -17
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- env.info('*** MOOSE GITHUB Commit Hash ID: 2025-09-11T05:13:50+02:00-cda1432d048f5a8946e42833f7f560db16f57248 ***')
1
+ env.info('*** MOOSE GITHUB Commit Hash ID: 2025-09-24T19:16:14+02:00-b5524b9a69fec49c33cd0e623bf6874ef56fd370 ***')
2
2
  if not MOOSE_DEVELOPMENT_FOLDER then
3
3
  MOOSE_DEVELOPMENT_FOLDER='Scripts'
4
4
  end
@@ -7726,10 +7726,12 @@ if Event.id==EVENTS.LandingAfterEjection then
7726
7726
  else
7727
7727
  if Event.place:isExist()and Object.getCategory(Event.place)~=Object.Category.SCENERY then
7728
7728
  Event.Place=AIRBASE:Find(Event.place)
7729
+ if Event.Place then
7729
7730
  Event.PlaceName=Event.Place:GetName()
7730
7731
  end
7731
7732
  end
7732
7733
  end
7734
+ end
7733
7735
  if Event.idx then
7734
7736
  Event.MarkID=Event.idx
7735
7737
  Event.MarkVec3=Event.pos
@@ -9553,10 +9555,9 @@ radius=ZoneRadius,
9553
9555
  }
9554
9556
  }
9555
9557
  local function EvaluateZone(ZoneObject)
9556
- if ZoneObject then
9558
+ if ZoneObject and self:IsVec3InZone(ZoneObject:getPoint())then
9557
9559
  local ObjectCategory=Object.getCategory(ZoneObject)
9558
9560
  if(ObjectCategory==Object.Category.UNIT and ZoneObject:isExist()and ZoneObject:isActive())or(ObjectCategory==Object.Category.STATIC and ZoneObject:isExist())then
9559
- local CoalitionDCSUnit=ZoneObject:getCoalition()
9560
9561
  local Include=false
9561
9562
  if not UnitCategories then
9562
9563
  Include=true
@@ -10607,10 +10608,9 @@ radius=ZoneRadius,
10607
10608
  }
10608
10609
  }
10609
10610
  local function EvaluateZone(ZoneObject)
10610
- if ZoneObject then
10611
+ if ZoneObject and self:IsVec3InZone(ZoneObject:getPoint())then
10611
10612
  local ObjectCategory=Object.getCategory(ZoneObject)
10612
10613
  if(ObjectCategory==Object.Category.UNIT and ZoneObject:isExist()and ZoneObject:isActive())or(ObjectCategory==Object.Category.STATIC and ZoneObject:isExist())then
10613
- local CoalitionDCSUnit=ZoneObject:getCoalition()
10614
10614
  local Include=false
10615
10615
  if not UnitCategories then
10616
10616
  Include=true
@@ -10629,7 +10629,7 @@ self.ScanData.Coalitions[CoalitionDCSUnit]=true
10629
10629
  self.ScanData.Units[ZoneObject]=ZoneObject
10630
10630
  end
10631
10631
  end
10632
- if ObjectCategory==Object.Category.SCENERY and self:IsVec3InZone(ZoneObject:getPoint())then
10632
+ if ObjectCategory==Object.Category.SCENERY then
10633
10633
  local SceneryType=ZoneObject:getTypeName()
10634
10634
  local SceneryName=ZoneObject:getName()
10635
10635
  self.ScanData.Scenery[SceneryType]=self.ScanData.Scenery[SceneryType]or{}
@@ -30291,19 +30291,25 @@ AIRBASE.Afghanistan={
30291
30291
  ["Urgoon_Heliport"]="Urgoon Heliport",
30292
30292
  }
30293
30293
  AIRBASE.Iraq={
30294
- ["Baghdad_International_Airport"]="Baghdad International Airport",
30295
- ["Sulaimaniyah_International_Airport"]="Sulaimaniyah International Airport",
30296
- ["Al_Sahra_Airport"]="Al-Sahra Airport",
30297
- ["Erbil_International_Airport"]="Erbil International Airport",
30298
- ["Al_Taji_Airport"]="Al-Taji Airport",
30299
30294
  ["Al_Asad_Airbase"]="Al-Asad Airbase",
30295
+ ["Al_Kut_Airport"]="Al-Kut Airport",
30296
+ ["Al_Sahra_Airport"]="Al-Sahra Airport",
30300
30297
  ["Al_Salam_Airbase"]="Al-Salam Airbase",
30298
+ ["Al_Taji_Airport"]="Al-Taji Airport",
30299
+ ["Al_Taquddum_Airport"]="Al-Taquddum Airport",
30300
+ ["Baghdad_International_Airport"]="Baghdad International Airport",
30301
30301
  ["Balad_Airbase"]="Balad Airbase",
30302
- ["Kirkuk_International_Airport"]="Kirkuk International Airport",
30303
30302
  ["Bashur_Airport"]="Bashur Airport",
30304
- ["Al_Taquddum_Airport"]="Al-Taquddum Airport",
30305
- ["Qayyarah_Airfield_West"]="Qayyarah Airfield West",
30303
+ ["Erbil_International_Airport"]="Erbil International Airport",
30304
+ ["H2_Airbase"]="H-2 Airbase",
30305
+ ["H3_Main_Airbase"]="H-3 Main Airbase",
30306
+ ["H3_Northwest_Airbase"]="H-3 Northwest Airbase",
30307
+ ["H3_Southwest_Airbase"]="H-3 Southwest Airbase",
30306
30308
  ["K1_Base"]="K1 Base",
30309
+ ["Kirkuk_International_Airport"]="Kirkuk International Airport",
30310
+ ["Mosul_International_Airport"]="Mosul International Airport",
30311
+ ["Qayyarah_Airfield_West"]="Qayyarah Airfield West",
30312
+ ["Sulaimaniyah_International_Airport"]="Sulaimaniyah International Airport",
30307
30313
  }
30308
30314
  AIRBASE.GermanyCW={
30309
30315
  ["Airracing_Frankfurt"]="Airracing Frankfurt",
@@ -32985,7 +32991,7 @@ self:SetLiquid(lqno,lqam)
32985
32991
  end
32986
32992
  end
32987
32993
  else
32988
- self:E("File for Liquids could not be found: "..tostring(Path).."\\"..tostring(Filename"_Liquids.csv"))
32994
+ self:E("File for Liquids could not be found: "..tostring(Path).."\\"..tostring(Filename).."_Liquids.csv")
32989
32995
  end
32990
32996
  end
32991
32997
  if self:IsLimitedAircraft()then
@@ -33003,7 +33009,7 @@ self:SetAmount(acname,acnumber)
33003
33009
  end
33004
33010
  end
33005
33011
  else
33006
- self:E("File for Aircraft could not be found: "..tostring(Path).."\\"..tostring(Filename"_Aircraft.csv"))
33012
+ self:E("File for Aircraft could not be found: "..tostring(Path).."\\"..tostring(Filename).."_Aircraft.csv")
33007
33013
  end
33008
33014
  end
33009
33015
  if self:IsLimitedWeapons()then
@@ -33032,7 +33038,7 @@ end
33032
33038
  end
33033
33039
  end
33034
33040
  else
33035
- self:E("File for Weapons could not be found: "..tostring(Path).."\\"..tostring(Filename"_Weapons.csv"))
33041
+ self:E("File for Weapons could not be found: "..tostring(Path).."\\"..tostring(Filename).."_Weapons.csv")
33036
33042
  end
33037
33043
  end
33038
33044
  return self
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [