Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nomad_invasion2 = {
- name = CB_NAME_INVASION
- war_name = WAR_NAME_INVASION
- sprite = 8
- truce_days = 365
- hostile_against_others = yes
- is_permanent = yes
- can_ask_to_join_war = yes
- check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of
- selected character. Only valid if is_permanent = yes
- ai_will_do = { factor = 0}
- can_use_gui = {
- ROOT = {
- prestige = 500
- }
- }
- on_add = {
- ROOT = { prestige = -500 }
- }
- can_use = {
- ROOT = {
- NOR = {
- pays_tribute_to = FROM
- any_liege = {
- OR = {
- pays_tribute_to = FROM
- FROM = {
- pays_tribute_to = PREV
- }
- }
- }
- }
- }
- ROOT = {
- NOT = { same_realm = FROM }
- }
- }
- is_valid_title = {
- FROM = {
- any_realm_title = {
- de_jure_liege_or_above = PREVPREV
- }
- }
- }
- on_success = {
- ROOT = {
- prestige = 200
- }
- any_attacker = {
- limit = { character = ROOT }
- participation_scaled_prestige = 200
- }
- any_attacker = {
- limit = { NOT = { character = ROOT } }
- hidden_tooltip = { participation_scaled_prestige = 200 }
- }
- FROM = {
- prestige = -200
- }
- hidden_tooltip = {
- ROOT = {
- occupy_minors_of_occupied_settlements = FROM
- gain_all_occupied_titles = { who = FROM type = invasion }
- if = {
- limit = {
- has_nickname = no
- }
- random_list = {
- 10 = { give_nickname = nick_the_great }
- 10 = { give_nickname = nick_the_victorious }
- 10 = { give_nickname = nick_the_conqueror }
- 10 = { give_nickname = nick_the_brave }
- 10 = { give_nickname = nick_the_dragon }
- 10 = { give_nickname = nick_the_terrible }
- }
- }
- }
- }
- }
- on_success_title = {
- custom_tooltip = {
- text = tribal_invasion_succ_tip
- hidden_tooltip = {
- ROOT = {
- vassalize_or_take_under_title_destroy_duchies = {
- title = PREV
- enemy = FROM
- is_crusade = yes # Even if the title holder is not participating in the war, gain
- holdings occupied by all Crusade participants
- type = invasion
- }
- }
- }
- }
- }
- on_fail = {
- FROM = {
- prestige = 100
- hidden_tooltip = {
- if = {
- limit = {
- has_nickname = no
- }
- random_list = {
- 10 = { give_nickname = nick_the_great }
- 10 = { give_nickname = nick_the_hammer }
- 10 = { give_nickname = nick_the_avenger }
- 10 = { give_nickname = nick_the_lion }
- 10 = { give_nickname = nick_the_bold }
- }
- }
- }
- }
- any_defender = {
- limit = { character = FROM }
- participation_scaled_prestige = 100
- }
- any_defender = {
- limit = { NOT = { character = FROM } }
- hidden_tooltip = { participation_scaled_prestige = 100 }
- }
- ROOT = {
- prestige = -200
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement