Advertisement
Guest User

Removecourtiers.txt

a guest
Dec 9th, 2014
1,760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. decisions = {
  2. #Remove unwanted courtiers decisions
  3. toggle_removal_decisions = { # I stole some HIP mod decision toggle :)
  4. potential = {
  5. ai = no
  6. }
  7. effect = {
  8. if = {
  9. limit = {
  10. NOT = { has_character_flag = enable_removal_decisions }
  11. }
  12. hidden_tooltip = {
  13. set_character_flag = enable_removal_decisions
  14. set_character_flag = enable_removal_decisions_temp
  15. }
  16. }
  17. if = {
  18. limit = {
  19. has_character_flag = enable_removal_decisions
  20. NOT = { has_character_flag = enable_removal_decisions_temp }
  21. }
  22. hidden_tooltip = {
  23. clr_character_flag = enable_removal_decisions
  24. }
  25. }
  26. clr_character_flag = enable_removal_decisions_temp
  27. }
  28.  
  29. ai_will_do = {
  30. factor = 0
  31. }
  32. }
  33.  
  34. remove_poor_stats_courtiers = {
  35. potential = {
  36. has_character_flag = enable_removal_decisions
  37. ai = no
  38. }
  39.  
  40. allow = {
  41. age = 16 # Let's not murder all the children
  42. NOT = { intrigue = 8 } #People below 8 in all stats are garbage
  43. NOT = { diplomacy = 8 }
  44. NOT = { learning = 8 }
  45. NOT = { martial = 8 }
  46. NOT = { stewardship = 8 }
  47. is_ruler = no #We are not going to murder your vassals too...
  48. is_councillor = no #... or your councilors ...
  49. NOT = { dynasty = ROOT } #... or your kinspersons ...
  50. NOT = { family = ROOT } #... or your non-dynastic family (ie. mother) ...
  51. OR = {
  52. spouse = { NOT = { dynasty = ROOT } } #... or your/ kinsperson spouses
  53. is_married = no
  54. }
  55. }
  56. effect = {
  57. any_courtier = {
  58. limit = {
  59. age = 16 # Let's not murder all the children
  60. NOT = { intrigue = 8 } #People below 8 in all stats are garbage
  61. NOT = { diplomacy = 8 }
  62. NOT = { learning = 8 }
  63. NOT = { martial = 8 }
  64. NOT = { stewardship = 8 }
  65. is_ruler = no #We are not going to murder your vassals too...
  66. is_councillor = no #... or your councilors ...
  67. NOT = { dynasty = ROOT } #... or your kinspersons ...
  68. NOT = { family = ROOT } #... or your non-dynastic family (ie. mother) ...
  69. OR = {
  70. spouse = { NOT = { dynasty = ROOT } } #... or your/ kinsperson spouses
  71. is_married = no
  72. }
  73. }
  74. death = { death_reason = death_execution killer = ROOT } # you can change the cause of death if you please
  75. }
  76. }
  77. ai_will_do = {
  78. factor = 0
  79. }
  80. }
  81. }
  82.  
  83. # Time for some nitpicking on specific courtiers!
  84. vassal_decisions = {
  85. removal_courtier = {
  86. potential = {
  87. liege = {
  88. has_character_flag = enable_removal_decisions
  89. ai = no
  90. }
  91. #Just preventing you from killing people abusively (Vassals,family members )
  92. is_ruler = no
  93. is_councillor = no
  94. NOT = { dynasty = ROOT }
  95. NOT = { family = ROOT }
  96. }
  97. effect = {
  98. ROOT = { death = { death_reason = death_execution killer = FROM } }
  99. }
  100. ai_will_do = {
  101. factor = 0
  102. }
  103. }
  104. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement