Shannon V. OKeets -> RE: Allied supply through Russia (9/16/2020 10:52:36 PM)
|
quote:
ORIGINAL: Orm After looking at the save it looks to me that the HQI in Iraq should be in supply through the link you described. And that Teheran should be a secondary supply source for the SA TERR in the city (as CW has conquered Persia). However, there is a limit in MWIF on how long a rail supply link can be. I think it used to be 30 hexes, where each sea area counted as a hex. And this route is way longer than that. I am sure someone can enlighten us on what the current limit are. Anyway. I do not think it is a bug. I think it is the MWIF supply limit that you have reached and passed. Here's the code: // **************************************************************************** // Limit the length of the overland search for a railway path from a secondary // supply source or port to a primary supply source in mainland Europe and Asia. // MaximumMaxOverlandSearch is permitted for the major powers that have // permanent primary supply in mainland Europe or Asia. France and the // Commonwealth are unlikely to be successful tracing supply through the width // of the USSR to a primary supply source, so for them the search distance is // reduced. // **************************************************************************** case MPI of mcGermany, mcItaly, mcUSSR: begin Result := CountryLoc.Asia or CountryLoc.Europe or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; // **************************************************************************** // Only the Japanese home islands have permanent primary supply. // **************************************************************************** mcJapan: begin MaxOverlandSearch := 60; Result := (CountryLoc.ID = Japan.ID) or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; mcVichyFrance: begin MaxOverlandSearch := 40; Result := CountryLoc.Asia or CountryLoc.Europe or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; mcChina: begin MaxOverlandSearch := 80; Result := CountryLoc.Asia or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; // **************************************************************************** // The Commonwealth has primary supply sources on all 5 SearchMaps. // **************************************************************************** mcCommonwealth: begin if CountryLoc.ID in [Iraq.ID, Persia.ID] then MaxOverlandSearch := 20 else MaxOverlandSearch := 40; Result := True; end; mcFrance: begin MaxOverlandSearch := 40; if VichyFrance.LegalMajorCountry and (France.NewHomeCountry <> nil) then Result := (CountryLoc.America and // France has a new home country. France.NewHomeCountry.America) or (CountryLoc.Pacific and France.NewHomeCountry.Pacific) or ((CountryLoc.Europe or CountryLoc.Asia or CountryLoc.Africa) and (France.NewHomeCountry.Europe or France.NewHomeCountry.Asia or France.NewHomeCountry.Africa)) or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty) else Result := CountryLoc.Asia or CountryLoc.Europe or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; // **************************************************************************** // Only the United States and Northern Ireland have permanent primary supply. // **************************************************************************** mcUnitedStates: begin MaxOverlandSearch := 60; Result := CountryLoc.America or (CountryLoc.ID = NorthernIreland.ID) or (not MajPow.PriSupHQsTurn.Empty) or (not MajPow.PriSupAlignHQsTurn.Empty); end; end; // End of case statement.
|
|
|
|