@jtff/miztemplate-lib 3.4.2 → 3.4.4
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/src/130-airboss.lua +30 -27
- package/package.json +1 -1
package/lua/src/130-airboss.lua
CHANGED
|
@@ -388,7 +388,7 @@ function cleanDeckLayout(objAirboss)
|
|
|
388
388
|
spawnDeckLayout_Zone(objAirboss, "Finger", fingerLayout)
|
|
389
389
|
local junkyardLayout = {
|
|
390
390
|
{
|
|
391
|
-
["livery_id"] = "VF-
|
|
391
|
+
["livery_id"] = "VF-41 AJ100 1990 by Reflected",
|
|
392
392
|
["category"] = "Planes",
|
|
393
393
|
["offsets"] =
|
|
394
394
|
{
|
|
@@ -625,7 +625,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
625
625
|
spawnDeckLayout_Zone(objAirboss, "Point", pointLayout)
|
|
626
626
|
local cat1Layout = {
|
|
627
627
|
{
|
|
628
|
-
["livery_id"] = "
|
|
628
|
+
["livery_id"] = "VFA-143 Line Alternate",
|
|
629
629
|
["category"] = "Planes",
|
|
630
630
|
["offsets"] =
|
|
631
631
|
{
|
|
@@ -636,7 +636,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
636
636
|
["type"] = "FA-18C_hornet",
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
|
-
["livery_id"] = "
|
|
639
|
+
["livery_id"] = "VFA-143 Line Alternate",
|
|
640
640
|
["category"] = "Planes",
|
|
641
641
|
["offsets"] =
|
|
642
642
|
{
|
|
@@ -647,7 +647,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
647
647
|
["type"] = "FA-18C_hornet",
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
|
-
["livery_id"] = "
|
|
650
|
+
["livery_id"] = "VFA-143 Line Alternate",
|
|
651
651
|
["category"] = "Planes",
|
|
652
652
|
["offsets"] =
|
|
653
653
|
{
|
|
@@ -658,7 +658,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
658
658
|
["type"] = "FA-18C_hornet",
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
["livery_id"] = "
|
|
661
|
+
["livery_id"] = "VFA-143 Line Alternate",
|
|
662
662
|
["category"] = "Planes",
|
|
663
663
|
["offsets"] =
|
|
664
664
|
{
|
|
@@ -669,7 +669,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
669
669
|
["type"] = "FA-18C_hornet",
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
["livery_id"] = "
|
|
672
|
+
["livery_id"] = "VFA-143 Line Alternate",
|
|
673
673
|
["category"] = "Planes",
|
|
674
674
|
["offsets"] =
|
|
675
675
|
{
|
|
@@ -694,7 +694,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
694
694
|
spawnDeckLayout_Zone(objAirboss, "Cat1", cat1Layout)
|
|
695
695
|
local patioLayout = {
|
|
696
696
|
{
|
|
697
|
-
["livery_id"] = "VF-
|
|
697
|
+
["livery_id"] = "VF-41 AJ102 1981 by Reflected",
|
|
698
698
|
["category"] = "Planes",
|
|
699
699
|
["offsets"] =
|
|
700
700
|
{
|
|
@@ -705,7 +705,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
705
705
|
["type"] = "F-14B",
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
|
-
["livery_id"] = "VF-
|
|
708
|
+
["livery_id"] = "VF-41 AJ105 1989 by Reflected",
|
|
709
709
|
["category"] = "Planes",
|
|
710
710
|
["offsets"] =
|
|
711
711
|
{
|
|
@@ -716,7 +716,7 @@ function flexDeck7SpawnLayout(objAirboss)
|
|
|
716
716
|
["type"] = "F-14B",
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
["livery_id"] = "VF-
|
|
719
|
+
["livery_id"] = "VF-41 AJ107 1981 by Reflected",
|
|
720
720
|
["category"] = "Planes",
|
|
721
721
|
["offsets"] =
|
|
722
722
|
{
|
|
@@ -837,7 +837,7 @@ function launchDeck7SpawnLayout(objAirboss)
|
|
|
837
837
|
flexDeck7SpawnLayout(objAirboss)
|
|
838
838
|
local sternLayout = {
|
|
839
839
|
{
|
|
840
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
840
|
+
["livery_id"] = "VF-31 Tomcatters AJ100",
|
|
841
841
|
["category"] = "Planes",
|
|
842
842
|
["offsets"] =
|
|
843
843
|
{
|
|
@@ -848,7 +848,7 @@ function launchDeck7SpawnLayout(objAirboss)
|
|
|
848
848
|
["type"] = "F-14B",
|
|
849
849
|
},
|
|
850
850
|
{
|
|
851
|
-
["livery_id"] = "
|
|
851
|
+
["livery_id"] = "jtff_vf-84_91_205",
|
|
852
852
|
["category"] = "Planes",
|
|
853
853
|
["offsets"] =
|
|
854
854
|
{
|
|
@@ -859,7 +859,7 @@ function launchDeck7SpawnLayout(objAirboss)
|
|
|
859
859
|
["type"] = "F-14B",
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
862
|
+
["livery_id"] = "VF-31 Tomcatters AJ110",
|
|
863
863
|
["category"] = "Planes",
|
|
864
864
|
["offsets"] =
|
|
865
865
|
{
|
|
@@ -870,7 +870,7 @@ function launchDeck7SpawnLayout(objAirboss)
|
|
|
870
870
|
["type"] = "F-14B",
|
|
871
871
|
},
|
|
872
872
|
{
|
|
873
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
873
|
+
["livery_id"] = "VF-31 Tomcatters AJ101",
|
|
874
874
|
["category"] = "Planes",
|
|
875
875
|
["offsets"] =
|
|
876
876
|
{
|
|
@@ -881,7 +881,7 @@ function launchDeck7SpawnLayout(objAirboss)
|
|
|
881
881
|
["type"] = "F-14B",
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
884
|
+
["livery_id"] = "VF-31 Tomcatters AJ106",
|
|
885
885
|
["category"] = "Planes",
|
|
886
886
|
["offsets"] =
|
|
887
887
|
{
|
|
@@ -910,7 +910,7 @@ function launchDeck1SpawnLayout(objAirboss)
|
|
|
910
910
|
flexDeck3SpawnLayout(objAirboss)
|
|
911
911
|
local elev3Layout = {
|
|
912
912
|
{
|
|
913
|
-
["livery_id"] = "
|
|
913
|
+
["livery_id"] = "jtff_vf-84_91_206",
|
|
914
914
|
["category"] = "Planes",
|
|
915
915
|
["offsets"] =
|
|
916
916
|
{
|
|
@@ -921,7 +921,7 @@ function launchDeck1SpawnLayout(objAirboss)
|
|
|
921
921
|
["type"] = "F-14B",
|
|
922
922
|
},
|
|
923
923
|
{
|
|
924
|
-
["livery_id"] = "
|
|
924
|
+
["livery_id"] = "JTFF_VF-84_commemorative_92_207",
|
|
925
925
|
["category"] = "Planes",
|
|
926
926
|
["offsets"] =
|
|
927
927
|
{
|
|
@@ -999,7 +999,7 @@ function launchDeck1SpawnLayout(objAirboss)
|
|
|
999
999
|
spawnDeckLayout_Zone(objAirboss, "Elev3", elev3Layout)
|
|
1000
1000
|
local sternLayout = {
|
|
1001
1001
|
{
|
|
1002
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
1002
|
+
["livery_id"] = "VF-31 Tomcatters AJ111",
|
|
1003
1003
|
["category"] = "Planes",
|
|
1004
1004
|
["offsets"] =
|
|
1005
1005
|
{
|
|
@@ -1021,7 +1021,7 @@ function launchDeck1SpawnLayout(objAirboss)
|
|
|
1021
1021
|
["type"] = "F-14B",
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
|
-
["livery_id"] = "VF-31 Tomcatters
|
|
1024
|
+
["livery_id"] = "VF-31 Tomcatters AJ105",
|
|
1025
1025
|
["category"] = "Planes",
|
|
1026
1026
|
["offsets"] =
|
|
1027
1027
|
{
|
|
@@ -1054,7 +1054,7 @@ function launchDeck1SpawnLayout(objAirboss)
|
|
|
1054
1054
|
["type"] = "F-14B",
|
|
1055
1055
|
},
|
|
1056
1056
|
{
|
|
1057
|
-
["livery_id"] = "jtff_vf-
|
|
1057
|
+
["livery_id"] = "jtff_vf-84_91_204",
|
|
1058
1058
|
["category"] = "Planes",
|
|
1059
1059
|
["offsets"] =
|
|
1060
1060
|
{
|
|
@@ -1118,10 +1118,10 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1118
1118
|
}
|
|
1119
1119
|
)
|
|
1120
1120
|
if (
|
|
1121
|
-
(objAirboss.
|
|
1122
|
-
(objAirboss.
|
|
1123
|
-
(objAirboss.
|
|
1124
|
-
(objAirboss.
|
|
1121
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.ROOSEVELT) or
|
|
1122
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.LINCOLN) or
|
|
1123
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.WASHINGTON) or
|
|
1124
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.TRUMAN)
|
|
1125
1125
|
) then
|
|
1126
1126
|
objAirboss.deckLayoutmenuObject = MENU_COALITION:New(
|
|
1127
1127
|
airbossconfig.coalition,
|
|
@@ -1312,12 +1312,15 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1312
1312
|
end
|
|
1313
1313
|
objAirboss.customconfig = airbossconfig
|
|
1314
1314
|
if (
|
|
1315
|
-
(objAirboss.
|
|
1316
|
-
(objAirboss.
|
|
1317
|
-
(objAirboss.
|
|
1318
|
-
(objAirboss.
|
|
1315
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.LINCOLN) or
|
|
1316
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.ROOSEVELT) or
|
|
1317
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.TRUMAN) or
|
|
1318
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.WASHINGTON)
|
|
1319
1319
|
) then
|
|
1320
|
+
jtff_log.info(string.format("CSG : %s is Supercarrier apply Deck Layout...", objAirboss.customconfig.alias),"AIRBOSS")
|
|
1320
1321
|
flexDeck7SpawnLayout(objAirboss)
|
|
1322
|
+
else
|
|
1323
|
+
jtff_log.info(string.format("CSG : %s is not Supercarrier (%s) skipping Deck Layout...", objAirboss.customconfig.alias, objAirboss.CarrierType),"AIRBOSS")
|
|
1321
1324
|
end
|
|
1322
1325
|
function objAirboss:OnAfterLSOGrade(From, Event, To, playerData, myGrade)
|
|
1323
1326
|
|