Merge pull request #1844 from FlightControl-Master/FF/Ops

OPS
This commit is contained in:
Frank
2022-11-16 10:44:00 +01:00
committed by GitHub
2 changed files with 21 additions and 6 deletions

View File

@@ -2647,6 +2647,13 @@ function WAREHOUSE:SetWarehouseZone(zone)
return self
end
--- Get the warehouse zone.
-- @param #WAREHOUSE self
-- @return Core.Zone#ZONE The warehouse zone.
function WAREHOUSE:GetWarehouseZone()
return self.zone
end
--- Set auto defence on. When the warehouse is under attack, all ground assets are spawned automatically and will defend the warehouse zone.
-- @param #WAREHOUSE self
-- @return #WAREHOUSE self