准备防御
行动

准备防御

prepare_defenses_hw_actionin_game/common/generic_actions/hussite_wars_actions.txt:335

天主教大军很快就会带着建立宗教统治的疯狂企图蹂躏我们的国土。将每个省份都置于防御工事保护之下方为上策。

需要城堡建筑effect天主教宗教potential胡斯战争局势select trigger 1防御准备就绪静态修正allow, select trigger 2

定义in_game/common/generic_actions/hussite_wars_actions.txt:335

336type = situation
337show_message = no
339ai_tick = monthly
340ai_tick_frequency = 6
342automation_tick = never
343automation_tick_frequency = 12
346potential = {
347scope:actor = {
348NOT = {
348religion = religion:catholic
}
}
}
352allow = {
353scope:actor = {
354any_province = {
355NOT = {
355has_province_modifier = hw_prepared_defenses_modifier
}
}
357gold > 100
}
}
360ai_tick = monthly
361ai_tick_frequency = 4
362price = price:hussite_wars_actions_price
364cooldown = {
365type = prepare_defenses_hw_action
366years = 5
}
369select_trigger = {
370looking_for_a = situation
371target_flag = recipient
372name = "choose_situation" 选择局势:
373column = {
374data = name
}
376visible = {
378situation_is_active = yes
}
}
382select_trigger = {
383looking_for_a = province
384target_flag = target
385source = actor
386name = "choose_province" 选择一个省份
387none_available_msg_key = "no_provinces_available"
388column = {
388data = name
}
389column = {
389data = population
}
390visible = {
391NOT = {
391has_province_modifier = hw_prepared_defenses_modifier
}
392NOT = {
393any_location_in_province = {
394is_ownable = yes
395owner = scope:actor
396NOT = {
396controller = scope:actor
}
}
}
}
}
401effect = {
402if = {
403limit = {
404exists = scope:target
}
406scope:target = {
407add_province_modifier = {
409mode = replace
410years = 15
}
412if = {
413limit = {
414province_capital = {
415NOT = {
415has_building = building_type:castle
}
}
}
418province_capital = {
419construct_building = {
420building_type = building_type:castle
421cost_multiplier = 0.1
422cost_multiplier_reason = "military_cheap_sponsorship"
}
}
}
}
}
428else = {
429custom_tooltip = prepare_defenses_hw_action_tt 指定省份的所有地点会获得防御准备就绪,持续15年,如果可能的话,会在省会修建城堡,基础花费降低‑90%
}
431scope:actor = {
432change_societal_value = {
}
}
}
440ai_will_do = {
441add = 100
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明