内战代码:添加内战
添加内战的基本代码:
event = { id = civil_war.0 title = "添加内战" desc = "启动一场内战。" picture = GFX_civil_war is_triggered_only = yes trigger = { NOT = { has_country_flag = rebel_counter OR = { has_country_flag = rebels has_country_flag = rebels_on_map } } } immediate = { set_country_flag = rebels set_country_flag = rebels_on_map set_country_flag = rebel_counter } }
内战代码:添加起义国家
添加起义国家的基本代码:
event = { id = civil_war.01 title = "添加起义国家" desc = "将一个新国家添加到内战中。" picture = GFX_civil_war is_triggered_only = yes trigger = { country_event = { id = civil_war.0 } NOT = { has_country_flag = rebels OR = { has_country_flag = rebels_on_map } } } immediate = { set_country_flag = rebels set_country_flag = rebels_on_map } }
内战代码:设置叛军人数
设置叛乱者人数的基本代码:
event = { id = civil_war.02 title = "设置叛军人数" desc = "指定叛军控制的省份数量。" picture = GFX_civil_war is_triggered_only = yes trigger = { country_event = { id = civil_war.0 } } immediate = { increment_country_flag = rebel_counter } }
内战代码:叛军占领省份
让叛军占领省份的基本代码:
event = { id = civil_war.03 title = "叛军占领省份" desc = "将一个省份转让给叛军控制。" picture = GFX_civil_war is_triggered_only = yes trigger = { country_event = { id = civil_war.0 } has_country_flag = rebels has_country_flag = rebel_counter } immediate = { set_province_controller = rebels remove_province_controller = SOV } }
内战代码:给予叛军部队
给予叛军部队的基本代码:
event = { id = civil_war.04 title = "给予叛军部队" desc = "创建新的叛军部队并将其分配到省份。" picture = GFX_civil_war is_triggered_only = yes trigger = { country_event = { id = civil_war.0 } } immediate = { create_division = { template = rebels division = division_number controller = rebels } set_unit_province = { unit = division_number province = province_id } } }
- 随机文章
标签 钢铁雄心内战代码
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。