From 1df525b9c588e635201e3ac1fc8b333829e2335d Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 21 Jun 2023 14:05:17 +0200 Subject: [PATCH] #NAVY * Min speed 4kn due to rudder effectiveness --- Moose Development/Moose/Ops/Airboss.lua | 4 ++-- Moose Development/Moose/Ops/NavyGroup.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Moose Development/Moose/Ops/Airboss.lua b/Moose Development/Moose/Ops/Airboss.lua index 7794d63fc..3cc61f949 100644 --- a/Moose Development/Moose/Ops/Airboss.lua +++ b/Moose Development/Moose/Ops/Airboss.lua @@ -13520,8 +13520,8 @@ function AIRBOSS:CarrierTurnIntoWind( time, vdeck, uturn ) -- Wind speed. local _, vwind = self:GetWind() - -- Speed of carrier in m/s but at least 2 knots. - local vtot = math.max( vdeck - vwind, UTILS.KnotsToMps( 2 ) ) + -- Speed of carrier in m/s but at least 4 knots. + local vtot = math.max( vdeck - vwind, UTILS.KnotsToMps( 4 ) ) -- Distance to travel local dist = vtot * time diff --git a/Moose Development/Moose/Ops/NavyGroup.lua b/Moose Development/Moose/Ops/NavyGroup.lua index 1da630eb6..a69e5f627 100644 --- a/Moose Development/Moose/Ops/NavyGroup.lua +++ b/Moose Development/Moose/Ops/NavyGroup.lua @@ -1291,8 +1291,8 @@ function NAVYGROUP:onafterTurnIntoWind(From, Event, To, IntoWind) -- Convert to knots. vwind=UTILS.MpsToKnots(vwind) - -- Speed of carrier relative to wind but at least 2 knots. - local speed=math.max(IntoWind.Speed-vwind, 2) + -- Speed of carrier relative to wind but at least 4 knots. + local speed=math.max(IntoWind.Speed-vwind, 4) -- Debug info. self:T(self.lid..string.format("Steaming into wind: Heading=%03d Speed=%.1f Vwind=%.1f Vtot=%.1f knots, Tstart=%d Tstop=%d", IntoWind.Heading, speed, vwind, speed+vwind, IntoWind.Tstart, IntoWind.Tstop))