政策修改

模組製作· 约 12 分钟阅读

本頁面所適用的版本可能已經過時,最後更新於 v1.25。

v1.25

一個政策必須包含下列內容:

  • 一個獨特的名字
  • 君主點數類型:monarch_power
  • 顯示它所需的條件(在原版遊戲它們基於理念組)
  • 允許它所需的條件(在原版遊戲它們基於完成的理念組)
  • 效果

可選地,你也能包括:

  • AI使用它的可能性

字符串 monarch_power 決定了它需要哪個君主點數類型維護。例如,在最後寫上「ADM」(不帶引號)就會讓它每月花費一個行政點數。政策能在 Europa Universalis IV/common/policies 找到。

添加一個政策

v1.25 政策在遊戲中顯示的條件在「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