@jtff/miztemplate-lib 3.4.0 → 3.4.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.
- package/lua/src/130-airboss.lua +54 -42
- package/package.json +1 -1
package/lua/src/130-airboss.lua
CHANGED
|
@@ -1117,46 +1117,53 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1117
1117
|
airbossconfig.carriername
|
|
1118
1118
|
}
|
|
1119
1119
|
)
|
|
1120
|
-
objAirboss.
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
objAirboss.
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1120
|
+
if ( objAirboss.Carrier == AIRBOSS.CarrierType.LINCOLN or
|
|
1121
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.ROOSEVELT or
|
|
1122
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.TRUMAN or
|
|
1123
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.WASHINGTON or
|
|
1124
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.LINCOLN
|
|
1125
|
+
) then
|
|
1126
|
+
objAirboss.deckLayoutmenuObject = MENU_COALITION:New(
|
|
1127
|
+
airbossconfig.coalition,
|
|
1128
|
+
"Deck Layout",
|
|
1129
|
+
objAirboss.menuObject
|
|
1130
|
+
)
|
|
1131
|
+
MENU_COALITION_COMMAND:New(
|
|
1132
|
+
airbossconfig.coalition,
|
|
1133
|
+
"DeckLayout : Clean Layout",
|
|
1134
|
+
objAirboss.deckLayoutmenuObject,
|
|
1135
|
+
cleanDeckLayout,
|
|
1136
|
+
objAirboss
|
|
1137
|
+
)
|
|
1138
|
+
MENU_COALITION_COMMAND:New(
|
|
1139
|
+
airbossconfig.coalition,
|
|
1140
|
+
"DeckLayout : Flex 3 Spawns",
|
|
1141
|
+
objAirboss.deckLayoutmenuObject,
|
|
1142
|
+
flexDeck3SpawnLayout,
|
|
1143
|
+
objAirboss
|
|
1144
|
+
)
|
|
1145
|
+
MENU_COALITION_COMMAND:New(
|
|
1146
|
+
airbossconfig.coalition,
|
|
1147
|
+
"DeckLayout : Flex 7 Spawns",
|
|
1148
|
+
objAirboss.deckLayoutmenuObject,
|
|
1149
|
+
flexDeck7SpawnLayout,
|
|
1150
|
+
objAirboss
|
|
1151
|
+
)
|
|
1152
|
+
MENU_COALITION_COMMAND:New(
|
|
1153
|
+
airbossconfig.coalition,
|
|
1154
|
+
"DeckLayout : Launch 7 Spawns",
|
|
1155
|
+
objAirboss.deckLayoutmenuObject,
|
|
1156
|
+
launchDeck7SpawnLayout,
|
|
1157
|
+
objAirboss
|
|
1158
|
+
)
|
|
1159
|
+
MENU_COALITION_COMMAND:New(
|
|
1160
|
+
airbossconfig.coalition,
|
|
1161
|
+
"DeckLayout : Launch 1 Spawn",
|
|
1162
|
+
objAirboss.deckLayoutmenuObject,
|
|
1163
|
+
launchDeck1SpawnLayout,
|
|
1164
|
+
objAirboss
|
|
1165
|
+
)
|
|
1166
|
+
end
|
|
1160
1167
|
if (airbossconfig.recoveryops.mode == 'ondemand') then
|
|
1161
1168
|
MENU_COALITION_COMMAND:New(
|
|
1162
1169
|
airbossconfig.coalition,
|
|
@@ -1304,8 +1311,13 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1304
1311
|
)
|
|
1305
1312
|
end
|
|
1306
1313
|
objAirboss.customconfig = airbossconfig
|
|
1307
|
-
|
|
1308
|
-
|
|
1314
|
+
if ( objAirboss.Carrier == AIRBOSS.CarrierType.LINCOLN or
|
|
1315
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.ROOSEVELT or
|
|
1316
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.TRUMAN or
|
|
1317
|
+
objAirboss.Carrier == AIRBOSS.CarrierType.WASHINGTON
|
|
1318
|
+
) then
|
|
1319
|
+
flexDeck7SpawnLayout(objAirboss)
|
|
1320
|
+
end
|
|
1309
1321
|
function objAirboss:OnAfterLSOGrade(From, Event, To, playerData, myGrade)
|
|
1310
1322
|
|
|
1311
1323
|
local string_grade = myGrade.grade
|