政策修改

本页面所适用的版本可能已经过时,最后更新于1.25

一个政策必须包含下列内容:

  • 一个独特的名字
  • 君主点数类型:monarch_power
  • 显示它所需的条件(在原版游戏它们基于理念组)
  • 允许它所需的条件(在原版游戏它们基于完成的理念组)
  • 效果

可选地,你也能包括:

  • AI使用它的可能性

字符串 monarch_power 决定了它需要哪个君主点数类型维护。例如,在最后写上“ADM”(不带引号)就会让它每月花费一个行政点数。政策能在 /Europa Universalis IV/common/policies 找到。

添加一个政策

政策在游戏中显示的条件在“potential”下,而政策可用的条件必须在“allow”下列出。如本例子所示,效果直接受政策影响:

custom_policy = {

	monarch_power = ADM

	potential = {
		is_year = 1500
	}
	allow = {
		monthly_income = 100
	}
	inflation_reduction = 0.1
	prestige = 1

	ai_will_do = {
		factor = 1
	}
}

该政策使用行政点进行维护,不会在1500年之前出现,并且在颁布之前需要至少100个月收入。 它可以每年减少0.1的通货膨胀和增加1点威望。 字符串“ai_will_do”决定了AI制定的政策的权重。 所有通常策略都使用factor = 1作为基础。

我们还可以通过在ai_will_do中实现具有自己权重的修正来指导AI如何最有效地使用政策。 对于最终的权重值,所有权重修正将相乘(因此,如果一个0的权重修正为真,则AI将永远不会选择该政策)。 例如:

custom_policy = {

	monarch_power = ADM

	potential = {
		is_year = 1500
	}
	allow = {
		monthly_income = 100
	}
	inflation_reduction = 0.1
	prestige = 1

	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			NOT = { inflation = 5 }
		}
		modifier = {
			factor = 0
			NOT = { gold_income_percentage = 0.15 }
		}
		modifier = {
			factor = 2
			gold_income_percentage = 0.5
		}
		modifier = {
			factor = 2
			inflation = 15
		}
	}
}


参考资料

行政政策关键字

  1. the_combination_act
  2. the_court_of_wards_and_liveries
  3. formalized_measures
  4. agricultural_cultivations
  5. the_espionage_act
  6. manueline_architecture
  7. the_royal_commission_act
  8. edict_of_resistance
  9. public_welfare_act
  10. the_spy_discovery_act
  11. enforce_religious_law
  12. the_tolerance_act
  13. vassal_taxation_policy
  14. the_pioneer_policy
  15. land_inheritance_act
  16. the_witchcraft_act
  17. the_education_act
  18. policy_of_calculate_delay
  19. the_loyalty_act
  20. exchange_of_ideas
  21. vassal_obligations_act
  22. foreign_advisors
  23. vassal_integration_act
  24. overseas_dominions
  25. enlightened_aristocracy
  26. the_liberation_act
  27. visionary_thinkers
  28. the_transportation_act
  29. harbour_administration
  30. supply_convoys
  31. cultural_recognition_act
  32. the_licensing_of_the_press_act
  33. the_dissolution_act
  34. the_statute_of_monopolies
  35. taxation_with_representation
  36. cultural_understanding
  37. the_citrus_statute
  38. diplomatic_cooperation_act
  39. the_banking_system
  40. church_sponsored_guilds
  41. anti_heresy_act

外交政策关键字

  1. the_recruiting_act
  2. hold_the_weather_gauge
  3. the_wooden_wall
  4. the_importation_act
  5. colonial_expansions
  6. beneficial_neglect
  7. restrictions_for_colonies
  8. naval_infrastructure_act
  9. new_naval_tactis
  10. trade_connection_policy
  11. naval_secrecy_act
  12. streamlined_galley_production
  13. cloth_quality_edict
  14. production_quota_act
  15. encouragement_of_merchant_navy
  16. commercial_embassies
  17. mandatory_service
  18. professional_diplomatic_corps
  19. colonial_companies_act
  20. protected_shipping_lanes
  21. chaplains_of_the_fleet
  22. multilingual_diplomats
  23. native_assimilation_act
  24. the_foreign_aid_act
  25. cultural_unity
  26. terms_of_surrender_statute
  27. skilled_cartographers
  28. fortified_trading_posts
  29. the_integrated_administration_act
  30. the_cooperation_act
  31. record_keeping_act
  32. colonial_administration_act
  33. naval_school_act
  34. the_foreign_support_act
  35. the_stamp_act
  36. black_chamber_act
  37. diplomatic_defence_act
  38. armed_neutrality_act
  39. the_naval_supremacy_act
  40. letters_of_marque
  41. trained_marines_act

军事政策关键字

  1. privy_council_establishment_act
  2. the_mercenary_registration_act
  3. the_provincial_taxation_system
  4. the_mining_act
  5. the_liquor_act
  6. horse_artillery
  7. public_road_act
  8. superior_supply_system
  9. modern_siege_weapons
  10. superior_fortification_act
  11. modern_firearm_techniques
  12. the_garrison_act
  13. military_zeal_act
  14. field_priests
  15. pen_rely_on_sword_act
  16. local_army_organisation
  17. underhanded_diplomacy_act
  18. hired_adventurers_act
  19. the_tenures_abolition_act
  20. colonial_garrisons
  21. the_maritime_intelligencer_unit
  22. the_nautic_education_act
  23. zealous_captains
  24. autonomous_estates
  25. inspirational_leaders
  26. the_naval_inspection_act
  27. the_preparation_act
  28. local_militias
  29. foreign_conscription_centers
  30. guerilla_warfare
  31. weapon_quality_standards
  32. noble_loyalty_act
  33. the_colonial_nobility_act
  34. nobles_in_navy_act
  35. military_allotment_act
  36. unified_army_command
  37. trade_kontor_network
  38. deserteur_act