
Action
Fabriquer un Casus Belli de toutes pièces
Demander au Player Parliament d'approuver une Guerre en nous accordant un Casus belli légitime.
• Nous choisirons un pays n'étant pas Rebelle ou notre Vassal, au sein de notre Portée diplomatique, et avec qui nous n'avons pas de Trêve, contre qui obtenir un :
Casus belli Revendications de la province approuvées par le Parlement.
• Le Casus belli durera Define mois (Divide Int32 années).
Définitionin_game/common/generic_actions/parliament.txt:349
350type = parliament
351show_message_to_target = no
353sound = PARLIAMENT_PREPARE_FOR_WAR
355ai_tick = daily
356ai_tick_frequency = 30
357automation_tick = daily
358automation_tick_frequency = 7
359player_automated_category = parliament
362allow = {
363scope:actor = {
364country_type = location
365is_active_parliament = yes
}
}
372select_trigger = {
373looking_for_a = country
374ai_interaction_source_list = {
375scope:actor = {
376every_country_in_diplomatic_range = {
377limit = {
378scope:actor = {
379or = {
380wants_casus_belli_with = prev
381and = {
382NOT = {
382has_casus_belli_on = prev
}
383wants_to_attack = prev
}
}
}
}
388add_to_list = source
}
}
}
392target_flag = target
393pre_evaluation_sort_value = {
394if = {
395limit = {
396scope:target ?= {
397is_rival_of = scope:actor
}
}
400add = {
401desc = "game_concept_rival" Rival
402value = 100
}
}
405if = {
406limit = {
407exists = scope:actor
408exists = scope:target
}
410subtract = {
411desc = "OUR_OPINION_TOOLTIP" Notre Opinion sur lui
412value = "scope:actor.opinion(scope:target)"
413divide = 10
}
}
}
417pre_evaluation_number_to_evaluate_fully = 1
418name = "prepare_for_war_select_title" Choisir le Pays contre lequel obtenir un Casus belli
419none_available_msg_key = "prepare_for_war_no_countries"
420column = {
421data = name
}
423column = {
424data = population
}
426visible = {
427NOT = {
427has_target_casus_belli_on_us = root
}
428NOT = {
428has_truce_with = scope:actor
}
429NOT = {
429is_subject_of = scope:actor
}
430is_rebel_country = no
431scope:actor = {
432within_diplomatic_range = root
}
434capital = {
435is_discovered_by = scope:actor
}
}
}
440select_trigger = {
441looking_for_a = province
442source = target
443target_flag = target_province
444pre_evaluation_sort_value = {
445add = {
446value = {
447capital = {
448add = {
449value = "border_distance_to(scope:actor)"
450multiply = -1
}
}
}
}
456add = province_tax_base
}
458pre_evaluation_number_to_evaluate_fully = 1
459name = "prepare_for_war_select_province_title" Sélectionnez une Province à désigner comme Objectif de guerre
460none_available_msg_key = "no_valid_provinces"
461column = {
462data = name
}
464column = {
465data = population
}
467column = {
468data = province_our_primary_culture_percentage
}
470column = {
471data = province_tax_base
}
}
475effect = {
476scope:actor = {
477if = {
478limit = {
478exists = scope:target
478exists = scope:target_province
}
479add_casus_belli = {
480target = scope:target
482province = scope:target_province
}
}
485else = {
485custom_tooltip = select_a_country_to_get_casus_belli_on Choisissez le Pays contre lequel notre Player Parliament nous accordera un Casus belli.
}
486change_parliament_issue_support = {
488multiply = -1
}
}
}
493ai_will_do = {
494add = {
495value = 50
}
498if = {
499limit = {
500scope:actor = {
500ai_personality = ai_personality:ai_aggressive
}
}
503add = 250
}
506if = {
507limit = {
508scope:actor = {
508ai_personality = ai_personality:ai_expansionist
}
}
511add = 100
}
514if = {
515limit = {
516NOT = {
517scope:actor = {
518wants_to_attack = scope:target
}
}
}
522add = {
523value = -1000
524desc = "doesnt want CB"
}
}
527else = {
528add = {
529value = 1000
530desc = "we want to attack"
}
}
}