mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-10 08:29:52 +00:00
Merge pull request #2456 from FlightControl-Master/master
Merge from master
This commit is contained in:
@@ -515,7 +515,8 @@ ENUMS.ReportingName =
|
|||||||
Atlas = "A400",
|
Atlas = "A400",
|
||||||
Lancer = "B1-B",
|
Lancer = "B1-B",
|
||||||
Stratofortress = "B-52H",
|
Stratofortress = "B-52H",
|
||||||
Hercules = "C-130",
|
Herc = "C-130",
|
||||||
|
Hercules = "C-130J-30",
|
||||||
Super_Hercules = "Hercules",
|
Super_Hercules = "Hercules",
|
||||||
Globemaster = "C-17",
|
Globemaster = "C-17",
|
||||||
Greyhound = "C-2A",
|
Greyhound = "C-2A",
|
||||||
|
|||||||
@@ -2300,6 +2300,21 @@ function UTILS.IsLoadingDoorOpen( unit_name )
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if type_name=="C-130J-30" and (unit:getDrawArgumentValue(86)==1)then
|
||||||
|
BASE:T(unit_name.." rear doors are open")
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
if type_name=="C-130J-30" and (unit:getDrawArgumentValue(87)==1)then
|
||||||
|
BASE:T(unit_name.." Side door(s) are open")
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
if type_name=="C-130J-30" and (unit:getDrawArgumentValue(88)==1)then
|
||||||
|
BASE:T(unit_name.." Paratroop door(s) are open")
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
if string.find(type_name, "Hercules") and (unit:getDrawArgumentValue(1215) == 1 and unit:getDrawArgumentValue(1216) == 1) then
|
if string.find(type_name, "Hercules") and (unit:getDrawArgumentValue(1215) == 1 and unit:getDrawArgumentValue(1216) == 1) then
|
||||||
BASE:T(unit_name .. " rear doors are open")
|
BASE:T(unit_name .. " rear doors are open")
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user