
行动
准备防御
天主教大军很快就会带着建立宗教统治的疯狂企图蹂躏我们的国土。将每个省份都置于防御工事保护之下方为上策。
城堡建筑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
352allow = {
353scope:actor = {
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
}
}
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 = {
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 = {
}
412if = {
418province_capital = {
419construct_building = {
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
}