英白拉多:罗马
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
资助我们
×
欢迎访问英白拉多:罗马百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“决议修改”的源代码
←
决议修改
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{version|1.5}} Decisions are national scripted effects which become visible under certain conditions and then available for selection when additional conditions are met. == Decision Script Layout == {{SVersion|1.5}} <pre> country_decisions = { decision name = { potential = { [triggers which determine the visibility of the decision] } highlight = { scope:province = { province_id = [province number] } } allow = { [triggers which allow the decision to be chosen] } effect = { [what the decision does upon selection] } } } </pre> == Formable Country Example == Below is the script for forming Macedon. It becomes potentially available is a Macedonian culture nation has a capital in Macedonia or Greece and is not already Macedon or formable-Macedon. Then provinces are highlighted which, if owned, makes the decision available for selection. Selecting the decision then grants the effects of changing the country name, color, capital, and gives bonus effects. <pre> country_decisions = { # Form Macedon form_macedon = { potential = { num_of_cities >= 1 OR = { country_culture = macedonian AND = { # Non DLC Epirus trigger NOT = { has_dlc = "Epirus Flavor Pack" } has_variable = me_epirus_start_flag } } is_republic = no capital_scope = { OR = { is_in_region = macedonia_region is_in_region = greece_region ROOT = { country_culture = macedonian } } } NOT = { tag = MAC } NOT = { tag = MCD } OR = { is_ai = no num_of_cities >= 20 } NOT = { is_endgame_tag_trigger = yes is_tier_2_formable_trigger = yes } } highlight = { scope:province = { OR = { province_id = 379 #Pella province_id = 428 #Aegae province_id = 365 #Amphipolis province_id = 394 #Pharsalos province_id = 3175 #Eratyra } } } allow = { custom_tooltip = { text = macedon_not_existing NOT = { any_country = { tag = MAC } } NOT = { any_country = { tag = MCD } } } can_form_nation_trigger = yes owns = 379 #Pella owns = 428 #Aegae owns = 365 #Amphipolis owns = 394 #Pharsalos owns = 3175 #Eratyra trigger_if = { limit = { is_ai = no #AI won't know to integrate this culture just for the decision NOT = { country_culture = macedonian } any_country_culture = { is_culture = macedonian } } any_country_culture = { is_integrated = yes is_culture = macedonian } } } effect = { custom_tooltip = "tier_2_formable_tooltip" monarchy_formable_government_change_effect = yes change_country_name = "MACEDONIA_NAME" hidden_effect = { change_country_adjective = "MACEDONIA_ADJECTIVE" change_country_color = "macedonian_blue" change_country_tag = MCD change_country_flag = MAC } if = { limit = { NOT = { country_culture = macedonian } } set_primary_culture_cleanup_effect = { NEW_PRIMARY_CULTURE = macedonian MAKE_OLD_CULTURE_INTEGRATED = yes } } if = { limit = { p:379 = { is_capital = no } } set_capital = 379 hidden_effect = { p:379.state = { set_state_capital = 379 } } capital_scope = { establish_city_effect = yes } } p:379 = { capital_formable_medium_effect = yes formable_capital_modifier_normal_effect = yes } custom_tooltip = macedon_claims_tooltip hidden_effect = { region:macedonia_region = { formable_region_province_effect = yes } } add_3_free_province_investments = yes } ai_will_do = { base = 1 } } } </pre> {{Modding navbox}} [[Category:模组制作]] [[en:Decision_modding]]
本页使用的模板:
Template:Ambox
(
查看源代码
)
Template:Ambox/core
(
查看源代码
)
Template:Clear
(
查看源代码
)
Template:Modding navbox
(
查看源代码
)
Template:Navbox
(
查看源代码
)
Template:Navboxgroup
(
查看源代码
)
Template:SVersion
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
决议修改
。
×
登录
密码
记住登录
加入英白拉多:罗马百科
忘记密码?
其他方式登录