t_a_w

common/laws/demesne_laws.txt for sensible AI laws

Aug 5th, 2015
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.68 KB | None | 0 0
  1. laws = {
  2. centralization_0 = {
  3. group = centralization
  4. default = yes
  5. allow = {
  6. OR = {
  7. has_law = centralization_1
  8. AND = {
  9. NOT = {
  10. has_law = centralization_0
  11. }
  12. NOT = {
  13. has_law = centralization_1
  14. }
  15. NOT = {
  16. has_law = centralization_2
  17. }
  18. NOT = {
  19. has_law = centralization_3
  20. }
  21. NOT = {
  22. has_law = centralization_4
  23. }
  24. }
  25. }
  26. }
  27. potential = {
  28. higher_tier_than = count
  29. is_nomadic = no
  30. }
  31. revoke_allowed = {
  32. always = no
  33. }
  34. ai_will_do = {
  35. factor = 1
  36. modifier = {
  37. factor = 0.8
  38. }
  39. modifier = {
  40. factor = 0
  41. NOT = {
  42. OR = {
  43. AND = {
  44. has_law = centralization_1
  45. over_vassal_limit = -1
  46. over_max_demesne_size = -1
  47. }
  48. AND = {
  49. has_law = centralization_2
  50. over_vassal_limit = -6
  51. over_max_demesne_size = -2
  52. }
  53. AND = {
  54. has_law = centralization_3
  55. over_vassal_limit = -11
  56. over_max_demesne_size = -3
  57. }
  58. AND = {
  59. has_law = centralization_4
  60. over_vassal_limit = -16
  61. over_max_demesne_size = -4
  62. }
  63. }
  64. }
  65. }
  66. }
  67. ai_will_revoke = {
  68. factor = 0
  69. }
  70. effect = {
  71. hidden_tooltip = {
  72. revoke_law = centralization_0
  73. revoke_law = centralization_1
  74. revoke_law = centralization_2
  75. revoke_law = centralization_3
  76. revoke_law = centralization_4
  77. }
  78. }
  79. vassal_limit = 10
  80. }
  81. centralization_1 = {
  82. group = centralization
  83. allow = {
  84. OR = {
  85. has_law = centralization_0
  86. has_law = centralization_2
  87. }
  88. OR = {
  89. OR = {
  90. has_law = tribal_organization_1
  91. has_law = tribal_organization_2
  92. has_law = tribal_organization_3
  93. has_law = tribal_organization_4
  94. }
  95. holder_scope = {
  96. is_tribal = no
  97. }
  98. }
  99. }
  100. potential = {
  101. higher_tier_than = count
  102. is_nomadic = no
  103. }
  104. revoke_allowed = {
  105. always = no
  106. }
  107. ai_will_do = {
  108. factor = 1
  109. modifier = {
  110. factor = 0.9
  111. }
  112. modifier = {
  113. factor = 0
  114. NOT = {
  115. OR = {
  116. AND = {
  117. has_law = centralization_0
  118. over_vassal_limit = -1
  119. over_max_demesne_size = 1
  120. }
  121. AND = {
  122. has_law = centralization_2
  123. over_vassal_limit = 1
  124. over_max_demesne_size = -1
  125. }
  126. AND = {
  127. has_law = centralization_3
  128. over_vassal_limit = 6
  129. over_max_demesne_size = -2
  130. }
  131. AND = {
  132. has_law = centralization_4
  133. over_vassal_limit = 11
  134. over_max_demesne_size = -3
  135. }
  136. }
  137. }
  138. }
  139. }
  140. ai_will_revoke = {
  141. factor = 0
  142. }
  143. effect = {
  144. hidden_tooltip = {
  145. revoke_law = centralization_0
  146. revoke_law = centralization_1
  147. revoke_law = centralization_2
  148. revoke_law = centralization_3
  149. revoke_law = centralization_4
  150. }
  151. }
  152. vassal_limit = 5
  153. demesne_size = 1
  154. }
  155. centralization_2 = {
  156. group = centralization
  157. allow = {
  158. OR = {
  159. has_law = centralization_1
  160. has_law = centralization_3
  161. }
  162. OR = {
  163. OR = {
  164. has_law = tribal_organization_2
  165. has_law = tribal_organization_3
  166. has_law = tribal_organization_4
  167. }
  168. holder_scope = {
  169. is_tribal = no
  170. }
  171. }
  172. }
  173. potential = {
  174. higher_tier_than = count
  175. is_nomadic = no
  176. }
  177. revoke_allowed = {
  178. always = no
  179. }
  180. ai_will_do = {
  181. factor = 1
  182. modifier = {
  183. factor = 0
  184. NOT = {
  185. OR = {
  186. AND = {
  187. has_law = centralization_0
  188. over_vassal_limit = -6
  189. over_max_demesne_size = 2
  190. }
  191. AND = {
  192. has_law = centralization_1
  193. over_vassal_limit = -1
  194. over_max_demesne_size = 1
  195. }
  196. AND = {
  197. has_law = centralization_3
  198. over_vassal_limit = 1
  199. over_max_demesne_size = -1
  200. }
  201. AND = {
  202. has_law = centralization_4
  203. over_vassal_limit = 6
  204. over_max_demesne_size = -2
  205. }
  206. }
  207. }
  208. }
  209. }
  210. ai_will_revoke = {
  211. factor = 0
  212. }
  213. effect = {
  214. hidden_tooltip = {
  215. revoke_law = centralization_0
  216. revoke_law = centralization_1
  217. revoke_law = centralization_2
  218. revoke_law = centralization_3
  219. revoke_law = centralization_4
  220. }
  221. }
  222. vassal_limit = 0
  223. demesne_size = 2
  224. }
  225. centralization_3 = {
  226. group = centralization
  227. allow = {
  228. OR = {
  229. has_law = centralization_2
  230. has_law = centralization_4
  231. }
  232. OR = {
  233. OR = {
  234. has_law = tribal_organization_3
  235. has_law = tribal_organization_4
  236. }
  237. holder_scope = {
  238. is_tribal = no
  239. }
  240. }
  241. }
  242. potential = {
  243. higher_tier_than = count
  244. is_nomadic = no
  245. }
  246. revoke_allowed = {
  247. always = no
  248. }
  249. ai_will_do = {
  250. factor = 1
  251. modifier = {
  252. factor = 0.9
  253. }
  254. modifier = {
  255. factor = 0
  256. NOT = {
  257. OR = {
  258. AND = {
  259. has_law = centralization_0
  260. over_vassal_limit = -11
  261. over_max_demesne_size = 3
  262. }
  263. AND = {
  264. has_law = centralization_1
  265. over_vassal_limit = -6
  266. over_max_demesne_size = 2
  267. }
  268. AND = {
  269. has_law = centralization_2
  270. over_vassal_limit = -1
  271. over_max_demesne_size = 1
  272. }
  273. AND = {
  274. has_law = centralization_4
  275. over_vassal_limit = 1
  276. over_max_demesne_size = -1
  277. }
  278. }
  279. }
  280. }
  281. }
  282. ai_will_revoke = {
  283. factor = 0
  284. }
  285. effect = {
  286. hidden_tooltip = {
  287. revoke_law = centralization_0
  288. revoke_law = centralization_1
  289. revoke_law = centralization_2
  290. revoke_law = centralization_3
  291. revoke_law = centralization_4
  292. }
  293. }
  294. vassal_limit = -5
  295. demesne_size = 3
  296. }
  297. centralization_4 = {
  298. group = centralization
  299. allow = {
  300. has_law = centralization_3
  301. OR = {
  302. OR = {
  303. has_law = tribal_organization_4
  304. }
  305. holder_scope = {
  306. is_tribal = no
  307. }
  308. }
  309. }
  310. potential = {
  311. higher_tier_than = count
  312. is_nomadic = no
  313. }
  314. revoke_allowed = {
  315. always = no
  316. }
  317. ai_will_do = {
  318. factor = 1
  319. modifier = {
  320. factor = 0.8
  321. }
  322. modifier = {
  323. factor = 0
  324. NOT = {
  325. OR = {
  326. AND = {
  327. has_law = centralization_0
  328. over_vassal_limit = -16
  329. over_max_demesne_size = 4
  330. }
  331. AND = {
  332. has_law = centralization_1
  333. over_vassal_limit = -11
  334. over_max_demesne_size = 3
  335. }
  336. AND = {
  337. has_law = centralization_2
  338. over_vassal_limit = -6
  339. over_max_demesne_size = 2
  340. }
  341. AND = {
  342. has_law = centralization_3
  343. over_vassal_limit = -1
  344. over_max_demesne_size = 1
  345. }
  346. }
  347. }
  348. }
  349. }
  350. ai_will_revoke = {
  351. factor = 0
  352. }
  353. effect = {
  354. hidden_tooltip = {
  355. revoke_law = centralization_0
  356. revoke_law = centralization_1
  357. revoke_law = centralization_2
  358. revoke_law = centralization_3
  359. revoke_law = centralization_4
  360. }
  361. }
  362. vassal_limit = -10
  363. demesne_size = 4
  364. }
  365. tribal_organization_0 = {
  366. group = tribal_organization
  367. default = yes
  368. unreformed_tribal_opinion = 5
  369. allow = {
  370. OR = {
  371. has_law = tribal_organization_1
  372. AND = {
  373. NOT = {
  374. has_law = tribal_organization_0
  375. }
  376. NOT = {
  377. has_law = tribal_organization_1
  378. }
  379. NOT = {
  380. has_law = tribal_organization_2
  381. }
  382. NOT = {
  383. has_law = tribal_organization_3
  384. }
  385. NOT = {
  386. has_law = tribal_organization_4
  387. }
  388. }
  389. }
  390. }
  391. potential = {
  392. holder_scope = {
  393. is_tribal = yes
  394. higher_tier_than = count
  395. }
  396. }
  397. revoke_allowed = {
  398. always = no
  399. }
  400. ai_will_do = {
  401. factor = 1
  402. modifier = {
  403. factor = 0
  404. has_law = tribal_organization_1
  405. holder_scope = {
  406. NOT = {
  407. any_vassal = {
  408. is_tribal = yes
  409. dislike_tribal_organization = yes
  410. NOT = {
  411. opinion = {
  412. who = liege
  413. value = 0
  414. }
  415. }
  416. }
  417. }
  418. }
  419. }
  420. modifier = {
  421. factor = 0.5
  422. has_law = tribal_organization_1
  423. dislike_tribal_organization = no
  424. }
  425. }
  426. ai_will_revoke = {
  427. factor = 0
  428. }
  429. effect = {
  430. hidden_tooltip = {
  431. revoke_law = tribal_organization_0
  432. revoke_law = tribal_organization_1
  433. revoke_law = tribal_organization_2
  434. revoke_law = tribal_organization_3
  435. revoke_law = tribal_organization_4
  436. revoke_law = tribal_contract_0
  437. revoke_law = tribal_contract_1
  438. revoke_law = tribal_contract_2
  439. revoke_law = tribal_contract_3
  440. revoke_law = tribal_tax_0
  441. revoke_law = tribal_tax_1
  442. revoke_law = tribal_tax_2
  443. revoke_law = tribal_tax_3
  444. if = {
  445. limit = {
  446. OR = {
  447. has_law = centralization_1
  448. has_law = centralization_2
  449. has_law = centralization_3
  450. has_law = centralization_4
  451. }
  452. }
  453. add_law = centralization_0
  454. }
  455. }
  456. set_allow_title_revokation = no
  457. set_allow_free_infidel_revokation = no
  458. if = {
  459. limit = {
  460. OR = {
  461. has_law = tribal_organization_1
  462. }
  463. }
  464. custom_tooltip = {
  465. text = disables_centralization_1
  466. }
  467. }
  468. if = {
  469. limit = {
  470. OR = {
  471. has_law = tribal_organization_2
  472. }
  473. }
  474. custom_tooltip = {
  475. text = disables_centralization_2
  476. }
  477. }
  478. if = {
  479. limit = {
  480. OR = {
  481. has_law = tribal_organization_3
  482. }
  483. }
  484. custom_tooltip = {
  485. text = disables_centralization_3
  486. }
  487. custom_tooltip = {
  488. text = disables_tribal_levy_laws
  489. }
  490. custom_tooltip = {
  491. text = disables_tribal_tax_laws
  492. }
  493. }
  494. if = {
  495. limit = {
  496. OR = {
  497. has_law = tribal_organization_4
  498. }
  499. }
  500. custom_tooltip = {
  501. text = disables_centralization_4
  502. }
  503. }
  504. set_tribal_vassal_levy_control = no
  505. set_tribal_vassal_tax_income = no
  506. if = {
  507. limit = {
  508. OR = {
  509. has_law = tribal_organization_4
  510. }
  511. }
  512. custom_tooltip = {
  513. text = disallows_change_government
  514. }
  515. }
  516. }
  517. }
  518. tribal_organization_1 = {
  519. group = tribal_organization
  520. unreformed_tribal_opinion = -5
  521. allow = {
  522. OR = {
  523. has_law = tribal_organization_0
  524. has_law = tribal_organization_2
  525. }
  526. }
  527. potential = {
  528. holder_scope = {
  529. is_tribal = yes
  530. higher_tier_than = count
  531. }
  532. }
  533. revoke_allowed = {
  534. always = no
  535. }
  536. ai_will_do = {
  537. factor = 1
  538. modifier = {
  539. factor = 0.5
  540. has_law = tribal_organization_0
  541. holder_scope = {
  542. any_vassal = {
  543. is_tribal = yes
  544. dislike_tribal_organization = yes
  545. NOT = {
  546. opinion = {
  547. who = liege
  548. value = 10
  549. }
  550. }
  551. }
  552. }
  553. }
  554. modifier = {
  555. factor = 0
  556. has_law = tribal_organization_2
  557. holder_scope = {
  558. NOT = {
  559. any_vassal = {
  560. is_tribal = yes
  561. dislike_tribal_organization = yes
  562. NOT = {
  563. opinion = {
  564. who = liege
  565. value = 0
  566. }
  567. }
  568. }
  569. }
  570. }
  571. }
  572. modifier = {
  573. factor = 2
  574. has_law = tribal_organization_0
  575. dislike_tribal_organization = no
  576. }
  577. modifier = {
  578. factor = 0.5
  579. has_law = tribal_organization_2
  580. dislike_tribal_organization = no
  581. }
  582. }
  583. ai_will_revoke = {
  584. factor = 0
  585. }
  586. pass_effect = {
  587. hidden_tooltip = {
  588. if = {
  589. limit = {
  590. has_law = tribal_organization_0
  591. }
  592. holder_scope = {
  593. any_vassal = {
  594. limit = {
  595. is_tribal = yes
  596. dislike_tribal_organization = yes
  597. }
  598. opinion = {
  599. who = ROOT
  600. modifier = opinion_increased_tribal_organization
  601. months = 60
  602. }
  603. }
  604. }
  605. }
  606. }
  607. }
  608. effect = {
  609. hidden_tooltip = {
  610. revoke_law = tribal_organization_0
  611. revoke_law = tribal_organization_1
  612. revoke_law = tribal_organization_2
  613. revoke_law = tribal_organization_3
  614. revoke_law = tribal_organization_4
  615. revoke_law = tribal_contract_0
  616. revoke_law = tribal_contract_1
  617. revoke_law = tribal_contract_2
  618. revoke_law = tribal_contract_3
  619. revoke_law = tribal_tax_0
  620. revoke_law = tribal_tax_1
  621. revoke_law = tribal_tax_2
  622. revoke_law = tribal_tax_3
  623. if = {
  624. limit = {
  625. OR = {
  626. has_law = centralization_2
  627. has_law = centralization_3
  628. has_law = centralization_4
  629. }
  630. }
  631. add_law = centralization_1
  632. }
  633. }
  634. set_allow_title_revokation = yes
  635. if = {
  636. limit = {
  637. OR = {
  638. has_law = tribal_organization_0
  639. }
  640. }
  641. custom_tooltip = {
  642. text = enables_centralization_1
  643. }
  644. }
  645. if = {
  646. limit = {
  647. OR = {
  648. has_law = tribal_organization_2
  649. }
  650. }
  651. custom_tooltip = {
  652. text = disables_centralization_2
  653. }
  654. }
  655. if = {
  656. limit = {
  657. OR = {
  658. has_law = tribal_organization_3
  659. }
  660. }
  661. custom_tooltip = {
  662. text = disables_centralization_3
  663. }
  664. custom_tooltip = {
  665. text = disables_tribal_levy_laws
  666. }
  667. custom_tooltip = {
  668. text = disables_tribal_tax_laws
  669. }
  670. }
  671. if = {
  672. limit = {
  673. OR = {
  674. has_law = tribal_organization_4
  675. }
  676. }
  677. custom_tooltip = {
  678. text = disables_centralization_4
  679. }
  680. }
  681. set_allow_free_infidel_revokation = no
  682. set_tribal_vassal_levy_control = no
  683. set_tribal_vassal_tax_income = no
  684. if = {
  685. limit = {
  686. OR = {
  687. has_law = tribal_organization_4
  688. }
  689. }
  690. custom_tooltip = {
  691. text = disallows_change_government
  692. }
  693. }
  694. }
  695. }
  696. tribal_organization_2 = {
  697. group = tribal_organization
  698. unreformed_tribal_opinion = -10
  699. allow = {
  700. OR = {
  701. has_law = tribal_organization_1
  702. has_law = tribal_organization_3
  703. }
  704. }
  705. potential = {
  706. holder_scope = {
  707. is_tribal = yes
  708. higher_tier_than = count
  709. }
  710. }
  711. revoke_allowed = {
  712. always = no
  713. }
  714. ai_will_do = {
  715. factor = 1
  716. modifier = {
  717. factor = 0.5
  718. has_law = tribal_organization_1
  719. holder_scope = {
  720. any_vassal = {
  721. is_tribal = yes
  722. dislike_tribal_organization = yes
  723. NOT = {
  724. opinion = {
  725. who = liege
  726. value = 5
  727. }
  728. }
  729. }
  730. }
  731. }
  732. modifier = {
  733. factor = 0
  734. has_law = tribal_organization_3
  735. holder_scope = {
  736. NOT = {
  737. any_vassal = {
  738. is_tribal = yes
  739. dislike_tribal_organization = yes
  740. NOT = {
  741. opinion = {
  742. who = liege
  743. value = 0
  744. }
  745. }
  746. }
  747. }
  748. }
  749. }
  750. modifier = {
  751. factor = 2
  752. has_law = tribal_organization_1
  753. dislike_tribal_organization = no
  754. }
  755. modifier = {
  756. factor = 0.5
  757. has_law = tribal_organization_3
  758. dislike_tribal_organization = no
  759. }
  760. }
  761. ai_will_revoke = {
  762. factor = 0
  763. }
  764. pass_effect = {
  765. hidden_tooltip = {
  766. if = {
  767. limit = {
  768. has_law = tribal_organization_1
  769. }
  770. holder_scope = {
  771. any_vassal = {
  772. limit = {
  773. is_tribal = yes
  774. dislike_tribal_organization = yes
  775. }
  776. opinion = {
  777. who = ROOT
  778. modifier = opinion_increased_tribal_organization
  779. months = 60
  780. }
  781. }
  782. }
  783. }
  784. }
  785. }
  786. effect = {
  787. hidden_tooltip = {
  788. revoke_law = tribal_organization_0
  789. revoke_law = tribal_organization_1
  790. revoke_law = tribal_organization_2
  791. revoke_law = tribal_organization_3
  792. revoke_law = tribal_organization_4
  793. revoke_law = tribal_contract_0
  794. revoke_law = tribal_contract_1
  795. revoke_law = tribal_contract_2
  796. revoke_law = tribal_contract_3
  797. revoke_law = tribal_tax_0
  798. revoke_law = tribal_tax_1
  799. revoke_law = tribal_tax_2
  800. revoke_law = tribal_tax_3
  801. if = {
  802. limit = {
  803. OR = {
  804. has_law = centralization_3
  805. has_law = centralization_4
  806. }
  807. }
  808. add_law = centralization_2
  809. }
  810. }
  811. set_allow_title_revokation = yes
  812. set_allow_free_infidel_revokation = yes
  813. if = {
  814. limit = {
  815. OR = {
  816. has_law = tribal_organization_0
  817. has_law = tribal_organization_1
  818. }
  819. }
  820. custom_tooltip = {
  821. text = enables_centralization_2
  822. }
  823. }
  824. if = {
  825. limit = {
  826. OR = {
  827. has_law = tribal_organization_3
  828. }
  829. }
  830. custom_tooltip = {
  831. text = disables_centralization_3
  832. }
  833. custom_tooltip = {
  834. text = disables_tribal_levy_laws
  835. }
  836. custom_tooltip = {
  837. text = disables_tribal_tax_laws
  838. }
  839. }
  840. if = {
  841. limit = {
  842. OR = {
  843. has_law = tribal_organization_4
  844. }
  845. }
  846. custom_tooltip = {
  847. text = disables_centralization_4
  848. }
  849. }
  850. set_tribal_vassal_levy_control = no
  851. set_tribal_vassal_tax_income = no
  852. if = {
  853. limit = {
  854. OR = {
  855. has_law = tribal_organization_4
  856. }
  857. }
  858. custom_tooltip = {
  859. text = disallows_change_government
  860. }
  861. }
  862. }
  863. }
  864. tribal_organization_3 = {
  865. group = tribal_organization
  866. unreformed_tribal_opinion = -20
  867. allow = {
  868. OR = {
  869. has_law = tribal_organization_2
  870. has_law = tribal_organization_4
  871. }
  872. }
  873. potential = {
  874. holder_scope = {
  875. is_tribal = yes
  876. higher_tier_than = count
  877. }
  878. }
  879. revoke_allowed = {
  880. always = no
  881. }
  882. ai_will_do = {
  883. factor = 1
  884. modifier = {
  885. factor = 0.5
  886. has_law = tribal_organization_2
  887. holder_scope = {
  888. any_vassal = {
  889. is_tribal = yes
  890. dislike_tribal_organization = yes
  891. NOT = {
  892. opinion = {
  893. who = liege
  894. value = 10
  895. }
  896. }
  897. }
  898. }
  899. }
  900. modifier = {
  901. factor = 0
  902. has_law = tribal_organization_4
  903. holder_scope = {
  904. NOT = {
  905. any_vassal = {
  906. is_tribal = yes
  907. dislike_tribal_organization = yes
  908. NOT = {
  909. opinion = {
  910. who = liege
  911. value = 0
  912. }
  913. }
  914. }
  915. }
  916. }
  917. }
  918. modifier = {
  919. factor = 2
  920. has_law = tribal_organization_2
  921. dislike_tribal_organization = no
  922. }
  923. modifier = {
  924. factor = 0.5
  925. has_law = tribal_organization_4
  926. dislike_tribal_organization = no
  927. }
  928. }
  929. ai_will_revoke = {
  930. factor = 0
  931. }
  932. pass_effect = {
  933. hidden_tooltip = {
  934. if = {
  935. limit = {
  936. has_law = tribal_organization_2
  937. }
  938. holder_scope = {
  939. any_vassal = {
  940. limit = {
  941. is_tribal = yes
  942. dislike_tribal_organization = yes
  943. }
  944. opinion = {
  945. who = ROOT
  946. modifier = opinion_increased_tribal_organization
  947. months = 60
  948. }
  949. }
  950. }
  951. }
  952. }
  953. }
  954. effect = {
  955. hidden_tooltip = {
  956. revoke_law = tribal_organization_0
  957. revoke_law = tribal_organization_1
  958. revoke_law = tribal_organization_2
  959. revoke_law = tribal_organization_3
  960. revoke_law = tribal_organization_4
  961. if = {
  962. limit = {
  963. OR = {
  964. has_law = centralization_4
  965. }
  966. }
  967. add_law = centralization_3
  968. }
  969. }
  970. set_allow_title_revokation = yes
  971. set_allow_free_infidel_revokation = yes
  972. set_tribal_vassal_levy_control = yes
  973. set_tribal_vassal_tax_income = yes
  974. if = {
  975. limit = {
  976. OR = {
  977. has_law = tribal_organization_0
  978. has_law = tribal_organization_1
  979. has_law = tribal_organization_2
  980. }
  981. }
  982. custom_tooltip = {
  983. text = enables_tribal_levy_laws
  984. }
  985. custom_tooltip = {
  986. text = enables_tribal_tax_laws
  987. }
  988. hidden_tooltip = {
  989. add_law = tribal_contract_0
  990. add_law = tribal_tax_0
  991. }
  992. custom_tooltip = {
  993. text = enables_centralization_3
  994. }
  995. }
  996. if = {
  997. limit = {
  998. OR = {
  999. has_law = tribal_organization_4
  1000. }
  1001. }
  1002. custom_tooltip = {
  1003. text = disables_centralization_4
  1004. }
  1005. }
  1006. if = {
  1007. limit = {
  1008. OR = {
  1009. has_law = tribal_organization_4
  1010. }
  1011. }
  1012. custom_tooltip = {
  1013. text = disallows_change_government
  1014. }
  1015. }
  1016. }
  1017. }
  1018. tribal_organization_4 = {
  1019. group = tribal_organization
  1020. unreformed_tribal_opinion = -30
  1021. allow = {
  1022. has_law = tribal_organization_3
  1023. }
  1024. potential = {
  1025. holder_scope = {
  1026. is_tribal = yes
  1027. higher_tier_than = count
  1028. }
  1029. }
  1030. revoke_allowed = {
  1031. always = no
  1032. }
  1033. ai_will_do = {
  1034. factor = 1
  1035. modifier = {
  1036. factor = 0.5
  1037. has_law = tribal_organization_3
  1038. holder_scope = {
  1039. any_vassal = {
  1040. is_tribal = yes
  1041. dislike_tribal_organization = yes
  1042. NOT = {
  1043. opinion = {
  1044. who = liege
  1045. value = 10
  1046. }
  1047. }
  1048. }
  1049. }
  1050. }
  1051. modifier = {
  1052. factor = 2
  1053. has_law = tribal_organization_3
  1054. dislike_tribal_organization = no
  1055. }
  1056. }
  1057. ai_will_revoke = {
  1058. factor = 0
  1059. }
  1060. pass_effect = {
  1061. hidden_tooltip = {
  1062. if = {
  1063. limit = {
  1064. has_law = tribal_organization_3
  1065. }
  1066. holder_scope = {
  1067. any_vassal = {
  1068. limit = {
  1069. is_tribal = yes
  1070. dislike_tribal_organization = yes
  1071. }
  1072. opinion = {
  1073. who = ROOT
  1074. modifier = opinion_increased_tribal_organization
  1075. months = 60
  1076. }
  1077. }
  1078. }
  1079. }
  1080. }
  1081. }
  1082. effect = {
  1083. hidden_tooltip = {
  1084. revoke_law = tribal_organization_0
  1085. revoke_law = tribal_organization_1
  1086. revoke_law = tribal_organization_2
  1087. revoke_law = tribal_organization_3
  1088. revoke_law = tribal_organization_4
  1089. }
  1090. set_allow_title_revokation = yes
  1091. set_allow_free_infidel_revokation = yes
  1092. set_tribal_vassal_levy_control = yes
  1093. set_tribal_vassal_tax_income = yes
  1094. if = {
  1095. limit = {
  1096. OR = {
  1097. has_law = tribal_organization_0
  1098. has_law = tribal_organization_1
  1099. has_law = tribal_organization_2
  1100. has_law = tribal_organization_3
  1101. }
  1102. }
  1103. custom_tooltip = {
  1104. text = enables_centralization_4
  1105. }
  1106. }
  1107. if = {
  1108. limit = {
  1109. OR = {
  1110. has_law = tribal_organization_0
  1111. has_law = tribal_organization_1
  1112. has_law = tribal_organization_2
  1113. }
  1114. }
  1115. custom_tooltip = {
  1116. text = enables_tribal_levy_laws
  1117. }
  1118. custom_tooltip = {
  1119. text = enables_tribal_tax_laws
  1120. }
  1121. hidden_tooltip = {
  1122. add_law = tribal_contract_0
  1123. add_law = tribal_tax_0
  1124. }
  1125. }
  1126. if = {
  1127. limit = {
  1128. OR = {
  1129. has_law = tribal_organization_0
  1130. has_law = tribal_organization_1
  1131. has_law = tribal_organization_2
  1132. has_law = tribal_organization_3
  1133. }
  1134. }
  1135. custom_tooltip = {
  1136. text = allows_change_government
  1137. }
  1138. }
  1139. }
  1140. }
  1141. vice_royalty_0 = {
  1142. group = vice_royalty
  1143. default = yes
  1144. potential = {
  1145. higher_tier_than = king
  1146. holder_scope = {
  1147. independent = yes
  1148. is_feudal = yes
  1149. }
  1150. has_dlc = Charlemagne
  1151. }
  1152. revoke_allowed = {
  1153. always = no
  1154. }
  1155. ai_will_do = {
  1156. factor = 0
  1157. }
  1158. ai_will_revoke = {
  1159. factor = 0
  1160. }
  1161. effect = {
  1162. hidden_tooltip = {
  1163. revoke_law = vice_royalty_0
  1164. revoke_law = vice_royalty_1
  1165. revoke_law = vice_royalty_2
  1166. }
  1167. set_allow_vice_royalties = no
  1168. }
  1169. }
  1170. vice_royalty_1 = {
  1171. group = vice_royalty
  1172. potential = {
  1173. higher_tier_than = king
  1174. holder_scope = {
  1175. independent = yes
  1176. is_feudal = yes
  1177. }
  1178. has_dlc = Charlemagne
  1179. }
  1180. revoke_allowed = {
  1181. always = no
  1182. }
  1183. ai_will_do = {
  1184. factor = 2
  1185. modifier = {
  1186. factor = 0
  1187. has_law = vice_royalty_2
  1188. }
  1189. modifier = {
  1190. factor = 0
  1191. AND = {
  1192. has_law = vice_royalty_0
  1193. over_vassal_limit = -5
  1194. }
  1195. }
  1196. }
  1197. ai_will_revoke = {
  1198. factor = 0
  1199. }
  1200. effect = {
  1201. hidden_tooltip = {
  1202. revoke_law = vice_royalty_0
  1203. revoke_law = vice_royalty_1
  1204. revoke_law = vice_royalty_2
  1205. }
  1206. set_allow_vice_royalties = king
  1207. }
  1208. vassal_limit = -5
  1209. }
  1210. vice_royalty_2 = {
  1211. group = vice_royalty
  1212. potential = {
  1213. higher_tier_than = king
  1214. holder_scope = {
  1215. independent = yes
  1216. is_feudal = yes
  1217. }
  1218. has_dlc = Charlemagne
  1219. }
  1220. revoke_allowed = {
  1221. always = no
  1222. }
  1223. ai_will_do = {
  1224. factor = 3
  1225. modifier = {
  1226. factor = 0
  1227. AND = {
  1228. has_law = vice_royalty_0
  1229. over_vassal_limit = -10
  1230. }
  1231. }
  1232. modifier = {
  1233. factor = 0
  1234. AND = {
  1235. has_law = vice_royalty_1
  1236. over_vassal_limit = -5
  1237. }
  1238. }
  1239. }
  1240. ai_will_revoke = {
  1241. factor = 0
  1242. }
  1243. effect = {
  1244. hidden_tooltip = {
  1245. revoke_law = vice_royalty_0
  1246. revoke_law = vice_royalty_1
  1247. revoke_law = vice_royalty_2
  1248. }
  1249. set_allow_vice_royalties = duke
  1250. }
  1251. vassal_limit = -10
  1252. }
  1253. feudal_administration = {
  1254. group = administration
  1255. potential = {
  1256. higher_tier_than = king
  1257. holder_scope = {
  1258. independent = yes
  1259. is_feudal = yes
  1260. }
  1261. }
  1262. revoke_allowed = {
  1263. always = no
  1264. }
  1265. ai_will_do = {
  1266. factor = 0
  1267. }
  1268. ai_will_revoke = {
  1269. factor = 0
  1270. }
  1271. effect = {
  1272. hidden_tooltip = {
  1273. revoke_law = imperial_administration
  1274. }
  1275. if = {
  1276. limit = {
  1277. NOT = {
  1278. has_dlc = Charlemagne
  1279. }
  1280. }
  1281. set_allow_free_duchy_revokation = no
  1282. }
  1283. if = {
  1284. limit = {
  1285. has_dlc = Charlemagne
  1286. }
  1287. set_allow_free_vice_royalty_revokation = no
  1288. }
  1289. }
  1290. }
  1291. imperial_administration = {
  1292. group = administration
  1293. allow = {
  1294. has_law = crown_authority_4
  1295. }
  1296. potential = {
  1297. higher_tier_than = king
  1298. holder_scope = {
  1299. independent = yes
  1300. is_feudal = yes
  1301. }
  1302. }
  1303. revoke_allowed = {
  1304. always = no
  1305. }
  1306. ai_will_do = {
  1307. factor = 10
  1308. }
  1309. ai_will_revoke = {
  1310. factor = 0
  1311. }
  1312. effect = {
  1313. hidden_tooltip = {
  1314. revoke_law = feudal_administration
  1315. }
  1316. if = {
  1317. limit = {
  1318. NOT = {
  1319. has_dlc = Charlemagne
  1320. }
  1321. }
  1322. set_allow_free_duchy_revokation = yes
  1323. }
  1324. if = {
  1325. limit = {
  1326. has_dlc = Charlemagne
  1327. }
  1328. add_law = vice_royalty_2
  1329. set_allow_free_vice_royalty_revokation = yes
  1330. }
  1331. }
  1332. vassal_limit = 25
  1333. feudal_opinion = -10
  1334. }
  1335. feudal_contract_0 = {
  1336. group = feudal_contract
  1337. feudal_opinion = 10
  1338. potential = {
  1339. OR = {
  1340. NOT = {
  1341. tier = baron
  1342. }
  1343. holder_scope = {
  1344. is_patrician = yes
  1345. }
  1346. }
  1347. NOT = {
  1348. holder_scope = {
  1349. religion_group = muslim
  1350. }
  1351. }
  1352. }
  1353. revoke_allowed = {
  1354. always = no
  1355. }
  1356. ai_will_do = {
  1357. factor = 0
  1358. }
  1359. ai_will_revoke = {
  1360. factor = 0
  1361. }
  1362. effect = {
  1363. hidden_tooltip = {
  1364. revoke_law = feudal_contract_0
  1365. revoke_law = feudal_contract_1
  1366. revoke_law = feudal_contract_2
  1367. revoke_law = feudal_contract_3
  1368. }
  1369. }
  1370. castle_vassal_max_levy = -0.4
  1371. }
  1372. feudal_contract_1 = {
  1373. group = feudal_contract
  1374. feudal_opinion = 5
  1375. potential = {
  1376. OR = {
  1377. NOT = {
  1378. tier = baron
  1379. }
  1380. holder_scope = {
  1381. is_patrician = yes
  1382. }
  1383. }
  1384. NOT = {
  1385. holder_scope = {
  1386. religion_group = muslim
  1387. }
  1388. }
  1389. }
  1390. revoke_allowed = {
  1391. always = no
  1392. }
  1393. ai_will_do = {
  1394. factor = 1
  1395. modifier = {
  1396. factor = 0
  1397. has_law = feudal_contract_2
  1398. }
  1399. modifier = {
  1400. factor = 0
  1401. has_law = feudal_contract_3
  1402. }
  1403. }
  1404. ai_will_revoke = {
  1405. factor = 0
  1406. }
  1407. effect = {
  1408. hidden_tooltip = {
  1409. revoke_law = feudal_contract_0
  1410. revoke_law = feudal_contract_1
  1411. revoke_law = feudal_contract_2
  1412. revoke_law = feudal_contract_3
  1413. }
  1414. }
  1415. castle_vassal_max_levy = -0.3
  1416. }
  1417. feudal_contract_2 = {
  1418. group = feudal_contract
  1419. feudal_opinion = 0
  1420. default = yes
  1421. potential = {
  1422. OR = {
  1423. NOT = {
  1424. tier = baron
  1425. }
  1426. holder_scope = {
  1427. is_patrician = yes
  1428. }
  1429. }
  1430. NOT = {
  1431. holder_scope = {
  1432. religion_group = muslim
  1433. }
  1434. }
  1435. }
  1436. revoke_allowed = {
  1437. always = no
  1438. }
  1439. ai_will_do = {
  1440. factor = 1
  1441. modifier = {
  1442. factor = 0
  1443. has_law = feudal_contract_3
  1444. }
  1445. }
  1446. ai_will_revoke = {
  1447. factor = 0
  1448. }
  1449. effect = {
  1450. hidden_tooltip = {
  1451. revoke_law = feudal_contract_0
  1452. revoke_law = feudal_contract_1
  1453. revoke_law = feudal_contract_2
  1454. revoke_law = feudal_contract_3
  1455. }
  1456. }
  1457. castle_vassal_max_levy = -0.2
  1458. }
  1459. feudal_contract_3 = {
  1460. group = feudal_contract
  1461. feudal_opinion = -5
  1462. potential = {
  1463. OR = {
  1464. NOT = {
  1465. tier = baron
  1466. }
  1467. holder_scope = {
  1468. is_patrician = yes
  1469. }
  1470. }
  1471. NOT = {
  1472. holder_scope = {
  1473. religion_group = muslim
  1474. }
  1475. }
  1476. }
  1477. revoke_allowed = {
  1478. always = no
  1479. }
  1480. ai_will_do = {
  1481. factor = 1
  1482. }
  1483. ai_will_revoke = {
  1484. factor = 0
  1485. }
  1486. effect = {
  1487. revoke_law = feudal_contract_0
  1488. revoke_law = feudal_contract_1
  1489. revoke_law = feudal_contract_2
  1490. }
  1491. }
  1492. feudal_tax_0 = {
  1493. group = feudal_tax
  1494. feudal_opinion = 0
  1495. default = yes
  1496. potential = {
  1497. OR = {
  1498. NOT = {
  1499. tier = baron
  1500. }
  1501. holder_scope = {
  1502. is_patrician = yes
  1503. }
  1504. }
  1505. NOT = {
  1506. holder_scope = {
  1507. religion_group = muslim
  1508. }
  1509. }
  1510. }
  1511. revoke_allowed = {
  1512. always = no
  1513. }
  1514. ai_will_do = {
  1515. factor = 0
  1516. }
  1517. ai_will_revoke = {
  1518. factor = 0
  1519. }
  1520. effect = {
  1521. hidden_tooltip = {
  1522. revoke_law = feudal_tax_0
  1523. revoke_law = feudal_tax_1
  1524. revoke_law = feudal_tax_2
  1525. revoke_law = feudal_tax_3
  1526. }
  1527. }
  1528. castle_vassal_tax_modifier = 0.0
  1529. }
  1530. feudal_tax_1 = {
  1531. group = feudal_tax
  1532. feudal_opinion = -10
  1533. potential = {
  1534. OR = {
  1535. NOT = {
  1536. tier = baron
  1537. }
  1538. holder_scope = {
  1539. is_patrician = yes
  1540. }
  1541. }
  1542. NOT = {
  1543. holder_scope = {
  1544. religion_group = muslim
  1545. }
  1546. }
  1547. }
  1548. revoke_allowed = {
  1549. always = no
  1550. }
  1551. ai_will_do = {
  1552. factor = 1
  1553. modifier = {
  1554. factor = 0
  1555. has_law = feudal_tax_2
  1556. }
  1557. modifier = {
  1558. factor = 0
  1559. has_law = feudal_tax_3
  1560. }
  1561. }
  1562. ai_will_revoke = {
  1563. factor = 0
  1564. }
  1565. effect = {
  1566. hidden_tooltip = {
  1567. revoke_law = feudal_tax_0
  1568. revoke_law = feudal_tax_1
  1569. revoke_law = feudal_tax_2
  1570. revoke_law = feudal_tax_3
  1571. }
  1572. }
  1573. castle_vassal_tax_modifier = 0.1
  1574. }
  1575. feudal_tax_2 = {
  1576. group = feudal_tax
  1577. feudal_opinion = -20
  1578. potential = {
  1579. OR = {
  1580. NOT = {
  1581. tier = baron
  1582. }
  1583. holder_scope = {
  1584. is_patrician = yes
  1585. }
  1586. }
  1587. NOT = {
  1588. holder_scope = {
  1589. religion_group = muslim
  1590. }
  1591. }
  1592. }
  1593. revoke_allowed = {
  1594. always = no
  1595. }
  1596. ai_will_do = {
  1597. factor = 1
  1598. modifier = {
  1599. factor = 0
  1600. has_law = feudal_tax_3
  1601. }
  1602. }
  1603. ai_will_revoke = {
  1604. factor = 0
  1605. }
  1606. effect = {
  1607. hidden_tooltip = {
  1608. revoke_law = feudal_tax_0
  1609. revoke_law = feudal_tax_1
  1610. revoke_law = feudal_tax_2
  1611. revoke_law = feudal_tax_3
  1612. }
  1613. }
  1614. castle_vassal_tax_modifier = 0.2
  1615. }
  1616. feudal_tax_3 = {
  1617. group = feudal_tax
  1618. feudal_opinion = -30
  1619. potential = {
  1620. OR = {
  1621. NOT = {
  1622. tier = baron
  1623. }
  1624. holder_scope = {
  1625. is_patrician = yes
  1626. }
  1627. }
  1628. NOT = {
  1629. holder_scope = {
  1630. religion_group = muslim
  1631. }
  1632. }
  1633. }
  1634. revoke_allowed = {
  1635. always = no
  1636. }
  1637. ai_will_do = {
  1638. factor = 1
  1639. }
  1640. ai_will_revoke = {
  1641. factor = 0
  1642. }
  1643. effect = {
  1644. hidden_tooltip = {
  1645. revoke_law = feudal_tax_0
  1646. revoke_law = feudal_tax_1
  1647. revoke_law = feudal_tax_2
  1648. revoke_law = feudal_tax_3
  1649. }
  1650. }
  1651. castle_vassal_tax_modifier = 0.3
  1652. }
  1653. iqta_contract_0 = {
  1654. group = iqta_contract
  1655. feudal_opinion = 10
  1656. potential = {
  1657. OR = {
  1658. NOT = {
  1659. tier = baron
  1660. }
  1661. holder_scope = {
  1662. is_patrician = yes
  1663. }
  1664. }
  1665. holder_scope = {
  1666. religion_group = muslim
  1667. }
  1668. }
  1669. revoke_allowed = {
  1670. always = no
  1671. }
  1672. ai_will_do = {
  1673. factor = 0
  1674. }
  1675. ai_will_revoke = {
  1676. factor = 0
  1677. }
  1678. effect = {
  1679. hidden_tooltip = {
  1680. revoke_law = iqta_contract_0
  1681. revoke_law = iqta_contract_1
  1682. revoke_law = iqta_contract_2
  1683. revoke_law = iqta_contract_3
  1684. }
  1685. }
  1686. castle_vassal_max_levy = -0.4
  1687. }
  1688. iqta_contract_1 = {
  1689. group = iqta_contract
  1690. feudal_opinion = 5
  1691. potential = {
  1692. OR = {
  1693. NOT = {
  1694. tier = baron
  1695. }
  1696. holder_scope = {
  1697. is_patrician = yes
  1698. }
  1699. }
  1700. holder_scope = {
  1701. religion_group = muslim
  1702. }
  1703. }
  1704. revoke_allowed = {
  1705. always = no
  1706. }
  1707. ai_will_do = {
  1708. factor = 1
  1709. modifier = {
  1710. factor = 0
  1711. has_law = iqta_contract_2
  1712. }
  1713. modifier = {
  1714. factor = 0
  1715. has_law = iqta_contract_3
  1716. }
  1717. }
  1718. ai_will_revoke = {
  1719. factor = 0
  1720. }
  1721. effect = {
  1722. hidden_tooltip = {
  1723. revoke_law = iqta_contract_0
  1724. revoke_law = iqta_contract_1
  1725. revoke_law = iqta_contract_2
  1726. revoke_law = iqta_contract_3
  1727. }
  1728. }
  1729. castle_vassal_max_levy = -0.3
  1730. }
  1731. iqta_contract_2 = {
  1732. group = iqta_contract
  1733. feudal_opinion = 0
  1734. default = yes
  1735. potential = {
  1736. OR = {
  1737. NOT = {
  1738. tier = baron
  1739. }
  1740. holder_scope = {
  1741. is_patrician = yes
  1742. }
  1743. }
  1744. holder_scope = {
  1745. religion_group = muslim
  1746. }
  1747. }
  1748. revoke_allowed = {
  1749. always = no
  1750. }
  1751. ai_will_do = {
  1752. factor = 1
  1753. modifier = {
  1754. factor = 0
  1755. has_law = iqta_contract_3
  1756. }
  1757. }
  1758. ai_will_revoke = {
  1759. factor = 0
  1760. }
  1761. effect = {
  1762. hidden_tooltip = {
  1763. revoke_law = iqta_contract_0
  1764. revoke_law = iqta_contract_1
  1765. revoke_law = iqta_contract_2
  1766. revoke_law = iqta_contract_3
  1767. }
  1768. }
  1769. castle_vassal_max_levy = -0.2
  1770. }
  1771. iqta_contract_3 = {
  1772. group = iqta_contract
  1773. feudal_opinion = -5
  1774. potential = {
  1775. OR = {
  1776. NOT = {
  1777. tier = baron
  1778. }
  1779. holder_scope = {
  1780. is_patrician = yes
  1781. }
  1782. }
  1783. holder_scope = {
  1784. religion_group = muslim
  1785. }
  1786. }
  1787. revoke_allowed = {
  1788. always = no
  1789. }
  1790. ai_will_do = {
  1791. factor = 1
  1792. }
  1793. ai_will_revoke = {
  1794. factor = 0
  1795. }
  1796. effect = {
  1797. revoke_law = iqta_contract_0
  1798. revoke_law = iqta_contract_1
  1799. revoke_law = iqta_contract_2
  1800. }
  1801. }
  1802. iqta_tax_0 = {
  1803. group = iqta_tax
  1804. feudal_opinion = 10
  1805. potential = {
  1806. OR = {
  1807. NOT = {
  1808. tier = baron
  1809. }
  1810. holder_scope = {
  1811. is_patrician = yes
  1812. }
  1813. }
  1814. holder_scope = {
  1815. religion_group = muslim
  1816. }
  1817. }
  1818. revoke_allowed = {
  1819. always = no
  1820. }
  1821. ai_will_do = {
  1822. factor = 0
  1823. }
  1824. ai_will_revoke = {
  1825. factor = 0
  1826. }
  1827. effect = {
  1828. hidden_tooltip = {
  1829. revoke_law = iqta_tax_0
  1830. revoke_law = iqta_tax_1
  1831. revoke_law = iqta_tax_2
  1832. revoke_law = iqta_tax_3
  1833. }
  1834. }
  1835. castle_vassal_tax_modifier = 0.0
  1836. }
  1837. iqta_tax_1 = {
  1838. group = iqta_tax
  1839. default = yes
  1840. feudal_opinion = 0
  1841. potential = {
  1842. OR = {
  1843. NOT = {
  1844. tier = baron
  1845. }
  1846. holder_scope = {
  1847. is_patrician = yes
  1848. }
  1849. }
  1850. holder_scope = {
  1851. religion_group = muslim
  1852. }
  1853. }
  1854. revoke_allowed = {
  1855. always = no
  1856. }
  1857. ai_will_do = {
  1858. factor = 1
  1859. modifier = {
  1860. factor = 0
  1861. has_law = iqta_tax_2
  1862. }
  1863. modifier = {
  1864. factor = 0
  1865. has_law = iqta_tax_3
  1866. }
  1867. }
  1868. ai_will_revoke = {
  1869. factor = 0
  1870. }
  1871. effect = {
  1872. hidden_tooltip = {
  1873. revoke_law = iqta_tax_0
  1874. revoke_law = iqta_tax_1
  1875. revoke_law = iqta_tax_2
  1876. revoke_law = iqta_tax_3
  1877. }
  1878. }
  1879. castle_vassal_tax_modifier = 0.1
  1880. }
  1881. iqta_tax_2 = {
  1882. group = iqta_tax
  1883. feudal_opinion = -10
  1884. potential = {
  1885. OR = {
  1886. NOT = {
  1887. tier = baron
  1888. }
  1889. holder_scope = {
  1890. is_patrician = yes
  1891. }
  1892. }
  1893. holder_scope = {
  1894. religion_group = muslim
  1895. }
  1896. }
  1897. revoke_allowed = {
  1898. always = no
  1899. }
  1900. ai_will_do = {
  1901. factor = 1
  1902. modifier = {
  1903. factor = 0
  1904. has_law = iqta_tax_3
  1905. }
  1906. }
  1907. ai_will_revoke = {
  1908. factor = 0
  1909. }
  1910. effect = {
  1911. hidden_tooltip = {
  1912. revoke_law = iqta_tax_0
  1913. revoke_law = iqta_tax_1
  1914. revoke_law = iqta_tax_2
  1915. revoke_law = iqta_tax_3
  1916. }
  1917. }
  1918. castle_vassal_tax_modifier = 0.2
  1919. }
  1920. iqta_tax_3 = {
  1921. group = iqta_tax
  1922. feudal_opinion = -20
  1923. potential = {
  1924. OR = {
  1925. NOT = {
  1926. tier = baron
  1927. }
  1928. holder_scope = {
  1929. is_patrician = yes
  1930. }
  1931. }
  1932. holder_scope = {
  1933. religion_group = muslim
  1934. }
  1935. }
  1936. revoke_allowed = {
  1937. always = no
  1938. }
  1939. ai_will_do = {
  1940. factor = 1
  1941. }
  1942. ai_will_revoke = {
  1943. factor = 0
  1944. }
  1945. effect = {
  1946. hidden_tooltip = {
  1947. revoke_law = iqta_tax_0
  1948. revoke_law = iqta_tax_1
  1949. revoke_law = iqta_tax_2
  1950. revoke_law = iqta_tax_3
  1951. }
  1952. }
  1953. castle_vassal_tax_modifier = 0.3
  1954. }
  1955. city_contract_0 = {
  1956. group = city_contract
  1957. city_opinion = 10
  1958. potential = {
  1959. OR = {
  1960. NOT = {
  1961. tier = baron
  1962. }
  1963. holder_scope = {
  1964. is_patrician = yes
  1965. }
  1966. }
  1967. }
  1968. revoke_allowed = {
  1969. always = no
  1970. }
  1971. ai_will_do = {
  1972. factor = 0
  1973. }
  1974. ai_will_revoke = {
  1975. factor = 0
  1976. }
  1977. effect = {
  1978. hidden_tooltip = {
  1979. revoke_law = city_contract_0
  1980. revoke_law = city_contract_1
  1981. revoke_law = city_contract_2
  1982. revoke_law = city_contract_3
  1983. }
  1984. }
  1985. city_vassal_max_levy = -0.5
  1986. }
  1987. city_contract_1 = {
  1988. group = city_contract
  1989. city_opinion = 0
  1990. default = yes
  1991. potential = {
  1992. OR = {
  1993. NOT = {
  1994. tier = baron
  1995. }
  1996. holder_scope = {
  1997. is_patrician = yes
  1998. }
  1999. }
  2000. }
  2001. revoke_allowed = {
  2002. always = no
  2003. }
  2004. ai_will_do = {
  2005. factor = 1
  2006. modifier = {
  2007. factor = 0
  2008. has_law = city_contract_2
  2009. }
  2010. modifier = {
  2011. factor = 0
  2012. has_law = city_contract_3
  2013. }
  2014. }
  2015. ai_will_revoke = {
  2016. factor = 0
  2017. }
  2018. effect = {
  2019. hidden_tooltip = {
  2020. revoke_law = city_contract_0
  2021. revoke_law = city_contract_1
  2022. revoke_law = city_contract_2
  2023. revoke_law = city_contract_3
  2024. }
  2025. }
  2026. city_vassal_max_levy = -0.35
  2027. }
  2028. city_contract_2 = {
  2029. group = city_contract
  2030. city_opinion = -10
  2031. potential = {
  2032. OR = {
  2033. NOT = {
  2034. tier = baron
  2035. }
  2036. holder_scope = {
  2037. is_patrician = yes
  2038. }
  2039. }
  2040. }
  2041. revoke_allowed = {
  2042. always = no
  2043. }
  2044. ai_will_do = {
  2045. factor = 1
  2046. modifier = {
  2047. factor = 0
  2048. has_law = city_contract_3
  2049. }
  2050. }
  2051. ai_will_revoke = {
  2052. factor = 0
  2053. }
  2054. effect = {
  2055. hidden_tooltip = {
  2056. revoke_law = city_contract_0
  2057. revoke_law = city_contract_1
  2058. revoke_law = city_contract_2
  2059. revoke_law = city_contract_3
  2060. }
  2061. }
  2062. city_vassal_max_levy = -0.2
  2063. }
  2064. city_contract_3 = {
  2065. group = city_contract
  2066. city_opinion = -20
  2067. potential = {
  2068. OR = {
  2069. NOT = {
  2070. tier = baron
  2071. }
  2072. holder_scope = {
  2073. is_patrician = yes
  2074. }
  2075. }
  2076. }
  2077. revoke_allowed = {
  2078. always = no
  2079. }
  2080. ai_will_do = {
  2081. factor = 1
  2082. }
  2083. ai_will_revoke = {
  2084. factor = 0
  2085. }
  2086. effect = {
  2087. hidden_tooltip = {
  2088. revoke_law = city_contract_0
  2089. revoke_law = city_contract_1
  2090. revoke_law = city_contract_2
  2091. revoke_law = city_contract_3
  2092. }
  2093. }
  2094. city_vassal_max_levy = -0.05
  2095. }
  2096. city_tax_0 = {
  2097. group = city_tax
  2098. city_opinion = 10
  2099. potential = {
  2100. OR = {
  2101. NOT = {
  2102. tier = baron
  2103. }
  2104. holder_scope = {
  2105. is_patrician = yes
  2106. }
  2107. }
  2108. }
  2109. revoke_allowed = {
  2110. always = no
  2111. }
  2112. ai_will_do = {
  2113. factor = 0
  2114. }
  2115. ai_will_revoke = {
  2116. factor = 0
  2117. }
  2118. effect = {
  2119. hidden_tooltip = {
  2120. revoke_law = city_tax_0
  2121. revoke_law = city_tax_1
  2122. revoke_law = city_tax_2
  2123. revoke_law = city_tax_3
  2124. }
  2125. }
  2126. city_vassal_tax_modifier = 0.15
  2127. }
  2128. city_tax_1 = {
  2129. group = city_tax
  2130. city_opinion = 0
  2131. default = yes
  2132. potential = {
  2133. OR = {
  2134. NOT = {
  2135. tier = baron
  2136. }
  2137. holder_scope = {
  2138. is_patrician = yes
  2139. }
  2140. }
  2141. }
  2142. revoke_allowed = {
  2143. always = no
  2144. }
  2145. ai_will_do = {
  2146. factor = 1
  2147. modifier = {
  2148. factor = 0
  2149. has_law = city_tax_2
  2150. }
  2151. modifier = {
  2152. factor = 0
  2153. has_law = city_tax_3
  2154. }
  2155. }
  2156. ai_will_revoke = {
  2157. factor = 0
  2158. }
  2159. effect = {
  2160. hidden_tooltip = {
  2161. revoke_law = city_tax_0
  2162. revoke_law = city_tax_1
  2163. revoke_law = city_tax_2
  2164. revoke_law = city_tax_3
  2165. }
  2166. }
  2167. city_vassal_tax_modifier = 0.25
  2168. }
  2169. city_tax_2 = {
  2170. group = city_tax
  2171. city_opinion = -10
  2172. potential = {
  2173. OR = {
  2174. NOT = {
  2175. tier = baron
  2176. }
  2177. holder_scope = {
  2178. is_patrician = yes
  2179. }
  2180. }
  2181. }
  2182. revoke_allowed = {
  2183. always = no
  2184. }
  2185. ai_will_do = {
  2186. factor = 1
  2187. modifier = {
  2188. factor = 0
  2189. has_law = city_tax_3
  2190. }
  2191. }
  2192. ai_will_revoke = {
  2193. factor = 0
  2194. }
  2195. effect = {
  2196. hidden_tooltip = {
  2197. revoke_law = city_tax_0
  2198. revoke_law = city_tax_1
  2199. revoke_law = city_tax_2
  2200. revoke_law = city_tax_3
  2201. }
  2202. }
  2203. city_vassal_tax_modifier = 0.35
  2204. }
  2205. city_tax_3 = {
  2206. group = city_tax
  2207. city_opinion = -20
  2208. potential = {
  2209. OR = {
  2210. NOT = {
  2211. tier = baron
  2212. }
  2213. holder_scope = {
  2214. is_patrician = yes
  2215. }
  2216. }
  2217. }
  2218. revoke_allowed = {
  2219. always = no
  2220. }
  2221. ai_will_do = {
  2222. factor = 1
  2223. }
  2224. ai_will_revoke = {
  2225. factor = 0
  2226. }
  2227. effect = {
  2228. hidden_tooltip = {
  2229. revoke_law = city_tax_0
  2230. revoke_law = city_tax_1
  2231. revoke_law = city_tax_2
  2232. revoke_law = city_tax_3
  2233. }
  2234. }
  2235. city_vassal_tax_modifier = 0.45
  2236. }
  2237. temple_contract_0 = {
  2238. group = temple_contract
  2239. temple_opinion = 10
  2240. potential = {
  2241. OR = {
  2242. NOT = {
  2243. tier = baron
  2244. }
  2245. holder_scope = {
  2246. is_patrician = yes
  2247. }
  2248. }
  2249. }
  2250. revoke_allowed = {
  2251. always = no
  2252. }
  2253. ai_will_do = {
  2254. factor = 0
  2255. }
  2256. ai_will_revoke = {
  2257. factor = 0
  2258. }
  2259. effect = {
  2260. hidden_tooltip = {
  2261. revoke_law = temple_contract_0
  2262. revoke_law = temple_contract_1
  2263. revoke_law = temple_contract_2
  2264. revoke_law = temple_contract_3
  2265. }
  2266. }
  2267. temple_vassal_max_levy = -0.5
  2268. }
  2269. temple_contract_1 = {
  2270. group = temple_contract
  2271. temple_opinion = 0
  2272. default = yes
  2273. potential = {
  2274. OR = {
  2275. NOT = {
  2276. tier = baron
  2277. }
  2278. holder_scope = {
  2279. is_patrician = yes
  2280. }
  2281. }
  2282. }
  2283. revoke_allowed = {
  2284. always = no
  2285. }
  2286. ai_will_do = {
  2287. factor = 1
  2288. modifier = {
  2289. factor = 0
  2290. has_law = temple_contract_2
  2291. }
  2292. modifier = {
  2293. factor = 0
  2294. has_law = temple_contract_3
  2295. }
  2296. }
  2297. ai_will_revoke = {
  2298. factor = 0
  2299. }
  2300. effect = {
  2301. hidden_tooltip = {
  2302. revoke_law = temple_contract_0
  2303. revoke_law = temple_contract_1
  2304. revoke_law = temple_contract_2
  2305. revoke_law = temple_contract_3
  2306. }
  2307. }
  2308. temple_vassal_max_levy = -0.4
  2309. }
  2310. temple_contract_2 = {
  2311. group = temple_contract
  2312. temple_opinion = -10
  2313. potential = {
  2314. OR = {
  2315. NOT = {
  2316. tier = baron
  2317. }
  2318. holder_scope = {
  2319. is_patrician = yes
  2320. }
  2321. }
  2322. }
  2323. revoke_allowed = {
  2324. always = no
  2325. }
  2326. ai_will_do = {
  2327. factor = 1
  2328. modifier = {
  2329. factor = 0
  2330. has_law = temple_contract_3
  2331. }
  2332. }
  2333. ai_will_revoke = {
  2334. factor = 0
  2335. }
  2336. effect = {
  2337. hidden_tooltip = {
  2338. revoke_law = temple_contract_0
  2339. revoke_law = temple_contract_1
  2340. revoke_law = temple_contract_2
  2341. revoke_law = temple_contract_3
  2342. }
  2343. }
  2344. temple_vassal_max_levy = -0.3
  2345. }
  2346. temple_contract_3 = {
  2347. group = temple_contract
  2348. temple_opinion = -20
  2349. potential = {
  2350. OR = {
  2351. NOT = {
  2352. tier = baron
  2353. }
  2354. holder_scope = {
  2355. is_patrician = yes
  2356. }
  2357. }
  2358. }
  2359. revoke_allowed = {
  2360. always = no
  2361. }
  2362. ai_will_do = {
  2363. factor = 1
  2364. }
  2365. ai_will_revoke = {
  2366. factor = 0
  2367. }
  2368. effect = {
  2369. hidden_tooltip = {
  2370. revoke_law = temple_contract_0
  2371. revoke_law = temple_contract_1
  2372. revoke_law = temple_contract_2
  2373. revoke_law = temple_contract_3
  2374. }
  2375. }
  2376. temple_vassal_max_levy = -0.2
  2377. }
  2378. temple_tax_0 = {
  2379. group = temple_tax
  2380. temple_opinion = 20
  2381. potential = {
  2382. OR = {
  2383. NOT = {
  2384. tier = baron
  2385. }
  2386. holder_scope = {
  2387. is_patrician = yes
  2388. }
  2389. }
  2390. }
  2391. revoke_allowed = {
  2392. always = no
  2393. }
  2394. ai_will_do = {
  2395. factor = 0
  2396. }
  2397. ai_will_revoke = {
  2398. factor = 0
  2399. }
  2400. effect = {
  2401. hidden_tooltip = {
  2402. revoke_law = temple_tax_0
  2403. revoke_law = temple_tax_1
  2404. revoke_law = temple_tax_2
  2405. revoke_law = temple_tax_3
  2406. }
  2407. }
  2408. temple_vassal_tax_modifier = 0.0
  2409. }
  2410. temple_tax_1 = {
  2411. group = temple_tax
  2412. temple_opinion = 0
  2413. default = yes
  2414. potential = {
  2415. OR = {
  2416. NOT = {
  2417. tier = baron
  2418. }
  2419. holder_scope = {
  2420. is_patrician = yes
  2421. }
  2422. }
  2423. }
  2424. revoke_allowed = {
  2425. always = no
  2426. }
  2427. ai_will_do = {
  2428. factor = 1
  2429. modifier = {
  2430. factor = 0
  2431. has_law = temple_tax_2
  2432. }
  2433. modifier = {
  2434. factor = 0
  2435. has_law = temple_tax_3
  2436. }
  2437. }
  2438. ai_will_revoke = {
  2439. factor = 0
  2440. }
  2441. effect = {
  2442. hidden_tooltip = {
  2443. revoke_law = temple_tax_0
  2444. revoke_law = temple_tax_1
  2445. revoke_law = temple_tax_2
  2446. revoke_law = temple_tax_3
  2447. }
  2448. }
  2449. temple_vassal_tax_modifier = 0.35
  2450. }
  2451. temple_tax_2 = {
  2452. group = temple_tax
  2453. temple_opinion = -10
  2454. potential = {
  2455. OR = {
  2456. NOT = {
  2457. tier = baron
  2458. }
  2459. holder_scope = {
  2460. is_patrician = yes
  2461. }
  2462. }
  2463. }
  2464. revoke_allowed = {
  2465. always = no
  2466. }
  2467. ai_will_do = {
  2468. factor = 1
  2469. modifier = {
  2470. factor = 0
  2471. has_law = temple_tax_3
  2472. }
  2473. }
  2474. ai_will_revoke = {
  2475. factor = 0
  2476. }
  2477. effect = {
  2478. hidden_tooltip = {
  2479. revoke_law = temple_tax_0
  2480. revoke_law = temple_tax_1
  2481. revoke_law = temple_tax_2
  2482. revoke_law = temple_tax_3
  2483. }
  2484. }
  2485. temple_vassal_tax_modifier = 0.45
  2486. }
  2487. temple_tax_3 = {
  2488. group = temple_tax
  2489. temple_opinion = -20
  2490. potential = {
  2491. OR = {
  2492. NOT = {
  2493. tier = baron
  2494. }
  2495. holder_scope = {
  2496. is_patrician = yes
  2497. }
  2498. }
  2499. }
  2500. revoke_allowed = {
  2501. always = no
  2502. }
  2503. ai_will_do = {
  2504. factor = 1
  2505. }
  2506. ai_will_revoke = {
  2507. factor = 0
  2508. }
  2509. effect = {
  2510. hidden_tooltip = {
  2511. revoke_law = temple_tax_0
  2512. revoke_law = temple_tax_1
  2513. revoke_law = temple_tax_2
  2514. revoke_law = temple_tax_3
  2515. }
  2516. }
  2517. temple_vassal_tax_modifier = 0.55
  2518. }
  2519. tribal_contract_0 = {
  2520. group = tribal_contract
  2521. tribal_opinion = 0
  2522. potential = {
  2523. OR = {
  2524. NOT = {
  2525. tier = baron
  2526. }
  2527. holder_scope = {
  2528. is_patrician = yes
  2529. }
  2530. }
  2531. OR = {
  2532. holder_scope = {
  2533. is_tribal = no
  2534. }
  2535. OR = {
  2536. has_law = tribal_organization_3
  2537. has_law = tribal_organization_4
  2538. }
  2539. }
  2540. }
  2541. revoke_allowed = {
  2542. always = no
  2543. }
  2544. ai_will_do = {
  2545. factor = 0
  2546. }
  2547. ai_will_revoke = {
  2548. factor = 0
  2549. }
  2550. effect = {
  2551. hidden_tooltip = {
  2552. revoke_law = tribal_contract_0
  2553. revoke_law = tribal_contract_1
  2554. revoke_law = tribal_contract_2
  2555. revoke_law = tribal_contract_3
  2556. }
  2557. }
  2558. tribal_vassal_max_levy = -0.5
  2559. }
  2560. tribal_contract_1 = {
  2561. group = tribal_contract
  2562. tribal_opinion = -10
  2563. default = yes
  2564. potential = {
  2565. OR = {
  2566. NOT = {
  2567. tier = baron
  2568. }
  2569. holder_scope = {
  2570. is_patrician = yes
  2571. }
  2572. }
  2573. OR = {
  2574. holder_scope = {
  2575. is_tribal = no
  2576. }
  2577. OR = {
  2578. has_law = tribal_organization_3
  2579. has_law = tribal_organization_4
  2580. }
  2581. }
  2582. }
  2583. revoke_allowed = {
  2584. always = no
  2585. }
  2586. ai_will_do = {
  2587. factor = 1
  2588. }
  2589. ai_will_revoke = {
  2590. factor = 0
  2591. }
  2592. effect = {
  2593. hidden_tooltip = {
  2594. revoke_law = tribal_contract_0
  2595. revoke_law = tribal_contract_1
  2596. revoke_law = tribal_contract_2
  2597. revoke_law = tribal_contract_3
  2598. }
  2599. }
  2600. tribal_vassal_max_levy = -0.4
  2601. }
  2602. tribal_contract_2 = {
  2603. group = tribal_contract
  2604. tribal_opinion = -20
  2605. potential = {
  2606. OR = {
  2607. NOT = {
  2608. tier = baron
  2609. }
  2610. holder_scope = {
  2611. is_patrician = yes
  2612. }
  2613. }
  2614. OR = {
  2615. holder_scope = {
  2616. is_tribal = no
  2617. }
  2618. OR = {
  2619. has_law = tribal_organization_3
  2620. has_law = tribal_organization_4
  2621. }
  2622. }
  2623. }
  2624. revoke_allowed = {
  2625. always = no
  2626. }
  2627. ai_will_do = {
  2628. factor = 0
  2629. }
  2630. ai_will_revoke = {
  2631. factor = 0
  2632. }
  2633. effect = {
  2634. hidden_tooltip = {
  2635. revoke_law = tribal_contract_0
  2636. revoke_law = tribal_contract_1
  2637. revoke_law = tribal_contract_2
  2638. revoke_law = tribal_contract_3
  2639. }
  2640. }
  2641. tribal_vassal_max_levy = -0.3
  2642. }
  2643. tribal_contract_3 = {
  2644. group = tribal_contract
  2645. tribal_opinion = -30
  2646. potential = {
  2647. OR = {
  2648. NOT = {
  2649. tier = baron
  2650. }
  2651. holder_scope = {
  2652. is_patrician = yes
  2653. }
  2654. }
  2655. OR = {
  2656. holder_scope = {
  2657. is_tribal = no
  2658. }
  2659. OR = {
  2660. has_law = tribal_organization_3
  2661. has_law = tribal_organization_4
  2662. }
  2663. }
  2664. }
  2665. revoke_allowed = {
  2666. always = no
  2667. }
  2668. ai_will_do = {
  2669. factor = 0
  2670. }
  2671. ai_will_revoke = {
  2672. factor = 0
  2673. }
  2674. effect = {
  2675. hidden_tooltip = {
  2676. revoke_law = tribal_contract_1
  2677. revoke_law = tribal_contract_2
  2678. revoke_law = tribal_contract_3
  2679. revoke_law = tribal_contract_4
  2680. }
  2681. }
  2682. tribal_vassal_max_levy = -0.2
  2683. }
  2684. tribal_tax_0 = {
  2685. group = tribal_tax
  2686. tribal_opinion = 0
  2687. default = yes
  2688. potential = {
  2689. OR = {
  2690. NOT = {
  2691. tier = baron
  2692. }
  2693. holder_scope = {
  2694. is_patrician = yes
  2695. }
  2696. }
  2697. OR = {
  2698. holder_scope = {
  2699. is_tribal = no
  2700. }
  2701. OR = {
  2702. has_law = tribal_organization_3
  2703. has_law = tribal_organization_4
  2704. }
  2705. }
  2706. }
  2707. revoke_allowed = {
  2708. always = no
  2709. }
  2710. ai_will_do = {
  2711. factor = 1
  2712. }
  2713. ai_will_revoke = {
  2714. factor = 0
  2715. }
  2716. effect = {
  2717. hidden_tooltip = {
  2718. revoke_law = tribal_tax_0
  2719. revoke_law = tribal_tax_1
  2720. revoke_law = tribal_tax_2
  2721. revoke_law = tribal_tax_3
  2722. }
  2723. }
  2724. tribal_vassal_tax_modifier = 0
  2725. }
  2726. tribal_tax_1 = {
  2727. group = tribal_tax
  2728. tribal_opinion = -10
  2729. potential = {
  2730. OR = {
  2731. NOT = {
  2732. tier = baron
  2733. }
  2734. holder_scope = {
  2735. is_patrician = yes
  2736. }
  2737. }
  2738. OR = {
  2739. holder_scope = {
  2740. is_tribal = no
  2741. }
  2742. OR = {
  2743. has_law = tribal_organization_3
  2744. has_law = tribal_organization_4
  2745. }
  2746. }
  2747. }
  2748. revoke_allowed = {
  2749. always = no
  2750. }
  2751. ai_will_do = {
  2752. factor = 0
  2753. }
  2754. ai_will_revoke = {
  2755. factor = 0
  2756. }
  2757. effect = {
  2758. hidden_tooltip = {
  2759. revoke_law = tribal_tax_0
  2760. revoke_law = tribal_tax_1
  2761. revoke_law = tribal_tax_2
  2762. revoke_law = tribal_tax_3
  2763. }
  2764. }
  2765. tribal_vassal_tax_modifier = 0.1
  2766. }
  2767. tribal_tax_2 = {
  2768. group = tribal_tax
  2769. tribal_opinion = -20
  2770. potential = {
  2771. OR = {
  2772. NOT = {
  2773. tier = baron
  2774. }
  2775. holder_scope = {
  2776. is_patrician = yes
  2777. }
  2778. }
  2779. OR = {
  2780. holder_scope = {
  2781. is_tribal = no
  2782. }
  2783. OR = {
  2784. has_law = tribal_organization_3
  2785. has_law = tribal_organization_4
  2786. }
  2787. }
  2788. }
  2789. revoke_allowed = {
  2790. always = no
  2791. }
  2792. ai_will_do = {
  2793. factor = 0
  2794. }
  2795. ai_will_revoke = {
  2796. factor = 0
  2797. }
  2798. effect = {
  2799. hidden_tooltip = {
  2800. revoke_law = tribal_tax_0
  2801. revoke_law = tribal_tax_1
  2802. revoke_law = tribal_tax_2
  2803. revoke_law = tribal_tax_3
  2804. }
  2805. }
  2806. tribal_vassal_tax_modifier = 0.2
  2807. }
  2808. tribal_tax_3 = {
  2809. group = tribal_tax
  2810. tribal_opinion = -30
  2811. potential = {
  2812. OR = {
  2813. NOT = {
  2814. tier = baron
  2815. }
  2816. holder_scope = {
  2817. is_patrician = yes
  2818. }
  2819. }
  2820. OR = {
  2821. holder_scope = {
  2822. is_tribal = no
  2823. }
  2824. OR = {
  2825. has_law = tribal_organization_3
  2826. has_law = tribal_organization_4
  2827. }
  2828. }
  2829. }
  2830. revoke_allowed = {
  2831. always = no
  2832. }
  2833. ai_will_do = {
  2834. factor = 0
  2835. }
  2836. ai_will_revoke = {
  2837. factor = 0
  2838. }
  2839. effect = {
  2840. hidden_tooltip = {
  2841. revoke_law = tribal_tax_0
  2842. revoke_law = tribal_tax_1
  2843. revoke_law = tribal_tax_2
  2844. revoke_law = tribal_tax_3
  2845. }
  2846. }
  2847. tribal_vassal_tax_modifier = 0.3
  2848. }
  2849. }
Advertisement
Add Comment
Please, Sign In to add comment