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_zan.7 索法拉与班迪雷的扩张

时间范围:1400.1.1 - 1500.1.1,每月 2% 概率触发

触发条件

  • 国家标签为 ZAN
  • 地点 bandire 无所有者。
  • 地点 sofala 的顶层所有者是 ZAN

关键效果

  • 选项 A
    1. target_location(即 bandire)与 sofala 之间修建一条碎石路。
    2. bandire 的所有权转移给 ZAN 或其附庸国 SFA(前提是 SFA 拥有 sofalasofala 是其首都)。
    3. 如果 ZAN 未完全控制 upper_save_province 省份,则对任何在该省份拥有地点且非 ZAN 或其附庸的国家,ZAN 获得针对该国的“征服省份”宣战理由,目标省份为 matendere 所在省份。

背景介绍: 在15世纪,桑给巴尔苏丹国(ZAN)的势力范围从索法拉海岸向内陆延伸。本事件模拟了桑给巴尔向班迪雷地区的扩张,旨在巩固其对内陆贸易路线和资源(可能指向 matendere 所在的 upper_save_province 省份)的控制。通过修建道路和获取领土,桑给巴尔试图加强其东非贸易网络的核心地位,并可能为此与阻碍其扩张的邻国发生冲突。

完整事件代码

flavor_zan.7 = {
	type = country_event
	title = flavor_zan.7.title
	desc = flavor_zan.7.desc
	fire_only_once = yes
	dynamic_historical_event = {
		tag = ZAN
		from = 1400.1.1
		to = 1500.1.1
		monthly_chance = 2
	}
	trigger = {
		location:bandire = {
			has_owner = no
		}
		location:sofala = {
			top_owner = root
		}
	}
	
	illustration_tags = {
        10 = regular
        10 = exterior
    }

	immediate = {
		event_illustration_poptype_effect = { foreground = pop_type:soldiers background = pop_type:burghers }
		location:bandire = { 
			save_scope_as = target_location
			
		}
		location:matendere = {
			province = { save_scope_as = target_province }
		}
	}

	option = {
		name = flavor_zan.7.a
		
		scope:target_location = { 
			add_road_to = {
				target = location:sofala
				type = gravel_road
			}
		}
		scope:target_location = {
			if = {
				limit = {
					c:SFA = {
						owns = location:sofala
						is_subject_of = root
						location:sofala = {
							is_capital = yes
						}
					}
				}
				change_location_owner = c:SFA
			}
			else = {
				change_location_owner = root
			}
		}
		if = {
			limit = {
				province_definition:upper_save_province = {
					any_location_in_province_definition = {
						NOT = { top_owner = root }
					}
				}
			}
			every_country = {
				limit = { 
					NOT = { tag = ZAN }
					NOT = { top_overlord ?= c:ZAN }
					any_owned_location = {
						this.province_definition = province_definition:upper_save_province
					}
				}
				c:ZAN = {
					add_casus_belli = {
						type = casus_belli:cb_conquer_province 
						province = location:matendere.province
						target = prev
					}
				}
			}
			
		}
	}
}