
Действие
Подготовить оборону
Вскоре на наши земли обрушатся бесчисленные толпы католиков, объятых безумным желанием установить верховенство своей религии. Разумно будет позаботиться о том, чтобы в каждой провинции была устроена надёжная оборона.
ЗамокСооружение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" Выберите Concept:
373column = {
374data = name
}
}
382select_trigger = {
383looking_for_a = province
384target_flag = target
385source = actor
386name = "choose_province" Выбор Concept
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 Каждый Concept в обозначенной Concept получит модификатор «Подготовка обороны» на 15 лет. При возможности в Concept будет построен замок по цене в –90% от базовой
}
431scope:actor = {
432change_societal_value = {
}
}
}
440ai_will_do = {
441add = 100
}