--------------------------------------------------------------------------------------------------------------
-- SUPPLY FLOW REWORK
--------------------------------------------------------------------------------------------------------------

NDefines.NSupply.VP_TO_SUPPLY_BASE = 0.45 -- Bonus to supply from a VP, no matter the level (Base is 0.2)
NDefines.NSupply.AVAILABLE_MANPOWER_STATE_SUPPLY = 0.5 --Factor for state supply from max manpower (population) (Base is 0.18, this is PER MILLION.)
NDefines.NSupply.VP_TO_SUPPLY_BONUS_CONVERSION = 0.05 -- Bonus to supply local supplies from Victory Points, multiplied by this aspect and rounded to closest integer (Base is 0.05)
NDefines.NSupply.CAPITAL_INITIAL_SUPPLY_FLOW = 5.0 -- starting supply from
NDefines.NSupply.CAPITAL_STARTING_PENALTY_PER_PROVINCE = 0.5 -- starting penalty that will be added as supply moves away from its origin (modified by stuff like terrain) (Default is 0.5)
NDefines.NSupply.CAPITAL_ADDED_PENALTY_PER_PROVINCE = 1.2 -- added penalty as we move away from origin (Default is 1.2)

-- defines that are used for supply reach for built nodes
NDefines.NSupply.NODE_INITIAL_SUPPLY_FLOW = 2.8
NDefines.NSupply.NODE_STARTING_PENALTY_PER_PROVINCE = 0.30 -- default is 0.5
NDefines.NSupply.NODE_ADDED_PENALTY_PER_PROVINCE = 0.50 -- default is 0.7

-- defines that are used for supply reach for dockyards
NDefines.NSupply.NAVAL_BASE_INITIAL_SUPPLY_FLOW = 3.3
NDefines.NSupply.NAVAL_BASE_STARTING_PENALTY_PER_PROVINCE = 0.84
NDefines.NSupply.NAVAL_BASE_ADDED_PENALTY_PER_PROVINCE = 1.1

NDefines.NSupply.SUPPLY_DISRUPTION_DAILY_RECOVERY = 0.75
 
NDefines.NCountry.REINFORCEMENT_DELIVERY_SPEED_MIN =  0.075 -- was 0.066	 
NDefines.NCountry.REINFORCEMENT_EQUIPMENT_DELIVERY_SPEED = 0.055  -- was 0.066
NDefines.NCountry.REINFORCEMENT_MANPOWER_DELIVERY_SPEED = 3.0  -- was 2.6	
NDefines.NCountry.REINFORCEMENT_MANPOWER_CHUNK = 0.07
					
NDefines.NMilitary.REINFORCEMENT_REQUEST_MAX_WAITING_DAYS = 35
NDefines.NMilitary.REINFORCEMENT_REQUEST_DAYS_FREQUENCY = 20 
  
NDefines.NSupply.SUPPLY_PATH_MAX_DISTANCE = 90 -- was 70
NDefines.NSupply.RAILWAY_DISTANCE_FACTOR_FOR_REINFORCEMENT_SPEED = 0.75  -- was 0.65
NDefines.NSupply.TRUCK_DISTANCE_FACTOR_FOR_REINFORCEMENT_SPEED = 0.015  -- was 0.01
NDefines.NSupply.NAVAL_DISTANCE_FACTOR_FOR_REINFORCEMENT_SPEED = 0.085  -- was 0.06

NDefines.NAI.DEPLOY_MIN_EQUIPMENT_SURRENDER_FACTOR = 0.8 

NDefines.NSupply.RAILWAY_CONVERSION_COOLDOWN = 12
NDefines.NSupply.RAILWAY_CONVERSION_COOLDOWN_CORE = 6
NDefines.NSupply.RAILWAY_CONVERSION_COOLDOWN_CIVILWAR = 1

NDefines.NAI.STR_UNIT_WEAK = 0.25
NDefines.NAI.STR_UNIT_NORMAL = 0.5

NDefines.NMilitary.EQUIPMENT_COMBAT_LOSS_FACTOR = 0.80 --was 0.70 # 