NDefines = {

NDiplomacy = {
	IMPRISON_CHARACTER_INTERACTION_MONEY_COST = 0,
	IMPRISON_CHARACTER_INTERACTION_HONOR_BASE_COST = 0,
	IMPRISON_CHARACTER_INTERACTION_HONOR_EXTRA_COST = 0,
	IMPRISON_CHARACTER_INTERACTION_PRESTIGE_COST = 0,
	
	RELEASE_FROM_PRISON_INTERACTION_MONEY_COST = 0,
	RELEASE_FROM_PRISON_INTERACTION_HONOR_BASE_COST = 0,
	RELEASE_FROM_PRISON_INTERACTION_HONOR_EXTRA_COST = 0,
	RELEASE_FROM_PRISON_INTERACTION_PRESTIGE_COST = 0,
	
	EXECUTE_IMPRISONED_INTERACTION_MONEY_COST = 0,
	EXECUTE_IMPRISONED_INTERACTION_HONOR_BASE_COST = 0,
	EXECUTE_IMPRISONED_INTERACTION_HONOR_EXTRA_COST = 0,
	EXECUTE_IMPRISONED_INTERACTION_PRESTIGE_COST = 0,
	
	EXILE_IMPRISONED_INTERACTION_MONEY_COST = 0,
	EXILE_IMPRISONED_INTERACTION_HONOR_BASE_COST = 0,
	EXILE_IMPRISONED_INTERACTION_HONOR_EXTRA_COST = 0,
	EXILE_IMPRISONED_INTERACTION_PRESTIGE_COST = 0,
	
	RETIRE_TO_MONASTERY_INTERACTION_MONEY_COST = 0,
	RETIRE_TO_MONASTERY_INTERACTION_HONOR_BASE_COST = 5,
	RETIRE_TO_MONASTERY_INTERACTION_HONOR_EXTRA_COST = 5,
	RETIRE_TO_MONASTERY_INTERACTION_PRESTIGE_COST = 0,
	
	DEMAND_RELIGIOUS_CONVERSION_INTERACTION_MONEY_COST = 0,
	DEMAND_RELIGIOUS_CONVERSION_INTERACTION_HONOR_BASE_COST = 0,
	DEMAND_RELIGIOUS_CONVERSION_INTERACTION_HONOR_EXTRA_COST = 0,
	DEMAND_RELIGIOUS_CONVERSION_INTERACTION_PRESTIGE_COST = 0,
	
	TRANSFER_VASSAL_INTERACTION_MONEY_COST = 0,
	TRANSFER_VASSAL_INTERACTION_HONOR_BASE_COST = 0,
	TRANSFER_VASSAL_INTERACTION_HONOR_EXTRA_COST = 0,
	TRANSFER_VASSAL_INTERACTION_PRESTIGE_COST = 0,
		
	CLAIM_TITLE_INTERACTION_MONEY_COST = 0,
	CLAIM_TITLE_INTERACTION_HONOR_BASE_COST = 0,
	CLAIM_TITLE_INTERACTION_HONOR_EXTRA_COST = 0,
	CLAIM_TITLE_INTERACTION_PRESTIGE_COST = 0,
	
	REVOKE_TITLE_INTERACTION_MONEY_COST = 0,
	REVOKE_TITLE_INTERACTION_HONOR_BASE_COST = 10,
	REVOKE_TITLE_INTERACTION_HONOR_EXTRA_COST = 20,
	REVOKE_TITLE_INTERACTION_PRESTIGE_COST = 0,
	
	AWARD_HONORARY_TITLE_INTERACTION_MONEY_COST = 0,
	AWARD_HONORARY_TITLE_INTERACTION_HONOR_BASE_COST = 0,
	AWARD_HONORARY_TITLE_INTERACTION_HONOR_EXTRA_COST = 0,
	AWARD_HONORARY_TITLE_INTERACTION_PRESTIGE_COST = 0,
	
	SEND_ASSASSIN_INTERACTION_MONEY_COST = 0,
	SEND_ASSASSIN_INTERACTION_HONOR_BASE_COST = 0,
	SEND_ASSASSIN_INTERACTION_HONOR_EXTRA_COST = 0,
	SEND_ASSASSIN_INTERACTION_PRESTIGE_COST = 0,
	
	DECLARE_WAR_INTERACTION_MONEY_COST = 0,
	DECLARE_WAR_INTERACTION_HONOR_BASE_COST = 12,
	DECLARE_WAR_INTERACTION_HONOR_EXTRA_COST = 20,
	DECLARE_WAR_INTERACTION_PRESTIGE_COST = 0,

	BREAK_TRUCE_HONOR_COST = 20,
	HOSTILE_TROOPS_HONOR_COST = 25,
	CONCEDE_DEFEAT_HONOR = 10,
	
	OFFER_PEACE_INTERACTION_MONEY_COST = 0,
	OFFER_PEACE_INTERACTION_HONOR_BASE_COST = 0,
	OFFER_PEACE_INTERACTION_HONOR_EXTRA_COST = 0,
	OFFER_PEACE_INTERACTION_PRESTIGE_COST = 0,
	
	SEND_GIFT_INTERACTION_MONEY_COST = 20,
	SEND_GIFT_INTERACTION_HONOR_BASE_COST = 0,
	SEND_GIFT_INTERACTION_HONOR_EXTRA_COST = 0,
	SEND_GIFT_INTERACTION_PRESTIGE_COST = 0,
	
	OFFER_ALLIANCE_INTERACTION_MONEY_COST = 0,
	OFFER_ALLIANCE_INTERACTION_HONOR_BASE_COST = 0,
	OFFER_ALLIANCE_INTERACTION_HONOR_EXTRA_COST = 0,
	OFFER_ALLIANCE_INTERACTION_PRESTIGE_COST = 0,
	
	CANCEL_ALLIANCE_INTERACTION_MONEY_COST = 0,
	CANCEL_ALLIANCE_INTERACTION_HONOR_BASE_COST = 5,
	CANCEL_ALLIANCE_INTERACTION_HONOR_EXTRA_COST = 0,
	CANCEL_ALLIANCE_INTERACTION_PRESTIGE_COST = 0,
	
	OFFER_VASSALIZATION_INTERACTION_MONEY_COST = 0,
	OFFER_VASSALIZATION_INTERACTION_HONOR_BASE_COST = 0,
	OFFER_VASSALIZATION_INTERACTION_HONOR_EXTRA_COST = 0,
	OFFER_VASSALIZATION_INTERACTION_PRESTIGE_COST = 0,
	
	ARRANGE_BETROTHAL_INTERACTION_MONEY_COST = 0,
	ARRANGE_BETROTHAL_INTERACTION_HONOR_BASE_COST = 0,
	ARRANGE_BETROTHAL_INTERACTION_HONOR_EXTRA_COST = 0,
	ARRANGE_BETROTHAL_INTERACTION_PRESTIGE_COST = 0,
	
	BREAK_BETROTHAL_INTERACTION_MONEY_COST = 0,
	BREAK_BETROTHAL_INTERACTION_HONOR_BASE_COST = 5,
	BREAK_BETROTHAL_INTERACTION_HONOR_EXTRA_COST = 0,
	BREAK_BETROTHAL_INTERACTION_PRESTIGE_COST = 0,
	
	OFFER_SUCCESSION_MARRIGE_INTERACTION_MONEY_COST = 0,
	OFFER_SUCCESSION_MARRIGE_INTERACTION_HONOR_BASE_COST = 0,
	OFFER_SUCCESSION_MARRIGE_INTERACTION_HONOR_EXTRA_COST = 0,
	OFFER_SUCCESSION_MARRIGE_INTERACTION_PRESTIGE_COST = 0,
	
	OFFER_MARRIGE_INTERACTION_MONEY_COST = 0,
	OFFER_MARRIGE_INTERACTION_HONOR_BASE_COST = 0,
	OFFER_MARRIGE_INTERACTION_HONOR_EXTRA_COST = 0,
	OFFER_MARRIGE_INTERACTION_PRESTIGE_COST = 0,
	
	RANSOM_CHARACTER_INTERACTION_MONEY_COST = 0,
	RANSOM_CHARACTER_INTERACTION_HONOR_BASE_COST = 0,
	RANSOM_CHARACTER_INTERACTION_HONOR_EXTRA_COST = 0,
	RANSOM_CHARACTER_INTERACTION_PRESTIGE_COST = 0,
	
	EDUCATE_CHARACTER_INTERACTION_MONEY_COST = 0,
	EDUCATE_CHARACTER_INTERACTION_HONOR_BASE_COST = 0,
	EDUCATE_CHARACTER_INTERACTION_HONOR_EXTRA_COST = 0,
	EDUCATE_CHARACTER_INTERACTION_PRESTIGE_COST = 0,

	ABANDON_AMBITION_INTERACTION_MONEY_COST = 0,
	ABANDON_AMBITION_INTERACTION_HONOR_BASE_COST = 0,
	ABANDON_AMBITION_INTERACTION_HONOR_EXTRA_COST = 0,
	ABANDON_AMBITION_INTERACTION_PRESTIGE_COST = 0,

	STOP_BACKING_AMBITION_INTERACTION_MONEY_COST = 0,
	STOP_BACKING_AMBITION_INTERACTION_HONOR_BASE_COST = 0,
	STOP_BACKING_AMBITION_INTERACTION_HONOR_EXTRA_COST = 0,
	STOP_BACKING_AMBITION_INTERACTION_PRESTIGE_COST = 0,

	INVITE_TO_PLOT_INTERACTION_MONEY_COST = 0,
	INVITE_TO_PLOT_INTERACTION_HONOR_BASE_COST = 1,
	INVITE_TO_PLOT_INTERACTION_HONOR_EXTRA_COST = 0,
	INVITE_TO_PLOT_INTERACTION_PRESTIGE_COST = 0,

	GRANT_LANDED_TITLE_INTERACTION_MONEY_COST = 0,
	GRANT_LANDED_TITLE_INTERACTION_HONOR_BASE_COST = 0,
	GRANT_LANDED_TITLE_INTERACTION_HONOR_EXTRA_COST = 0,
	GRANT_LANDED_TITLE_INTERACTION_PRESTIGE_COST = 0,

	APPOINT_TO_OFFICE_INTERACTION_MONEY_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_HONOR_BASE_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_HONOR_EXTRA_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_PRESTIGE_COST = 0,
	
	APPOINT_TO_OFFICE_INTERACTION_MONEY_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_HONOR_BASE_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_HONOR_EXTRA_COST = 0,
	APPOINT_TO_OFFICE_INTERACTION_PRESTIGE_COST = 0,
	
	FORM_CLAN_INTERACTION_MONEY_COST = 0,
	FORM_CLAN_INTERACTION_HONOR_BASE_COST = 10,
	FORM_CLAN_INTERACTION_HONOR_EXTRA_COST = 20,
	FORM_CLAN_INTERACTION_PRESTIGE_COST = 0,

	USURP_CLAN_INTERACTION_MONEY_COST = 0,
	USURP_CLAN_INTERACTION_HONOR_BASE_COST = 0,
	USURP_CLAN_INTERACTION_HONOR_EXTRA_COST = 0,
	USURP_CLAN_INTERACTION_PRESTIGE_COST = 0,
	
	JOIN_CLAN_INTERACTION_MONEY_COST = 0,
	JOIN_CLAN_INTERACTION_HONOR_BASE_COST = 10,
	JOIN_CLAN_INTERACTION_HONOR_EXTRA_COST = 0,
	JOIN_CLAN_INTERACTION_PRESTIGE_COST = 0,
	
	DEMAND_SEPPUKU_INTERACTION_MONEY_COST = 0,
	DEMAND_SEPPUKU_INTERACTION_HONOR_BASE_COST = 3,
	DEMAND_SEPPUKU_INTERACTION_HONOR_EXTRA_COST = 0,
	DEMAND_SEPPUKU_INTERACTION_PRESTIGE_COST = 0,
	
	MAKE_CHIEF_NEGOTIATOR_MONEY_COST = 0,
	MAKE_CHIEF_NEGOTIATOR_HONOR_BASE_COST = 1,
	MAKE_CHIEF_NEGOTIATOR_HONOR_EXTRA_COST = 0,
	MAKE_CHIEF_NEGOTIATOR_PRESTIGE_COST = 0,
	
	JOIN_CLAN_CIVILWAR_INTERACTION_MONEY_COST = 0,
	JOIN_CLAN_CIVILWAR_INTERACTION_HONOR_BASE_COST = 10,
	JOIN_CLAN_CIVILWAR_INTERACTION_HONOR_EXTRA_COST = 0,
	JOIN_CLAN_CIVILWAR_INTERACTION_PRESTIGE_COST = 0,

	DEMAND_NEGOTIATION_RIGHTS_MONEY_COST = 0,
	DEMAND_NEGOTIATION_RIGHTS_HONOR_BASE_COST = 1,
	DEMAND_NEGOTIATION_RIGHTS_HONOR_EXTRA_COST = 0,
	DEMAND_NEGOTIATION_RIGHTS_PRESTIGE_COST = 0,

	WITHDRAW_NEGOTIATION_RIGHTS_MONEY_COST = 0,
	WITHDRAW_NEGOTIATION_RIGHTS_HONOR_BASE_COST = 0,
	WITHDRAW_NEGOTIATION_RIGHTS_HONOR_EXTRA_COST = 5,
	WITHDRAW_NEGOTIATION_RIGHTS_PRESTIGE_COST = 0,

	ASK_JOIN_CLAN_INTERACTION_MONEY_COST = 0,
	ASK_JOIN_CLAN_INTERACTION_HONOR_BASE_COST = 10,
	ASK_JOIN_CLAN_INTERACTION_HONOR_EXTRA_COST = 0,
	ASK_JOIN_CLAN_INTERACTION_PRESTIGE_COST = 0,
	
	PETITION_FOR_DAIMYO_TITLE_INTERACTION_MONEY_COST = 0,
	PETITION_FOR_DAIMYO_TITLE_INTERACTION_HONOR_BASE_COST = 5,
	PETITION_FOR_DAIMYO_TITLE_INTERACTION_HONOR_EXTRA_COST = 0,
	PETITION_FOR_DAIMYO_TITLE_INTERACTION_PRESTIGE_COST = 0,
	
	TRUCE_MONTHS = 24,
	NEGOTIATION_RIGHTS_MONTHS = 12,
	JOIN_PLOT_HONOR_COST = 1,
	SEND_GIFT_HONOR = 1,
	FIRST_MARRIAGE_HONOR = 5,
	BETROTHAL_HONOR = 5,
	
	GRANT_KOKUJIN_TITLE_HONOR = 3,
	GRANT_DAIMYO_TITLE_HONOR = 3,
	DECLINE_REVOKE_TITLE_HONOR_COST = 10,
	
	HOSTAGE_MONTHS = 60,
	KILL_HOSTAGE_HONOR_COST = 20,
	ATTACK_WHEN_OTHER_HAS_HOSTAGE_HONOR_COST = 10
},

NCharacter = {
	MAX_AGE_BEFORE_BETROTHAL_BREAKS = 20,
	WRONG_GOV_FORM_TAX_PENALTY = 0.75,
	CHANGE_SUCC_LAW_YEARS = 20,
	NEW_CLAN_FORCE_REQ = 0.1,
	SWITCH_CLAN_FORCE_REQ = 0.05,
	UNLANDED_IMPREGNATION_INTERVAL = 20,
	JOB_IMPREGNATION_INTERVAL = 10,
	COUNT_IMPREGNATION_INTERVAL = 4,
	DUKE_IMPREGNATION_INTERVAL = 3,
	KING_IMPREGNATION_INTERVAL = 2,
	DEFAULT_IMPREGNATION_INTERVAL = 100,
	WIFE_RANK_IMPREGNATION_INTERVAL = 2,
	MAX_NUMBER_OF_MARRIAGES = 4,
	DEMAND_SEPPUKU_THRESHOLD = 15,
	DEMAND_SEPPUKU_DELAY = 180,
	IGNORE_SEPPUKU_DEMAND_COST = 5,
	VOLUNTARY_SEPPUKU_THRESHOLD = 10,
	VOLUNTARY_SEPPUKU_HONOR = 3,
	START_HONOR = 27,
	HIGH_HONOR = 75,
	LOW_HONOR = 25,
	NORMAL_DEATH_HONOR_FACTION = 0.2,
	BATTLE_DEATH_HONOR_FACTION = 0.5,
	SEPPUKU_DEATH_HONOR_FACTION = 0.3,
	CHANGE_AMBITION_YEARS = 5,
	EXPOSED_PLOT_MONTHS = 1,
	INDPENDANT_TROOP_CONTROL_FRACTION = 0.21,
	MAX_DEMESNE_SIZE = 5,
	RETINUE_MAINTENANCE_FACTOR = 0.20,
	LEVY_MAINTENANCE_FACTOR = 0.10,
	RONIN_MAINTENANCE_FACTOR = 0.25,
	RETURN_FROM_ACTION_DAYS = 31,
	VICTORY_CONTROL_PERCENTAGE = 50,
	SHOGUNATE_CLAIM_MONTH = 36,
	MAX_HONOR = 100,
	CHILDREN_BIRTH_PENALTY = 4,
	VASSAL_TAX = 0.3,
	STARTING_MONEY = 5,
	BIG_COURT = 20,
	SMALL_COURT = 5
},

NMilitary = {
	CONTROLLER_MONTHS_BEFORE_OWNER_CHANGE = 3,		-- Number of months before ownership change of province, for certain cb:s that have contested titles
	TROOPAMOUNT_PER_LEVY_SIZE = 1,					-- Multiplier for units
	MORALE_COLLAPSE_THRESHOLD = 0.25,				-- Threshold before unit runs away
	MINIMUM_AMOUNT_OF_MEN_TO_SIEGE = 100,			
	TROOP_KILL_FACTOR = 0.7,						-- Affects the death rate in combats(higher gives bigger losses)
	MORALELOSS_FACTOR = 8,							-- Affects the morale loss rate in combats(higher gives bigger losses)
	NUMBER_OF_RETREAT_DAYS = 3,						-- Number of days before you retreat success
	NUMBER_OF_TROOPS_PER_GALLEY = 100,				-- Number of men each galley can hold
	MERCENARY_MAINTENANCE_FACTOR = 2.0,

	START_INFANTRY_LEVY = 2,
	START_CAVALRY_LEVY = 1,
	
	LEVY_UNITSPRITE = "levy_sprite",
	RETINUE_SPRITE = "retinue_sprite",
	REBEL_SPRITE = "retinue_sprite",
	
	INF_BASE_SHOCK = 0.8, -- multiplier to unit values
	INF_BASE_FIRE = 0.5,
	INF_BASE_MORALE = 1,
	
	CAV_BASE_SHOCK = 1,
	CAV_BASE_FIRE = 0.5,
	CAV_BASE_MORALE = 1,

	ARQ_BASE_SHOCK = 0.4,
	ARQ_BASE_FIRE = 1,
	ARQ_FIRST_VOLLEY_MULTIPLIER = 2,
	
	MAX_MULTIPLIER_BONUS = 0.5,
	BASE_LEVY_INF_REINFORCE = 0.035,
	BASE_LEVY_CAV_REINFORCE = 0.015,

	LEVY_RETENTION_HOSTILE = 0.2,
	LEVY_RETENTION_NEUTRAL = 0.7,
	LEVY_RETENTION_FRIENDLY = 1.0,
	
	RETINUE_MOVE_ENEMY = 10,
	RETINUE_MOVE = 30,
	RETINUE_MOVE_VARIANCE = 11,
	STARTING_RONIN_RETINUES = 2,
	MAX_RONIN_RETINUES = 40,
	N_RETINUE_CAV = 3,
	N_RETINUE_INF = 6,
	REGIMENT_SIZE = 250,
	CAVALRY_COST = 14,
	INFANTRY_COST = 9,
	ARQUEBUS_COST = 12,
	GENERAL_COST = 4,
	RECRUIT_TIME = 45,
	REBEL_MUSKET_BASE = 0.3,
	DAYS_PER_SIEGE_PHASE = 30,
	SIEGE_FOOD_SHORTAGE = 7,
	SIEGE_WATER_SHORTAGE = 10,
	SIEGE_BREACH = 12,
	SIEGE_DESERTATION = 15,
	SIEGE_SURRENDER = 20,
	SIEGE_MAX_RESULT = 12,
	MAX_MUSKETBONUS = 0.3
},

NTechnology = {
	BASE_TECH_GROWTH_CHANCE = 0.1, --Actually 0.01 * this value, but since that would be too small the test is done twice, first vs 0.01 and then vs this value.
	BASE_NEIGHBOUR_SPREAD_CHANCE = 0.04,
	NEIGHBOUR_SAME_RELIGON_GROUP_BONUS = 3.0,
	BASE_DEMESNE_SPREAD_CHANCE = 0.1,
	FOCUS_BONUS = 2.0
},

NProvince = {
	START_MANUFACTORY_SLOTS = 0,
	MAX_MANUFACTORY_SLOTS = 4,
	DEFAULT_BASE_TAX = 10,
	EXTEND_MANUFACTORY_DAYS = 90,
	GOOD_COUNCILLOR = 5,
	REVOLT_RISK_DECAY = 0.05,
	BASE_REBEL_FACTOR = 4,
	REBEL_NEIGHBOUR_BONUS = 3.0,
	CONQUERED_DAYS = 365,
	WESTERN_COMPLETE_RATIO = 0.5
},

NNinja = {
	UNDERMINE_DAYS = 365,
	WEAKEN_DEFENSE_DAYS = 90,
	UNDERMINE_HONOR = 10,
	MISSION_PROGRESS = 10
},

NGraphics = {
	PROVINCE_NAME_DRAW_DISTANCE = 500.0 -- Remove province names beyond this distance
},

NAI = {
	INTERACTION_THRESHOLD_FOR_NO = 25, -- Interactions with chance below this will always be declined
	INTERACTION_THRESHOLD_FOR_YES = 75, -- Interactions with chance above this will always be accepted
	INTERACTION_MIN_DAYS_REJECTED = 365, -- AI will remember a rejection at least this time
	INTERACTION_DAYS_REJECTED_RANDOM = 730, -- Max random extra days AI will reject offer
	INTERACTION_OPINION_CHANGE_TO_DISCARD_REJECTION = 20, -- AI will reevalute offers if opinion has changed by at least this amount, regardless of time left
	MINIMUM_WAR_MONTHS = 36, -- AI Won't consider peace until the war has progressed for atleast this long
	STALEMATE_WAR_MONTHS = 60, -- AI Will try to peace when nothings happened in the war for this many months
	OPTIMAL_VASSALS = 4, -- AI will try to have this many vassals
	WAR_TREASURY_MONTHS = 12, -- AI wants enough money to afford it's armies for this long when going to war 
}

}
