Advertisement
t_a_w

decisions/way_of_life_decisions.txt

Oct 20th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.28 KB | None | 0 0
  1. targetted_decisions = {
  2. break_up_with_lover = {
  3. ai_target_filter = court
  4. from_potential = {
  5. ai = no
  6. has_dlc = "Way of Life"
  7. has_lover = yes
  8. }
  9. potential = {
  10. is_lover = FROM
  11. NOT = {
  12. any_spouse = {
  13. character = FROM
  14. }
  15. }
  16. NOT = {
  17. any_consort = {
  18. character = FROM
  19. }
  20. }
  21. }
  22. allow = {
  23. always = yes
  24. }
  25. effect = {
  26. FROM = {
  27. character_event = {
  28. id = WoL.1109
  29. tooltip = EVTTOOLTIP64046
  30. }
  31. }
  32. }
  33. revoke_allowed = {
  34. always = no
  35. }
  36. ai_will_do = {
  37. factor = 0
  38. }
  39. }
  40. seduce_decision = {
  41. ai_target_filter = realm
  42. from_potential = {
  43. is_marriage_adult = yes
  44. has_focus = focus_seduction
  45. NOT = {
  46. trait = incapable
  47. }
  48. prisoner = no
  49. NOT = {
  50. has_any_opinion_modifier = opinion_seducing
  51. }
  52. OR = {
  53. ai = no
  54. AND = {
  55. OR = {
  56. is_female = no
  57. AND = {
  58. trait = homosexual
  59. OR = {
  60. is_married = yes
  61. is_consort = yes
  62. }
  63. }
  64. trait = lustful
  65. any_spouse = {
  66. trait = homosexual
  67. }
  68. any_consort = {
  69. trait = homosexual
  70. }
  71. }
  72. is_ill = no
  73. NOT = {
  74. trait = eunuch
  75. }
  76. NOT = {
  77. trait = infirm
  78. }
  79. NOT = {
  80. trait = inbred
  81. }
  82. NOT = {
  83. trait = imbecile
  84. }
  85. NOT = {
  86. trait = chaste
  87. }
  88. NOT = {
  89. trait = shy
  90. }
  91. }
  92. }
  93. }
  94. potential = {
  95. is_marriage_adult = yes
  96. NOT = {
  97. character = FROM
  98. }
  99. NOT = {
  100. trait = incapable
  101. }
  102. prisoner = no
  103. NOT = {
  104. is_lover = FROM
  105. }
  106. NOT = {
  107. is_former_lover = FROM
  108. }
  109. NOT = {
  110. is_consort = FROM
  111. }
  112. NOT = {
  113. any_spouse = {
  114. character = FROM
  115. }
  116. }
  117. NOT = {
  118. is_child_of = FROM
  119. }
  120. NOT = {
  121. mother_even_if_dead = {
  122. is_child_of = FROM
  123. }
  124. }
  125. NOT = {
  126. father_even_if_dead = {
  127. is_child_of = FROM
  128. }
  129. }
  130. FROM = {
  131. NOT = {
  132. is_child_of = ROOT
  133. }
  134. NOT = {
  135. mother_even_if_dead = {
  136. is_child_of = ROOT
  137. }
  138. }
  139. NOT = {
  140. father_even_if_dead = {
  141. is_child_of = ROOT
  142. }
  143. }
  144. }
  145. OR = {
  146. AND = {
  147. FROM = {
  148. NOT = {
  149. trait = homosexual
  150. }
  151. }
  152. NOT = {
  153. trait = homosexual
  154. }
  155. NOT = {
  156. same_sex = FROM
  157. }
  158. }
  159. AND = {
  160. FROM = {
  161. trait = homosexual
  162. }
  163. trait = homosexual
  164. same_sex = FROM
  165. }
  166. }
  167. }
  168. allow = {
  169. NOT = {
  170. trait = celibate
  171. }
  172. NOT = {
  173. FROM = {
  174. trait = celibate
  175. }
  176. }
  177. is_within_diplo_range = FROM
  178. }
  179. effect = {
  180. hidden_tooltip = {
  181. FROM = {
  182. opinion = {
  183. who = ROOT
  184. modifier = opinion_seducing
  185. years = 1000
  186. }
  187. if = {
  188. limit = {
  189. is_close_relative = ROOT
  190. NOT = {
  191. religion = messalian
  192. }
  193. NOT = {
  194. religion = zoroastrian
  195. }
  196. }
  197. character_event = {
  198. id = WoL.102
  199. days = 1
  200. }
  201. break = yes
  202. }
  203. if = {
  204. limit = {
  205. same_sex = ROOT
  206. }
  207. character_event = {
  208. id = WoL.104
  209. days = 1
  210. }
  211. break = yes
  212. }
  213. if = {
  214. limit = {
  215. religion_group = christian
  216. OR = {
  217. is_priest = yes
  218. trait = monk
  219. trait = nun
  220. ROOT = {
  221. is_priest = yes
  222. }
  223. ROOT = {
  224. trait = monk
  225. }
  226. ROOT = {
  227. trait = nun
  228. }
  229. }
  230. }
  231. character_event = {
  232. id = WoL.103
  233. days = 1
  234. }
  235. break = yes
  236. }
  237. if = {
  238. limit = {
  239. age_diff = {
  240. who = ROOT
  241. years = 25
  242. }
  243. }
  244. character_event = {
  245. id = WoL.101
  246. days = 1
  247. }
  248. break = yes
  249. }
  250. character_event = {
  251. id = WoL.100
  252. days = 1
  253. }
  254. }
  255. }
  256. }
  257. revoke_allowed = {
  258. always = no
  259. }
  260. ai_will_do = {
  261. factor = 1
  262. modifier = {
  263. factor = 0.05
  264. }
  265. modifier = {
  266. factor = 0
  267. is_female = yes
  268. age = 40
  269. }
  270. modifier = {
  271. factor = 0
  272. is_female = yes
  273. has_character_modifier = lustful_affair_timer
  274. }
  275. modifier = {
  276. factor = 0.5
  277. FROM = {
  278. is_female = no
  279. num_of_children = 3
  280. }
  281. }
  282. modifier = {
  283. factor = 0.1
  284. FROM = {
  285. is_female = no
  286. num_of_children = 6
  287. }
  288. }
  289. modifier = {
  290. factor = 0.5
  291. FROM = {
  292. is_female = no
  293. num_of_children = 8
  294. }
  295. }
  296. modifier = {
  297. factor = 0
  298. num_of_lovers = 1
  299. NOT = {
  300. trait = lustful
  301. }
  302. NOT = {
  303. trait = hedonist
  304. }
  305. NOT = {
  306. trait = seducer
  307. }
  308. NOT = {
  309. trait = seductress
  310. }
  311. NOT = {
  312. has_focus = focus_seduction
  313. }
  314. }
  315. modifier = {
  316. factor = 0.25
  317. ai = no
  318. }
  319. modifier = {
  320. factor = 0.1
  321. is_ruler = no
  322. any_spouse = {
  323. ai = no
  324. }
  325. any_consort = {
  326. ai = no
  327. }
  328. }
  329. modifier = {
  330. factor = 10
  331. FROM = {
  332. OR = {
  333. trait = lustful
  334. trait = hedonist
  335. trait = seducer
  336. trait = seductress
  337. }
  338. }
  339. }
  340. modifier = {
  341. factor = 0
  342. OR = {
  343. trait = chaste
  344. trait = ugly
  345. trait = dwarf
  346. trait = inbred
  347. trait = imbecile
  348. trait = clubfooted
  349. trait = harelip
  350. trait = hunchback
  351. trait = eunuch
  352. is_ill = yes
  353. is_pregnant = yes
  354. }
  355. }
  356. modifier = {
  357. factor = 0.25
  358. is_close_relative = FROM
  359. FROM = {
  360. NOT = {
  361. trait = lustful
  362. }
  363. NOT = {
  364. trait = arbitrary
  365. }
  366. NOT = {
  367. trait = possessed
  368. }
  369. NOT = {
  370. trait = lunatic
  371. }
  372. }
  373. }
  374. modifier = {
  375. factor = 2
  376. trait = gregarious
  377. }
  378. modifier = {
  379. factor = 5
  380. OR = {
  381. is_playable = yes
  382. is_married = yes
  383. father_even_if_dead = {
  384. always = yes
  385. }
  386. mother_even_if_dead = {
  387. always = yes
  388. }
  389. }
  390. }
  391. modifier = {
  392. factor = 10
  393. trait = fair
  394. }
  395. }
  396. }
  397. stop_seduce_decision = {
  398. filter = self
  399. ai_target_filter = self
  400. potential = {
  401. ai = no
  402. is_marriage_adult = yes
  403. has_focus = focus_seduction
  404. has_character_flag = seduction_confirmed
  405. has_any_opinion_modifier = opinion_seducing
  406. }
  407. effect = {
  408. random_opinion_modifier_target = {
  409. limit = {
  410. ROOT = {
  411. has_opinion_modifier = {
  412. who = PREV
  413. name = opinion_seducing
  414. }
  415. }
  416. }
  417. save_event_target_as = target_seduced
  418. ROOT = {
  419. character_event = {
  420. id = WoL.118
  421. tooltip = stop_seduce_decision_tt
  422. }
  423. }
  424. }
  425. }
  426. revoke_allowed = {
  427. always = no
  428. }
  429. ai_will_do = {
  430. factor = 0
  431. }
  432. }
  433. stop_seduce_decision_target = {
  434. ai_target_filter = realm
  435. from_potential = {
  436. ai = no
  437. is_marriage_adult = yes
  438. has_focus = focus_seduction
  439. has_character_flag = seduction_confirmed
  440. has_any_opinion_modifier = opinion_seducing
  441. }
  442. potential = {
  443. FROM = {
  444. has_opinion_modifier = {
  445. who = ROOT
  446. name = opinion_seducing
  447. }
  448. }
  449. }
  450. effect = {
  451. save_event_target_as = target_seduced
  452. hidden_tooltip = {
  453. FROM = {
  454. character_event = {
  455. id = WoL.118
  456. }
  457. }
  458. }
  459. }
  460. revoke_allowed = {
  461. always = no
  462. }
  463. ai_will_do = {
  464. factor = 0
  465. }
  466. }
  467. decision_spy_on = {
  468. ai_target_filter = realm
  469. from_potential = {
  470. has_focus = focus_intrigue
  471. NOT = {
  472. trait = incapable
  473. }
  474. prisoner = no
  475. NOT = {
  476. has_any_opinion_modifier = opinion_spying_on
  477. }
  478. NOT = {
  479. has_any_opinion_modifier = opinion_breaking_out
  480. }
  481. }
  482. potential = {
  483. NOT = {
  484. trait = incapable
  485. }
  486. same_realm = FROM
  487. NOT = {
  488. character = FROM
  489. }
  490. }
  491. allow = {
  492. prisoner = no
  493. is_adult = yes
  494. is_within_diplo_range = FROM
  495. }
  496. effect = {
  497. hidden_tooltip = {
  498. FROM = {
  499. any_opinion_modifier_target = {
  500. limit = {
  501. reverse_has_opinion_modifier = {
  502. who = PREV
  503. modifier = opinion_spying_on
  504. }
  505. }
  506. reverse_remove_opinion = {
  507. who = PREV
  508. modifier = opinion_spying_on
  509. }
  510. }
  511. opinion = {
  512. who = ROOT
  513. modifier = opinion_spying_on
  514. months = 12000
  515. }
  516. character_event = {
  517. id = WoL.2050
  518. days = 1
  519. }
  520. }
  521. }
  522. }
  523. revoke_allowed = {
  524. always = no
  525. }
  526. ai_will_do = {
  527. factor = 1
  528. modifier = {
  529. factor = 0.1
  530. }
  531. modifier = {
  532. factor = 0
  533. NOT = {
  534. is_rival = FROM
  535. }
  536. NOT = {
  537. is_married = FROM
  538. }
  539. NOR = {
  540. AND = {
  541. OR = {
  542. is_ruler = yes
  543. has_plot = yes
  544. }
  545. liege = {
  546. character = FROM
  547. }
  548. }
  549. AND = {
  550. is_ruler = yes
  551. same_liege = FROM
  552. }
  553. }
  554. }
  555. modifier = {
  556. factor = 2.0
  557. has_plot = yes
  558. }
  559. modifier = {
  560. factor = 5.0
  561. FROM = {
  562. trait = paranoid
  563. }
  564. }
  565. modifier = {
  566. factor = 10.0
  567. in_faction = yes
  568. liege = {
  569. character = FROM
  570. }
  571. }
  572. modifier = {
  573. factor = 10.0
  574. FROM = {
  575. leads_faction = yes
  576. }
  577. in_faction = no
  578. same_liege = FROM
  579. }
  580. }
  581. }
  582. stop_spy_on_decision = {
  583. filter = self
  584. ai_target_filter = self
  585. potential = {
  586. ai = no
  587. has_focus = focus_intrigue
  588. has_character_flag = spy_on_confirmed
  589. has_any_opinion_modifier = opinion_spying_on
  590. }
  591. effect = {
  592. random_opinion_modifier_target = {
  593. limit = {
  594. ROOT = {
  595. has_opinion_modifier = {
  596. who = PREV
  597. name = opinion_spying_on
  598. }
  599. }
  600. }
  601. save_event_target_as = target_spy_on
  602. ROOT = {
  603. character_event = {
  604. id = WoL.2069
  605. tooltip = stop_spy_on_decision_tt
  606. }
  607. }
  608. }
  609. }
  610. revoke_allowed = {
  611. always = no
  612. }
  613. ai_will_do = {
  614. factor = 0
  615. }
  616. }
  617. stop_spy_on_decision_target = {
  618. ai_target_filter = realm
  619. from_potential = {
  620. ai = no
  621. has_focus = focus_intrigue
  622. has_character_flag = spy_on_confirmed
  623. has_any_opinion_modifier = opinion_spying_on
  624. }
  625. potential = {
  626. FROM = {
  627. has_opinion_modifier = {
  628. who = ROOT
  629. name = opinion_spying_on
  630. }
  631. }
  632. }
  633. effect = {
  634. save_event_target_as = target_spy_on
  635. hidden_tooltip = {
  636. FROM = {
  637. character_event = {
  638. id = WoL.2069
  639. }
  640. }
  641. }
  642. }
  643. revoke_allowed = {
  644. always = no
  645. }
  646. ai_will_do = {
  647. factor = 0
  648. }
  649. }
  650. decision_break_free = {
  651. is_high_prio = yes
  652. filter = sub_realm
  653. ai_target_filter = dynasty
  654. from_potential = {
  655. has_focus = focus_intrigue
  656. NOT = {
  657. trait = incapable
  658. }
  659. NOT = {
  660. has_any_opinion_modifier = opinion_breaking_out
  661. }
  662. NOT = {
  663. has_any_opinion_modifier = opinion_spying_on
  664. }
  665. }
  666. potential = {
  667. NOT = {
  668. character = FROM
  669. }
  670. OR = {
  671. AND = {
  672. prisoner = yes
  673. liege = {
  674. character = FROM
  675. }
  676. host = {
  677. NOT = {
  678. character = FROM
  679. }
  680. }
  681. }
  682. AND = {
  683. is_female = yes
  684. is_consort = yes
  685. prisoner = no
  686. consort = {
  687. NOT = {
  688. character = FROM
  689. }
  690. reverse_has_opinion_modifier = {
  691. who = ROOT
  692. modifier = opinion_forced_consort
  693. }
  694. }
  695. is_close_relative = FROM
  696. }
  697. }
  698. }
  699. allow = {
  700. NOT = {
  701. trait = incapable
  702. }
  703. NOT = {
  704. has_character_modifier = failed_escape
  705. }
  706. }
  707. effect = {
  708. hidden_tooltip = {
  709. FROM = {
  710. opinion = {
  711. who = ROOT
  712. modifier = opinion_breaking_out
  713. months = 12000
  714. }
  715. if = {
  716. limit = {
  717. ROOT = {
  718. prisoner = yes
  719. }
  720. }
  721. character_event = {
  722. id = WoL.2200
  723. days = 1
  724. }
  725. }
  726. if = {
  727. limit = {
  728. ROOT = {
  729. prisoner = no
  730. }
  731. }
  732. character_event = {
  733. id = WoL.2201
  734. days = 1
  735. }
  736. }
  737. }
  738. }
  739. }
  740. revoke_allowed = {
  741. always = no
  742. }
  743. ai_will_do = {
  744. factor = 1
  745. modifier = {
  746. factor = 0.1
  747. }
  748. modifier = {
  749. factor = 0
  750. is_rival = FROM
  751. }
  752. modifier = {
  753. factor = 0
  754. trait = decadent
  755. religion_group = muslim
  756. }
  757. }
  758. }
  759. invite_to_party = {
  760. ai_target_filter = court
  761. from_potential = {
  762. is_playable = yes
  763. is_adult = yes
  764. has_focus = focus_carousing
  765. prisoner = no
  766. war = no
  767. NOT = {
  768. trait = incapable
  769. }
  770. NOT = {
  771. had_character_flag = {
  772. flag = inviting_guests_to_party_timer
  773. days = 90
  774. }
  775. }
  776. }
  777. potential = {
  778. is_adult = yes
  779. war = no
  780. prisoner = no
  781. NOT = {
  782. trait = incapable
  783. }
  784. is_within_diplo_range = FROM
  785. NOT = {
  786. has_character_flag = carousing_invite
  787. }
  788. NOT = {
  789. character = FROM
  790. }
  791. }
  792. allow = {
  793. same_realm = FROM
  794. NOT = {
  795. has_character_modifier = organizing_party
  796. }
  797. NOT = {
  798. has_character_modifier = party_carousing
  799. }
  800. NOT = {
  801. reverse_has_opinion_modifier = {
  802. modifier = opinion_declined_party
  803. who = FROM
  804. }
  805. }
  806. ROOT = {
  807. custom_tooltip = {
  808. text = tooltip_not_busy
  809. NOT = {
  810. has_character_flag = do_not_disturb
  811. }
  812. }
  813. }
  814. FROM = {
  815. NOT = {
  816. has_character_modifier = party_timer
  817. }
  818. OR = {
  819. NOT = {
  820. religion_group = muslim
  821. }
  822. trait = decadent
  823. trait = hedonist
  824. trait = drunkard
  825. }
  826. }
  827. }
  828. effect = {
  829. FROM = {
  830. if = {
  831. limit = {
  832. NOT = {
  833. has_character_modifier = organizing_party
  834. }
  835. }
  836. add_character_modifier = {
  837. name = organizing_party
  838. duration = 120
  839. }
  840. hidden_tooltip = {
  841. character_event = {
  842. id = WoL.4010
  843. days = 120
  844. }
  845. }
  846. set_character_flag = inviting_guests_to_party_timer
  847. }
  848. set_character_flag = do_not_disturb
  849. }
  850. hidden_tooltip = {
  851. letter_event = {
  852. id = WoL.4000
  853. days = 7
  854. }
  855. }
  856. set_character_flag = carousing_invite
  857. }
  858. revoke_allowed = {
  859. always = no
  860. }
  861. ai_will_do = {
  862. factor = 1
  863. modifier = {
  864. factor = 0
  865. FROM = {
  866. has_character_modifier = organizing_party
  867. }
  868. }
  869. modifier = {
  870. factor = 0
  871. OR = {
  872. trait = leper
  873. trait = has_bubonic_plague
  874. trait = has_typhoid_fever
  875. trait = has_typhus
  876. trait = has_measles
  877. trait = has_small_pox
  878. }
  879. }
  880. }
  881. }
  882. duel_decision = {
  883. is_high_prio = yes
  884. filter = rivals
  885. ai_target_filter = rivals
  886. from_potential = {
  887. is_adult = yes
  888. prisoner = no
  889. has_dlc = "Way of Life"
  890. has_focus = focus_war
  891. has_regent = no
  892. OR = {
  893. ai = no
  894. AND = {
  895. is_female = no
  896. NOT = {
  897. trait = craven
  898. }
  899. NOT = {
  900. trait = content
  901. }
  902. }
  903. }
  904. OR = {
  905. is_female = no
  906. religion_group = pagan_group
  907. is_nomadic = yes
  908. religion = cathar
  909. religion = buddhist
  910. religion = bogomilist
  911. religion = messalian
  912. }
  913. }
  914. potential = {
  915. is_adult = yes
  916. prisoner = no
  917. OR = {
  918. is_female = no
  919. FROM = {
  920. is_female = yes
  921. }
  922. }
  923. NOT = {
  924. character = FROM
  925. }
  926. is_ill = no
  927. NOT = {
  928. trait = incapable
  929. }
  930. }
  931. allow = {
  932. FROM = {
  933. OR = {
  934. is_foe = ROOT
  935. custom_tooltip = {
  936. text = duel_tooltip_excommunicated
  937. AND = {
  938. trait = zealous
  939. ROOT = {
  940. trait = excommunicated
  941. religion = ROOT
  942. }
  943. }
  944. }
  945. AND = {
  946. religion_group = muslim
  947. trait = zealous
  948. ROOT = {
  949. trait = decadent
  950. }
  951. }
  952. }
  953. NOT = {
  954. has_opinion_modifier = {
  955. who = ROOT
  956. modifier = opinion_fled_duel
  957. }
  958. }
  959. }
  960. ROOT = {
  961. NOT = {
  962. age = 60
  963. }
  964. }
  965. custom_tooltip = {
  966. text = duel_tooltip_fought_before
  967. hidden_tooltip = {
  968. NOT = {
  969. has_opinion_modifier = {
  970. who = FROM
  971. modifier = opinion_fought_duel
  972. }
  973. }
  974. FROM = {
  975. NOT = {
  976. has_opinion_modifier = {
  977. who = ROOT
  978. modifier = opinion_fought_duel
  979. }
  980. }
  981. }
  982. }
  983. }
  984. custom_tooltip = {
  985. text = duel_tooltip_busy
  986. hidden_tooltip = {
  987. FROM = {
  988. NOT = {
  989. has_character_flag = do_not_disturb
  990. }
  991. NOT = {
  992. war = yes
  993. }
  994. }
  995. NOT = {
  996. has_character_flag = do_not_disturb
  997. }
  998. NOT = {
  999. war = yes
  1000. }
  1001. }
  1002. }
  1003. custom_tooltip = {
  1004. text = duel_tooltip_valid_target
  1005. hidden_tooltip = {
  1006. OR = {
  1007. is_female = no
  1008. FROM = {
  1009. OR = {
  1010. is_nomadic = yes
  1011. religion_group = pagan_group
  1012. religion = cathar
  1013. religion = buddhist
  1014. religion = bogomilist
  1015. religion = messalian
  1016. }
  1017. }
  1018. }
  1019. OR = {
  1020. is_priest = no
  1021. FROM = {
  1022. religion_group = pagan_group
  1023. }
  1024. }
  1025. }
  1026. }
  1027. custom_tooltip = {
  1028. text = duel_tooltip_recent_duel
  1029. hidden_tooltip = {
  1030. FROM = {
  1031. NOT = {
  1032. has_character_modifier = recent_duel_timer
  1033. }
  1034. }
  1035. NOT = {
  1036. has_character_modifier = recent_duel_timer
  1037. }
  1038. }
  1039. }
  1040. ROOT = {
  1041. custom_tooltip = {
  1042. text = duel_tooltip_sickness
  1043. hidden_tooltip = {
  1044. NOT = {
  1045. OR = {
  1046. trait = incapable
  1047. trait = infirm
  1048. trait = has_aztec_disease
  1049. trait = has_small_pox
  1050. trait = has_measles
  1051. trait = has_bubonic_plague
  1052. trait = has_typhus
  1053. trait = has_typhoid_fever
  1054. trait = has_tuberculosis
  1055. trait = leper
  1056. trait = pneumonic
  1057. }
  1058. }
  1059. }
  1060. }
  1061. }
  1062. FROM = {
  1063. custom_tooltip = {
  1064. text = duel_tooltip_sickness
  1065. hidden_tooltip = {
  1066. NOT = {
  1067. OR = {
  1068. trait = incapable
  1069. trait = infirm
  1070. trait = has_aztec_disease
  1071. trait = has_small_pox
  1072. trait = has_measles
  1073. trait = has_bubonic_plague
  1074. trait = has_typhus
  1075. trait = has_typhoid_fever
  1076. trait = has_tuberculosis
  1077. trait = leper
  1078. trait = pneumonic
  1079. }
  1080. }
  1081. }
  1082. }
  1083. }
  1084. is_within_diplo_range = ROOT
  1085. }
  1086. effect = {
  1087. if = {
  1088. limit = {
  1089. OR = {
  1090. age = 50
  1091. trait = wounded
  1092. trait = maimed
  1093. }
  1094. }
  1095. custom_tooltip = {
  1096. text = dishonorable_duel_tooltip
  1097. hidden_tooltip = {
  1098. FROM = {
  1099. any_realm_character = {
  1100. limit = {
  1101. NOT = {
  1102. character = FROM
  1103. }
  1104. OR = {
  1105. trait = honest
  1106. trait = kind
  1107. trait = just
  1108. }
  1109. }
  1110. opinion = {
  1111. modifier = opinion_dishonorable_duel
  1112. who = FROM
  1113. months = 36
  1114. }
  1115. }
  1116. }
  1117. }
  1118. }
  1119. }
  1120. FROM = {
  1121. if = {
  1122. limit = {
  1123. religion = jain
  1124. }
  1125. piety = -20
  1126. custom_tooltip = {
  1127. text = jain_ahimsa_tooltip
  1128. }
  1129. }
  1130. add_character_modifier = {
  1131. modifier = recent_duel_timer
  1132. duration = 365
  1133. hidden = yes
  1134. }
  1135. }
  1136. hidden_tooltip = {
  1137. character_event = {
  1138. id = WoL.11000
  1139. }
  1140. }
  1141. }
  1142. revoke_allowed = {
  1143. always = no
  1144. }
  1145. ai_will_do = {
  1146. factor = 1
  1147. modifier = {
  1148. factor = 0
  1149. has_character_modifier = declined_prestige_duel_timer
  1150. }
  1151. modifier = {
  1152. factor = 0.01
  1153. }
  1154. }
  1155. }
  1156. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement