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.2214 贿赂探险队

时间范围:无特定起止日期(动态事件)。当满足触发条件时,每月有概率触发(具体概率取决于游戏的事件脉冲系统,代码中未指定 monthly_chance)。

触发条件

  • 存在变量 chinese_expedition_opinion
  • 变量 chinese_expedition_opinion 的值小于或等于 -75。

关键效果

  • 选项 A (flavor_chi.2214.a)

    • 向探险队支付一笔贿赂金,金额为本国月度贸易与税收收入的三倍(local_var:bribe_amount)。
    • 提升探险队对我国的看法(increase_opinion_of_expedition = yes)。
    • AI选择此选项的权重基础为100,并受 chinese_expedition_positive_ai_weight 变量调整。
  • 选项 B (flavor_chi.2214.b)

    • 自定义提示:邻近国家可能获得针对我国的宣战理由(chi_neighboring_nations_might_get_cb_on_us)。
    • 探险发起国(expedition_initiator)会将我国(ROOT)加入其潜在敌人名单(potential_enemy_list)。
    • 中国宝船船队将从港口离开(chinese_treasure_depart_from_port = yes)。
    • AI选择此选项的权重基础为100,并受 chinese_expedition_very_negative_ai_weight 变量调整。

背景介绍: 当远道而来的中国宝船船队对当地统治者的态度变得极度不满时,紧张局势一触即发。船队的高级官员可能将这种恶劣关系视为对其使命和帝国威严的侮辱。为了缓和局势、避免冲突,船队可能会向当地统治者暗示或直接索要“礼物”或“补偿”。统治者面临抉择:是破财消灾,用巨额财富安抚这支强大的舰队以换取和平;还是强硬拒绝,宁愿承受船队愤然离去并可能引发外交乃至军事危机的风险。

完整事件代码

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

	trigger = {
		exists = var:chinese_expedition_opinion
		var:chinese_expedition_opinion <= -75
	}

	illustration_tags = {
        10 = angry
        10 = interior
    }

	immediate = {
		set_chinese_expedition_scopes = yes
		if = {
			limit = {
				is_ai = no
			}
			event_illustration_estate_background_effect = { background = estate_type:nobles_estate }
			scope:expedition_initiator = {
				event_illustration_estate_foreground_effect = { foreground = estate_type:nobles_estate }
			}
		}
		
		set_local_variable = {
			name = bribe_amount
			value = {
				value = monthly_income_trade_and_tax
				multiply = 3
			}
		}
	}

	option = {
		name = flavor_chi.2214.a

		ai_chance = {
			factor = 100
			modifier = {
				factor = {
					value = 1
					multiply = chinese_expedition_positive_ai_weight
				}
			}
		}
		
		give_gold_to_expedition = {
			value = local_var:bribe_amount
		}

		increase_opinion_of_expedition = yes
	}

	option = {
		name = flavor_chi.2214.b

		ai_chance = {
			factor = 100
			modifier = {
				factor = {
					value = 1
					multiply = chinese_expedition_very_negative_ai_weight
				}
			}
		}
		
		custom_tooltip = chi_neighboring_nations_might_get_cb_on_us
		scope:expedition_initiator = {
			add_to_variable_list = {
				name = potential_enemy_list
				target = ROOT
			}
		}
		chinese_treasure_depart_from_port = yes
	}
	
	after = {
		visitation_event_pulse = yes
	}
}