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_maj.22 马六甲建国

时间范围:1390.1.1 - 1410.1.1 (每月 10% 概率)

触发条件

  • 省份 malacca 必须:
    • 拥有所有者。
    • 其所有者不是触发事件的国家(ROOT)。
    • 其所有者当前未处于战争状态。
    • 其所有者的主流文化为 culture:malay_culture
  • 国家 SNG 必须存在且拥有统治者。

关键效果

  • 选项 A (flavor_maj.22.a)
    • 获得少量威望加成 (prestige_weak_bonus)。
  • 选项 B (flavor_maj.22.b)
    • 获得少量威望加成 (prestige_weak_bonus)。
    • 显示自定义提示文本 MAJ_we_will_play_as_malacca,并将当前国家(ROOT)保存为 player_to_switch(暗示可能切换扮演对象)。

背景介绍: 此事件模拟了14世纪末至15世纪初,马来世界政治格局演变的关键时刻。当时,位于新加坡的政权(SNG)面临抉择,其统治者可能考虑向马六甲地区扩张或迁移,以利用该地优越的贸易地理位置,这为后来强大的马六甲苏丹国的崛起埋下了伏笔。

完整事件代码

flavor_maj.22 = {
	type = country_event
	title = flavor_maj.22.title
	desc = flavor_maj.22.desc

	fire_only_once = yes
	dynamic_historical_event = {
		tag = MAJ
		from = 1390.1.1
		to = 1410.1.1
		monthly_chance = 10
	}

	trigger = {
		location:malacca = {
			has_owner = yes
			owner = {
				this != ROOT
				at_war = no
				culture = culture:malay_culture
			}
		}
		c:SNG ?= {
			has_ruler = yes
		}
	}

	immediate = {
		location:temasek = {
			save_scope_as = target_location
		}
		location:malacca = {
			save_scope_as = target_location2
			owner = {
				save_scope_as = target_country_to_interact_with
			}
		}

		c:SNG = {
			save_scope_as = target_country
		}

		c:SNG.ruler = {
			save_scope_as = target_character
		}
	}

	option = {
		name = flavor_maj.22.a

		add_prestige = prestige_weak_bonus
	}

	option = {
		name = flavor_maj.22.b

		add_prestige = prestige_weak_bonus
		custom_tooltip = {
			text = MAJ_we_will_play_as_malacca
			ROOT = {
				save_scope_as = player_to_switch
			}
		}
	}

	after = {
		hidden_effect = {
			scope:target_location2.owner = {
				trigger_event_non_silently = {
					id = flavor_maj.23
				}
			}
		}
	}
}