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_khm.1100 围城中的翡翠佛

时间范围:1340.1.1 - 1360.1.1(每月 40% 概率)

触发条件

  • 本国拥有 angkor 地区。
  • angkor 地区正处于围城状态。
  • 围城方中至少有一个单位的拥有者不是叛军国家。
  • angkor 地区中存在名为 emerald_buddha 的艺术品。

关键效果

  • angkor 地区中所有 emerald_buddha 艺术品移动到围城领导者(siege_leader)的首都。
  • 向围城领导者(siege_leader)静默触发事件 flavor_khm.1101

背景介绍: 该事件模拟了14世纪中叶,高棉帝国(KHM)核心地区 angkor 在被敌军围困期间,其国宝——翡翠佛可能面临的危机。作为重要的宗教与政治象征,翡翠佛在围城中的命运成为影响局势的关键。

完整事件代码

flavor_khm.1100 = { #The Emerald Buddha under siege
	type = country_event
	title = flavor_khm.1100.title
	desc = flavor_khm.1100.desc
	

	fire_only_once = yes

	dynamic_historical_event = {
		tag = KHM
		from = 1340.1.1 
		to = 1360.1.1
		monthly_chance = 40
	}

	illustration_tags = {
		10 = armed
		10 = exterior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:clergy_estate background = estate_type:clergy_estate }

		location:angkor = {
			save_scope_as = target_location
		}
		scope:target_location.siege = {
			random_besieging_unit = {
				owner = {
					save_scope_as = siege_leader
				}
			}
		}
		random_work_of_art = {
			limit = { this = work_of_art:emerald_buddha }
			save_scope_as = target_art
		}
	}

	trigger = {
		owns = location:angkor
		location:angkor = {
			has_siege = yes
			siege = {
				any_besieging_unit = {
					owner = {
						is_rebel_country = no
					}
				}
			}
			any_work_of_art_in_location = {
					this = work_of_art:emerald_buddha
			}
		}
	}

	option = {
		name = flavor_khm.1100.a

		scope:target_location = {
			every_work_of_art_in_location = {
				limit = {
					this = work_of_art:emerald_buddha
				}
				move_art = scope:siege_leader.capital
			}
		}
		scope:siege_leader = {
			trigger_event_silently = flavor_khm.1101
		}
	}
}