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_jap.162 大阪城建造

时间范围:1583.1.1 - 1610.1.1 (每月 10% 概率触发)

触发条件

  • 国家拥有统治者。
  • 国库黄金大于150。
  • 国家拥有大阪(osaka)地区。

关键效果

  • 选项 A:建造城堡!(历史选项)
    • 国库黄金减少150。
    • 获得少量威望加成(prestige_mild_bonus)。
    • 为大阪地区添加一个名为 jap_osaka_castle 的永久地点修正。
    • 如果大阪地区没有城堡(castle)或棱堡(bastion)建筑,则免费(cost_multiplier = 0)为其建造一座城堡。
    • 如果大阪地区已有城堡建筑,且国家已掌握棱堡科技(bastion_advance),则免费将城堡升级为棱堡。
  • 选项 B:我们无法腾出这些资源
    • 获得少量威望惩罚(prestige_mild_penalty)。

背景介绍: 此事件模拟了日本战国时代末期至江户时代初期,由丰臣秀吉主导的大阪城建造工程。大阪城始建于1583年,是丰臣政权的权力象征和军事要塞,其宏伟的规模和先进的防御设计在当时首屈一指。该事件反映了统治者通过投入巨资建造标志性建筑,以巩固权力、提升威望并加强核心地区防御的战略决策。

完整事件代码

flavor_jap.162 = { # Construction of Osaka Castle
	type = country_event
	title = flavor_jap.162.title
	desc = flavor_jap.162.desc

	fire_only_once = yes
	dynamic_historical_event = {
		tag = JAP
		from = 1583.1.1
		to = 1610.1.1
		monthly_chance = 10
	}

	trigger = {
		has_ruler = yes
		gold > 150
		owns = location:osaka
	}

	immediate = {
		location:osaka = {
			save_scope_as = target_location
		}
		ruler ?= {
			save_scope_as = our_ruler
		}
	}

	option = { # Construct the castle!
		name = flavor_jap.162.a
		historical_option = yes
		add_gold = -150
		add_prestige = prestige_mild_bonus
		location:osaka = {
			add_location_modifier = {
 				modifier = jap_osaka_castle
 				years = -1
 				mode = add
 			}
		}
		if = {
			limit = {
				NOR = {
					location:osaka = { has_building = building_type:castle }
					location:osaka = { has_building = building_type:bastion }
				}
			}
			location:osaka = {
				construct_building = {
					building_type = building_type:castle
					cost_multiplier = 0
					cost_multiplier_reason = "game_concept_event"
				}
			}
		}
		custom_tooltip = {
			text = flavor_jap.162.a.tt
			if = {
				limit = {
					location:osaka = { has_building = building_type:castle }
					has_advance = bastion_advance
				}
				location:osaka = {
					destroy_building = "building(building_type:castle|owner)"
					construct_building = {
						building_type = building_type:bastion
						cost_multiplier = 0
						cost_multiplier_reason = "game_concept_event"
					}
				}
			}
		}
	}
	option = { # We cannot afford to spare the resources
		name = flavor_jap.162.b
		add_prestige = prestige_mild_penalty
	}
}