Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flavor_chi.2211 中国宝船远征

时间范围
无明确 fromto 日期限制,事件通过其他机制触发。

触发条件

  • 事件通过 set_chinese_expedition_scopes = yes 设置相关作用域后触发。
  • 若玩家为非AI (is_ai = no),则会在事件插图中显示士兵人口类型的背景与前景效果。

关键效果

  • 选项:flavor_chi.2211.a
    • 若远征发起者 (expedition_initiator) 存在,且其拥有变量 chinese_treasure_fleet_location,且当前省份不等于该变量记录的省份:
      触发一次移民,在12个月内,将所有者为本国的市民阶层 (burghers) 人口从远征发起者所在省份迁移至宝船位置变量记录的省份,迁移比例为0.1%至0.5%。
    • 若远征发起者存在,但不满足上述条件:
      随机选择一个市民阶层人口,增加其人口规模0.3。

背景介绍
该事件模拟了中国明代宝船(郑和船队)远征的相关影响。宝船船队不仅进行远洋航行与外交,其活动也可能带动人口流动与经济交流,特别是市民阶层(商人、工匠等)可能随船队动向而迁移或聚集,以寻求新的贸易机会与定居点。

完整事件代码

flavor_chi.2211 = {
	type = country_event
	title = flavor_chi.2211.title
	desc = flavor_chi.2211.desc

	illustration_tags = {
        10 = regular
        10 = exterior
    }

	immediate = {
		set_chinese_expedition_scopes = yes
		if = {
			limit = {
				is_ai = no
			}
			event_illustration_poptype_background_effect = { background = pop_type:soldiers }
			scope:expedition_initiator = {
				event_illustration_poptype_foreground_effect = { foreground = pop_type:soldiers }
			}
		}
		
	}

	option = {
		name = flavor_chi.2211.a
		if = {
			limit = {
				exists = scope:expedition_initiator
				scope:expedition_initiator = {
					has_variable = chinese_treasure_fleet_location
					this != var:chinese_treasure_fleet_location.province_definition
				}
			}
			add_migration = {
				owner = ROOT
				from = scope:expedition_initiator.province_definition
				to = scope:expedition_initiator.var:chinese_treasure_fleet_location.province_definition
				type = pop_type:burghers
				amount = { 0.001 0.005 }
				months = 12
			}
		}
		else_if = {
			limit = { exists = scope:expedition_initiator }
			random_pop = {
				limit = { pop_type = pop_type:burghers }
				add_pop_size = {
					value = 0.3
				}
			}
		}
	}
	
	after = {
		visitation_event_pulse = yes
	}
}