Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. nomad_invasion2 = {
  2. name = CB_NAME_INVASION
  3. war_name = WAR_NAME_INVASION
  4. sprite = 8
  5. truce_days = 365
  6. hostile_against_others = yes
  7. is_permanent = yes
  8. can_ask_to_join_war = yes
  9. check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of
  10.  
  11. selected character. Only valid if is_permanent = yes
  12.  
  13.  
  14. ai_will_do = { factor = 0}
  15.  
  16. can_use_gui = {
  17. ROOT = {
  18. prestige = 500
  19.  
  20. }
  21. }
  22.  
  23. on_add = {
  24. ROOT = { prestige = -500 }
  25. }
  26.  
  27. can_use = {
  28. ROOT = {
  29. NOR = {
  30. pays_tribute_to = FROM
  31. any_liege = {
  32. OR = {
  33. pays_tribute_to = FROM
  34. FROM = {
  35. pays_tribute_to = PREV
  36. }
  37. }
  38. }
  39. }
  40.  
  41.  
  42. }
  43.  
  44. ROOT = {
  45. NOT = { same_realm = FROM }
  46. }
  47. }
  48.  
  49. is_valid_title = {
  50. FROM = {
  51. any_realm_title = {
  52. de_jure_liege_or_above = PREVPREV
  53. }
  54. }
  55. }
  56.  
  57. on_success = {
  58. ROOT = {
  59. prestige = 200
  60. }
  61. any_attacker = {
  62. limit = { character = ROOT }
  63. participation_scaled_prestige = 200
  64. }
  65. any_attacker = {
  66. limit = { NOT = { character = ROOT } }
  67. hidden_tooltip = { participation_scaled_prestige = 200 }
  68. }
  69. FROM = {
  70. prestige = -200
  71. }
  72. hidden_tooltip = {
  73. ROOT = {
  74. occupy_minors_of_occupied_settlements = FROM
  75. gain_all_occupied_titles = { who = FROM type = invasion }
  76.  
  77. if = {
  78. limit = {
  79. has_nickname = no
  80. }
  81. random_list = {
  82. 10 = { give_nickname = nick_the_great }
  83. 10 = { give_nickname = nick_the_victorious }
  84. 10 = { give_nickname = nick_the_conqueror }
  85. 10 = { give_nickname = nick_the_brave }
  86. 10 = { give_nickname = nick_the_dragon }
  87. 10 = { give_nickname = nick_the_terrible }
  88. }
  89. }
  90. }
  91. }
  92. }
  93.  
  94. on_success_title = {
  95. custom_tooltip = {
  96. text = tribal_invasion_succ_tip
  97. hidden_tooltip = {
  98. ROOT = {
  99. vassalize_or_take_under_title_destroy_duchies = {
  100. title = PREV
  101. enemy = FROM
  102. is_crusade = yes # Even if the title holder is not participating in the war, gain
  103.  
  104. holdings occupied by all Crusade participants
  105. type = invasion
  106. }
  107. }
  108. }
  109. }
  110. }
  111.  
  112. on_fail = {
  113. FROM = {
  114. prestige = 100
  115.  
  116. hidden_tooltip = {
  117. if = {
  118. limit = {
  119. has_nickname = no
  120. }
  121. random_list = {
  122. 10 = { give_nickname = nick_the_great }
  123. 10 = { give_nickname = nick_the_hammer }
  124. 10 = { give_nickname = nick_the_avenger }
  125. 10 = { give_nickname = nick_the_lion }
  126. 10 = { give_nickname = nick_the_bold }
  127. }
  128. }
  129. }
  130. }
  131. any_defender = {
  132. limit = { character = FROM }
  133. participation_scaled_prestige = 100
  134. }
  135. any_defender = {
  136. limit = { NOT = { character = FROM } }
  137. hidden_tooltip = { participation_scaled_prestige = 100 }
  138. }
  139. ROOT = {
  140. prestige = -200
  141. }
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement