Guest User

Untitled

a guest
Jul 15th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.15 KB | None | 0 0
  1. ##########################################################################
  2. # Empire Policies
  3. # StoneMod Additions
  4. #
  5. # #####
  6. #
  7. # AI:
  8. # Base AI-weight is 100, if unchanged
  9. # AI will grab whatever policy-option has the highest weight
  10. #
  11. # #####
  12. #
  13. ##########################################################################
  14.  
  15. war_philosophy = {
  16.  
  17. potential = {
  18. always = yes # only normal Empires should have this policy
  19. }
  20.  
  21. allow = {
  22. is_at_war = no # Not allowed to change policies in this group while at war
  23. }
  24.  
  25. option = {
  26. name = "unrestricted_wars"
  27.  
  28. policy_flags = {
  29. unrestricted_wars
  30. }
  31.  
  32. valid = {
  33. NOT = {
  34. has_ethic = "ethic_fanatic_pacifist"
  35. }
  36. }
  37.  
  38. AI_weight = {
  39. modifier = {
  40. factor = 10
  41. has_valid_ai_personality = no
  42. NOT = {
  43. has_ethic = "ethic_pacifist"
  44. has_ethic = "ethic_fanatic_pacifist"
  45. }
  46. }
  47. modifier = {
  48. factor = 10
  49. has_valid_ai_personality = yes
  50. OR = {
  51. has_ai_personality_behaviour = conqueror
  52. has_ai_personality_behaviour = subjugator
  53. }
  54. }
  55. modifier = {
  56. factor = 0
  57. OR = {
  58. has_ethic = "ethic_pacifist"
  59. has_ethic = "ethic_fanatic_pacifist"
  60. }
  61. }
  62. }
  63.  
  64. pop_happiness = {
  65. base = 0
  66. modifier = {
  67. add = -0.05
  68. pop_has_ethic = "ethic_pacifist"
  69. }
  70. modifier = {
  71. add = -0.1
  72. pop_has_ethic = "ethic_fanatic_pacifist"
  73. }
  74. }
  75. }
  76.  
  77. option = {
  78. name = "liberation_wars"
  79.  
  80. policy_flags = {
  81. liberation_wars
  82. }
  83.  
  84. AI_weight = {
  85. modifier = {
  86. factor = 5
  87. has_valid_ai_personality = no
  88. has_ethic = "ethic_pacifist"
  89. }
  90. modifier = {
  91. factor = 5
  92. has_valid_ai_personality = yes
  93. OR = {
  94. has_ai_personality_behaviour = conqueror
  95. has_ai_personality_behaviour = subjugator
  96. has_ai_personality_behaviour = liberator
  97. }
  98. }
  99. modifier = {
  100. factor = 0
  101. OR = {
  102. has_ethic = "ethic_pacifist"
  103. has_ethic = "ethic_fanatic_pacifist"
  104. }
  105. }
  106. }
  107.  
  108. pop_happiness = {
  109. base = 0
  110. modifier = {
  111. add = -0.05
  112. pop_has_ethic = "ethic_fanatic_pacifist"
  113. }
  114. }
  115. }
  116.  
  117. option = {
  118. name = "no_wars"
  119.  
  120. policy_flags = {
  121. no_wars
  122. }
  123.  
  124. AI_weight = {
  125. modifier = {
  126. factor = 10
  127. has_ethic = "ethic_fanatic_pacifist"
  128. }
  129. modifier = {
  130. factor = 10
  131. has_valid_ai_personality = yes
  132. NOR = {
  133. has_ai_personality_behaviour = liberator
  134. has_ai_personality_behaviour = conqueror
  135. has_ai_personality_behaviour = subjugator
  136. }
  137. }
  138. }
  139.  
  140. pop_happiness = {
  141. base = 0
  142. modifier = {
  143. add = -0.05
  144. pop_has_ethic = "ethic_militarist"
  145. }
  146. modifier = {
  147. add = -0.1
  148. pop_has_ethic = "ethic_fanatic_militarist"
  149. }
  150. }
  151. }
  152. }
  153.  
  154. slavery = {
  155. potential = {
  156. always = yes
  157. }
  158.  
  159. option = {
  160. name = "slavery_not_allowed"
  161.  
  162. on_enabled = {
  163. custom_tooltip = "ALL_POPS_EMANCIPATED"
  164.  
  165. hidden_effect = {
  166. every_owned_pop = {
  167. limit = { is_enslaved = yes }
  168. enslave_pop = no
  169. }
  170. }
  171. }
  172.  
  173. policy_flags = {
  174. slavery_not_allowed
  175. }
  176.  
  177. AI_weight = {
  178. modifier = {
  179. factor = 2
  180. OR = {
  181. has_ethic = "ethic_fanatic_individualist"
  182. has_ethic = "ethic_individualist"
  183. }
  184. NOT = {
  185. has_ethic = "ethic_fanatic_xenophobe"
  186. has_ethic = "ethic_xenophobe"
  187. }
  188. }
  189. }
  190.  
  191. pop_happiness = {
  192. base = 0
  193. modifier = {
  194. add = -0.10
  195. pop_has_trait = trait_decadent
  196. }
  197. }
  198. }
  199.  
  200. option = {
  201. name = "slavery_allowed_xenos_only"
  202.  
  203. potential = {
  204. num_communications > 0
  205. }
  206. valid = {
  207. OR = {
  208. has_ethic = "ethic_xenophobe"
  209. has_ethic = "ethic_fanatic_xenophobe"
  210. }
  211. }
  212. policy_flags = {
  213. slavery_allowed_xenos_only
  214. }
  215. modifier = {}
  216.  
  217. AI_weight = {
  218. modifier = {
  219. factor = 0
  220. has_valid_ai_personality = yes
  221. NOT = { has_ai_personality_behaviour = slaver }
  222. }
  223. modifier = {
  224. factor = 0
  225. OR = {
  226. has_ethic = "ethic_fanatic_xenophile"
  227. has_ethic = "ethic_xenophile"
  228. }
  229. }
  230. modifier = {
  231. factor = 2
  232. OR = {
  233. has_ethic = "ethic_fanatic_xenophobe"
  234. has_ethic = "ethic_xenophobe"
  235. }
  236. }
  237. }
  238.  
  239. pop_happiness = {
  240. base = 0
  241. modifier = {
  242. add = -0.05
  243. pop_has_ethic = "ethic_xenophile"
  244. NOT = { pop_has_trait = trait_decadent }
  245. owner = {
  246. is_same_species = ROOT
  247. }
  248. }
  249. modifier = {
  250. add = -0.1
  251. pop_has_ethic = "ethic_fanatic_xenophile"
  252. NOT = { pop_has_trait = trait_decadent }
  253. owner = {
  254. is_same_species = ROOT
  255. }
  256. }
  257. modifier = {
  258. add = -0.05
  259. pop_has_ethic = "ethic_collectivist"
  260. NOT = { pop_has_trait = trait_decadent }
  261. owner = {
  262. NOT = { is_same_species = ROOT }
  263. }
  264. }
  265. modifier = {
  266. add = -0.05
  267. NOT = {
  268. pop_has_ethic = "ethic_collectivist"
  269. pop_has_ethic = "ethic_fanatic_collectivist"
  270. pop_has_trait = trait_decadent
  271. }
  272. owner = {
  273. NOT = { is_same_species = ROOT }
  274. }
  275. }
  276. }
  277. }
  278.  
  279. option = {
  280. name = "slavery_allowed_all"
  281.  
  282. prerequisites = {
  283. "tech_ethical_equations"
  284. }
  285.  
  286. valid = {
  287. NOT = {
  288. has_ethic = "ethic_individualist"
  289. has_ethic = "ethic_fanatic_individualist"
  290. }
  291. }
  292.  
  293. policy_flags = {
  294. slavery_allowed_all
  295. }
  296. modifier = {}
  297.  
  298. AI_weight = {
  299. modifier = {
  300. factor = 2
  301. OR = {
  302. has_ethic = "ethic_fanatic_collectivist"
  303. has_ethic = "ethic_collectivist"
  304. }
  305. }
  306. modifier = {
  307. factor = 1.5
  308. OR = {
  309. has_ethic = "ethic_fanatic_xenophobe"
  310. has_ethic = "ethic_xenophobe"
  311. }
  312. NOT = {
  313. has_ethic = "ethic_fanatic_individualist"
  314. has_ethic = "ethic_individualist"
  315. }
  316. }
  317. }
  318.  
  319. pop_happiness = {
  320. base = 0
  321. modifier = {
  322. add = -0.05
  323. pop_has_ethic = "ethic_individualist"
  324. NOT = { pop_has_trait = trait_decadent }
  325. }
  326. modifier = {
  327. add = -0.1
  328. pop_has_ethic = "ethic_fanatic_individualist"
  329. NOT = { pop_has_trait = trait_decadent }
  330. }
  331. }
  332. }
  333. }
  334.  
  335. slavery_procreation = {
  336.  
  337. potential = {
  338. OR = {
  339. has_policy_flag = slavery_allowed_xenos_only
  340. has_policy_flag = slavery_allowed_all
  341. }
  342. }
  343.  
  344. option = {
  345. name = "slavery_procreation_allowed"
  346.  
  347. AI_weight = {
  348. base = 10
  349. }
  350. }
  351.  
  352. option = {
  353. name = "slavery_procreation_not_allowed"
  354.  
  355. policy_flags = {
  356. slavery_procreation_not_allowed
  357. }
  358.  
  359. AI_weight = {
  360. base = 0
  361. }
  362.  
  363. on_enabled = {
  364. hidden_effect = {
  365. every_owned_pop = {
  366. limit = {
  367. is_enslaved = yes
  368. is_growing = yes
  369. }
  370. kill_pop = yes
  371. }
  372. }
  373. }
  374.  
  375. pop_happiness = {
  376. base = 0
  377. modifier = {
  378. add = -0.05
  379. is_enslaved = yes
  380. }
  381. }
  382. }
  383. }
  384.  
  385. purge = {
  386.  
  387. potential = {
  388. always = yes
  389. }
  390.  
  391. option = {
  392. name = "purge_not_allowed"
  393.  
  394. on_enabled = {
  395. # custom_tooltip = "policy_purge_allowed_effect_disable"
  396. every_owned_pop = {
  397. limit = { is_being_purged = yes }
  398. purge = no
  399. }
  400. }
  401.  
  402. policy_flags = {
  403. purge_not_allowed
  404. }
  405.  
  406. AI_weight = {
  407. modifier = {
  408. factor = 2
  409. OR = {
  410. has_ethic = "ethic_fanatic_individualist"
  411. has_ethic = "ethic_individualist"
  412. has_ethic = "ethic_fanatic_pacifist"
  413. has_ethic = "ethic_pacifist"
  414. }
  415. }
  416. modifier = {
  417. factor = 0
  418. OR = {
  419. has_ethic = "ethic_fanatic_individualist"
  420. has_ethic = "ethic_individualist"
  421. has_ethic = "ethic_fanatic_pacifist"
  422. has_ethic = "ethic_pacifist"
  423. }
  424. OR = {
  425. has_ethic = "ethic_fanatic_xenophobe"
  426. has_ethic = "ethic_xenophobe"
  427. }
  428. }
  429. }
  430. }
  431.  
  432. option = {
  433. name = "purge_allowed_xenos_only"
  434.  
  435. policy_flags = {
  436. purge_allowed_xenos_only
  437. }
  438. modifier = {}
  439.  
  440. potential = {
  441. num_communications > 0
  442. }
  443.  
  444. valid = {
  445. OR = {
  446. has_ethic = "ethic_xenophobe"
  447. has_ethic = "ethic_fanatic_xenophobe"
  448. has_ethic = "ethic_collectivist"
  449. has_ethic = "ethic_fanatic_collectivist"
  450. }
  451. }
  452.  
  453. AI_weight = {
  454. modifier = {
  455. factor = 0
  456. has_valid_ai_personality = yes
  457. NOT = { has_ai_personality_behaviour = purger }
  458. }
  459. modifier = {
  460. factor = 2
  461. OR = {
  462. has_ethic = "ethic_xenophobe"
  463. has_ethic = "ethic_fanatic_xenophobe"
  464. }
  465. }
  466. modifier = {
  467. factor = 0
  468. OR = {
  469. has_ethic = "ethic_fanatic_individualist"
  470. has_ethic = "ethic_individualist"
  471. has_ethic = "ethic_fanatic_pacifist"
  472. has_ethic = "ethic_pacifist"
  473. has_ethic = "ethic_fanatic_xenophile"
  474. has_ethic = "ethic_xenophile"
  475. }
  476. NOT = {
  477. has_ethic = "ethic_xenophobe"
  478. has_ethic = "ethic_fanatic_xenophobe"
  479. }
  480. }
  481. }
  482.  
  483. pop_happiness = {
  484. base = 0
  485. modifier = {
  486. add = -0.05
  487. pop_has_ethic = "ethic_xenophile"
  488. owner = {
  489. is_same_species = ROOT
  490. }
  491. }
  492. modifier = {
  493. add = -0.1
  494. pop_has_ethic = "ethic_fanatic_xenophile"
  495. owner = {
  496. is_same_species = ROOT
  497. }
  498. }
  499. }
  500. }
  501.  
  502. option = {
  503. name = "purge_allowed_all"
  504.  
  505. potential = {
  506. }
  507. valid = {
  508. OR = {
  509. has_ethic = "ethic_collectivist"
  510. has_ethic = "ethic_fanatic_collectivist"
  511. }
  512. }
  513. policy_flags = {
  514. purge_allowed_all
  515. }
  516. modifier = {}
  517.  
  518. AI_weight = {
  519. modifier = {
  520. factor = 2
  521. OR = {
  522. has_ethic = "ethic_collectivist"
  523. has_ethic = "ethic_fanatic_collectivist"
  524. }
  525. }
  526. modifier = {
  527. factor = 1.5
  528. OR = {
  529. has_ethic = "ethic_xenophobe"
  530. has_ethic = "ethic_fanatic_xenophobe"
  531. }
  532. }
  533. }
  534.  
  535. pop_happiness = {
  536. base = 0
  537. modifier = {
  538. add = -0.05
  539. NOT = {
  540. pop_has_ethic = "ethic_collectivist"
  541. pop_has_ethic = "ethic_fanatic_collectivist"
  542. }
  543. }
  544. modifier = {
  545. add = -0.05
  546. pop_has_ethic = "ethic_individualist"
  547. }
  548. modifier = {
  549. add = -0.1
  550. pop_has_ethic = "ethic_fanatic_individualist"
  551. }
  552. }
  553. }
  554. }
  555.  
  556. orbital_bombardment = {
  557.  
  558. potential = {
  559. always = yes
  560. }
  561.  
  562. option = {
  563. name = "orbital_bombardment_light"
  564.  
  565. policy_flags = {
  566. allow_orbital_bombardment_light
  567. }
  568.  
  569. on_enabled = {
  570. # custom_tooltip = "policy_allow_slavery_effect_disable"
  571. }
  572.  
  573. AI_weight = {
  574. modifier = {
  575. factor = 4
  576. OR = {
  577. has_ethic = "ethic_pacifist"
  578. has_ethic = "ethic_fanatic_pacifist"
  579. }
  580. }
  581. modifier = {
  582. factor = 0.5
  583. NOT = {
  584. has_ethic = "ethic_pacifist"
  585. has_ethic = "ethic_fanatic_pacifist"
  586. }
  587. }
  588. modifier = {
  589. factor = 0
  590. OR = {
  591. has_ethic = "ethic_militarist"
  592. has_ethic = "ethic_fanatic_militarist"
  593. }
  594. }
  595. }
  596. }
  597. option = {
  598. name = "orbital_bombardment_limited"
  599.  
  600. policy_flags = {
  601. allow_orbital_bombardment_light
  602. allow_orbital_bombardment_limited
  603. }
  604. modifier = {}
  605.  
  606. valid = {
  607. NOT = {
  608. has_ethic = "ethic_fanatic_pacifist"
  609. }
  610. }
  611.  
  612. pop_happiness = {
  613. base = 0
  614. modifier = {
  615. add = -0.05
  616. pop_has_ethic = "ethic_pacifist"
  617. }
  618. modifier = {
  619. add = -0.1
  620. pop_has_ethic = "ethic_fanatic_pacifist"
  621. }
  622. }
  623.  
  624. AI_weight = {
  625. modifier = {
  626. factor = 2
  627. has_ethic = "ethic_militarist"
  628. }
  629. modifier = {
  630. factor = 0
  631. has_ethic = "ethic_fanatic_militarist"
  632. }
  633. }
  634. }
  635. option = {
  636. name = "orbital_bombardment_full"
  637.  
  638. potential = {
  639. }
  640.  
  641. valid = {
  642. OR = {
  643. has_ethic = "ethic_militarist"
  644. has_ethic = "ethic_fanatic_militarist"
  645. }
  646. }
  647.  
  648. policy_flags = {
  649. allow_orbital_bombardment_light
  650. allow_orbital_bombardment_limited
  651. allow_orbital_bombardment_full
  652. }
  653. modifier = {}
  654.  
  655. AI_weight = {
  656. modifier = {
  657. factor = 2
  658. has_ethic = "ethic_fanatic_militarist"
  659. }
  660. modifier = {
  661. factor = 0
  662. NOT = {
  663. has_ethic = "ethic_fanatic_militarist"
  664. }
  665. }
  666. }
  667.  
  668. pop_happiness = {
  669. base = 0
  670. modifier = {
  671. add = -0.1
  672. pop_has_ethic = "ethic_pacifist"
  673. }
  674. modifier = {
  675. add = -0.2
  676. pop_has_ethic = "ethic_fanatic_pacifist"
  677. }
  678. }
  679. }
  680. }
  681.  
  682. interference = {
  683.  
  684. potential = {
  685. has_country_flag = encountered_first_primitive
  686. }
  687.  
  688. option = {
  689. name = "interference_passive"
  690.  
  691. policy_flags = {
  692. interference_passive
  693. }
  694.  
  695. on_enabled = {
  696. # custom_tooltip = "policy_allow_slavery_effect_disable"
  697. }
  698.  
  699. valid = {
  700. NOT = {
  701. has_ethic = "ethic_fanatic_xenophobe"
  702. }
  703. }
  704.  
  705. pop_happiness = {
  706. base = 0
  707. }
  708. }
  709.  
  710. option = {
  711. name = "interference_active"
  712.  
  713. policy_flags = {
  714. interference_active
  715. }
  716. modifier = {}
  717.  
  718. valid = {
  719. NOT = {
  720. has_ethic = "ethic_fanatic_xenophile"
  721. }
  722. }
  723.  
  724. AI_weight = {
  725. modifier = {
  726. factor = 2
  727. has_valid_ai_personality = yes
  728. OR = {
  729. has_ai_personality_behaviour = infiltrator
  730. has_ai_personality_behaviour = dominator
  731. }
  732. }
  733. modifier = {
  734. factor = 0
  735. has_valid_ai_personality = yes
  736. NOT = {
  737. has_ai_personality_behaviour = infiltrator
  738. has_ai_personality_behaviour = dominator
  739. }
  740. }
  741. }
  742.  
  743. pop_happiness = {
  744. base = 0
  745. modifier = {
  746. add = -0.05
  747. pop_has_ethic = "ethic_fanatic_xenophile"
  748. }
  749. }
  750. }
  751. option = {
  752. name = "interference_full"
  753.  
  754. potential = {
  755. }
  756. valid = {
  757. NOT = {
  758. has_ethic = "ethic_pacifist"
  759. has_ethic = "ethic_fanatic_pacifist"
  760. has_ethic = "ethic_xenophile"
  761. has_ethic = "ethic_fanatic_xenophile"
  762. }
  763. }
  764. policy_flags = {
  765. interference_full
  766. }
  767. modifier = {}
  768. AI_weight = {
  769. modifier = {
  770. factor = 3
  771. has_valid_ai_personality = yes
  772. OR = {
  773. has_ai_personality_behaviour = infiltrator
  774. has_ai_personality_behaviour = dominator
  775. }
  776. }
  777. modifier = {
  778. factor = 0
  779. has_valid_ai_personality = yes
  780. NOT = {
  781. has_ai_personality_behaviour = infiltrator
  782. has_ai_personality_behaviour = dominator
  783. }
  784. }
  785. modifier = {
  786. factor = 0
  787. OR = {
  788. has_ethic = "ethic_pacifist"
  789. has_ethic = "ethic_fanatic_pacifist"
  790. has_ethic = "ethic_xenophile"
  791. has_ethic = "ethic_fanatic_xenophile"
  792. }
  793. }
  794. }
  795.  
  796. pop_happiness = {
  797. base = 0
  798. modifier = {
  799. add = -0.05
  800. pop_has_ethic = "ethic_xenophile"
  801. }
  802. modifier = {
  803. add = -0.10
  804. pop_has_ethic = "ethic_fanatic_xenophile"
  805. }
  806. modifier = {
  807. add = -0.05
  808. pop_has_ethic = "ethic_pacifist"
  809. }
  810. modifier = {
  811. add = -0.1
  812. pop_has_ethic = "ethic_fanatic_pacifist"
  813. }
  814. }
  815. }
  816. }
  817.  
  818. enlightenment = {
  819.  
  820. potential = {
  821. has_country_flag = encountered_first_primitive
  822. }
  823.  
  824. option = {
  825. name = "enlightenment_not_allowed"
  826.  
  827. policy_flags = {
  828. enlightenment_not_allowed
  829. }
  830.  
  831. on_enabled = {
  832. # custom_tooltip = "policy_allow_slavery_effect_disable"
  833. }
  834. AI_weight = {
  835. weight = 1
  836. }
  837.  
  838. pop_happiness = {
  839. base = 0
  840. }
  841. }
  842.  
  843. option = {
  844. name = "enlightenment_allowed"
  845.  
  846. policy_flags = {
  847. enlightenment_allowed
  848. }
  849. modifier = {}
  850.  
  851. valid = {
  852. NOT = {
  853. has_ethic = "ethic_fanatic_xenophobe"
  854. }
  855. }
  856.  
  857. AI_weight = {
  858. modifier = {
  859. factor = 2
  860. has_valid_ai_personality = yes
  861. has_ai_personality_behaviour = uplifter
  862. }
  863. modifier = {
  864. factor = 0
  865. has_valid_ai_personality = yes
  866. NOT = { has_ai_personality_behaviour = uplifter }
  867. }
  868. modifier = {
  869. factor = 0
  870. OR = {
  871. has_ethic = "ethic_xenophobe"
  872. has_ethic = "ethic_fanatic_xenophobe"
  873. }
  874. }
  875. }
  876.  
  877. pop_happiness = {
  878. base = 0
  879. modifier = {
  880. add = -0.05
  881. pop_has_ethic = "ethic_xenophobe"
  882. }
  883. modifier = {
  884. add = -0.10
  885. pop_has_ethic = "ethic_fanatic_xenophobe"
  886. }
  887. }
  888. }
  889. }
  890.  
  891. migration = {
  892.  
  893. potential = {
  894. always = yes
  895. }
  896.  
  897. option = {
  898. name = "migration_not_allowed"
  899.  
  900. policy_flags = {
  901. migration_not_allowed
  902. }
  903.  
  904. on_enabled = {
  905. # custom_tooltip = "policy_allow_slavery_effect_disable"
  906. }
  907.  
  908. valid = {
  909. NOT = {
  910. has_ethic = "ethic_fanatic_individualist"
  911. }
  912. grants_migration_access = no
  913. }
  914.  
  915. AI_weight = {
  916. modifier = {
  917. factor = 1.5
  918. OR = {
  919. has_ethic = "ethic_collectivist"
  920. has_ethic = "ethic_fanatic_collectivist"
  921. }
  922. }
  923. modifier = {
  924. factor = 0
  925. OR = {
  926. has_ethic = "ethic_individualist"
  927. has_ethic = "ethic_fanatic_individualist"
  928. }
  929. }
  930. modifier = {
  931. factor = 0
  932. has_ai_personality_behaviour = migrator
  933. }
  934. }
  935.  
  936. pop_happiness = {
  937. base = 0
  938. modifier = {
  939. add = -0.05
  940. pop_has_ethic = "ethic_individualist"
  941. }
  942. modifier = {
  943. add = -0.10
  944. pop_has_ethic = "ethic_fanatic_individualist"
  945. }
  946. }
  947. }
  948.  
  949. option = {
  950. name = "migration_allowed_primary_only"
  951.  
  952. policy_flags = {
  953. migration_allowed_primary_only
  954. }
  955. modifier = {}
  956.  
  957. valid = {
  958. grants_migration_access = no
  959. }
  960.  
  961. AI_weight = {
  962. modifier = {
  963. factor = 2
  964. OR = {
  965. has_ethic = "ethic_xenophobe"
  966. has_ethic = "ethic_fanatic_xenophobe"
  967. }
  968. }
  969. }
  970.  
  971. pop_happiness = {
  972. base = 0
  973. modifier = {
  974. add = -0.05
  975. pop_has_ethic = "ethic_xenophile"
  976. owner = {
  977. is_same_species = ROOT
  978. }
  979. }
  980. modifier = {
  981. add = -0.10
  982. pop_has_ethic = "ethic_fanatic_xenophile"
  983. owner = {
  984. is_same_species = ROOT
  985. }
  986. }
  987. modifier = {
  988. add = -0.05
  989. NOT = {
  990. pop_has_ethic = "ethic_xenophobe"
  991. pop_has_ethic = "ethic_fanatic_xenophobe"
  992. }
  993. pop_has_ethic = "ethic_individualist"
  994. owner = {
  995. NOT = {
  996. is_same_species = ROOT
  997. }
  998. }
  999. }
  1000. modifier = {
  1001. add = -0.10
  1002. pop_has_ethic = "ethic_fanatic_individualist"
  1003. NOT = {
  1004. pop_has_ethic = "ethic_xenophobe"
  1005. pop_has_ethic = "ethic_fanatic_xenophobe"
  1006. }
  1007. owner = {
  1008. NOT = {
  1009. is_same_species = ROOT
  1010. }
  1011. }
  1012. }
  1013. }
  1014. }
  1015.  
  1016. option = {
  1017. name = "migration_allowed_all"
  1018.  
  1019. policy_flags = {
  1020. migration_allowed_all
  1021. }
  1022. modifier = {}
  1023.  
  1024. valid = {
  1025. NOT = {
  1026. has_ethic = "ethic_fanatic_xenophobe"
  1027. }
  1028. }
  1029.  
  1030. AI_weight = {
  1031. modifier = {
  1032. factor = 2
  1033. OR = {
  1034. has_ethic = "ethic_individualist"
  1035. has_ethic = "ethic_fanatic_individualist"
  1036. }
  1037. }
  1038. modifier = {
  1039. factor = 2
  1040. OR = {
  1041. has_ethic = "ethic_xenophile"
  1042. has_ethic = "ethic_fanatic_xenophile"
  1043. }
  1044. }
  1045. modifier = {
  1046. factor = 0
  1047. OR = {
  1048. has_ethic = "ethic_xenophobe"
  1049. has_ethic = "ethic_fanatic_xenophobe"
  1050. }
  1051. }
  1052. }
  1053.  
  1054. pop_happiness = {
  1055. base = 0
  1056. modifier = {
  1057. add = -0.05
  1058. pop_has_ethic = "ethic_xenophobe"
  1059. owner = {
  1060. is_same_species = ROOT
  1061. }
  1062. }
  1063. modifier = {
  1064. add = -0.1
  1065. pop_has_ethic = "ethic_fanatic_xenophobe"
  1066. owner = {
  1067. is_same_species = ROOT
  1068. }
  1069. }
  1070. }
  1071. }
  1072. }
  1073.  
  1074. resettlement = {
  1075. potential = {
  1076. always = yes
  1077. }
  1078.  
  1079. option = {
  1080. name = "resettlement_not_allowed"
  1081.  
  1082. policy_flags = {
  1083. resettlement_not_allowed
  1084. }
  1085.  
  1086. AI_weight = {
  1087. modifier = {
  1088. factor = 0
  1089. OR = {
  1090. has_ethic = "ethic_xenophobe"
  1091. has_ethic = "ethic_fanatic_xenophobe"
  1092. has_ethic = "ethic_collectivist"
  1093. has_ethic = "ethic_fanatic_collectivist"
  1094. has_government = "divine_mandate"
  1095. has_government = "transcendent_empire"
  1096. }
  1097. }
  1098. }
  1099. }
  1100.  
  1101. option = {
  1102. name = "resettlement_allowed"
  1103.  
  1104. policy_flags = {
  1105. resettlement_allowed
  1106. }
  1107. modifier = {}
  1108.  
  1109. valid = {
  1110. NOT = {
  1111. has_ethic = ethic_individualist
  1112. has_ethic = ethic_fanatic_individualist
  1113. }
  1114. }
  1115.  
  1116. pop_happiness = {
  1117. base = 0
  1118. modifier = {
  1119. add = -0.05
  1120. NOT = {
  1121. OR = {
  1122. pop_has_ethic = "ethic_xenophobe"
  1123. pop_has_ethic = "ethic_fanatic_xenophobe"
  1124. pop_has_ethic = "ethic_collectivist"
  1125. pop_has_ethic = "ethic_fanatic_collectivist"
  1126. AND = {
  1127. tile = {
  1128. owner = {
  1129. OR = {
  1130. has_government = "divine_mandate"
  1131. has_government = "transcendent_empire"
  1132. }
  1133. }
  1134. }
  1135. OR = {
  1136. pop_has_ethic = "ethic_spiritualist"
  1137. pop_has_ethic = "ethic_fanatic_spiritualist"
  1138. }
  1139. }
  1140. }
  1141. }
  1142. }
  1143. }
  1144.  
  1145. AI_weight = {
  1146. modifier = {
  1147. factor = 0
  1148. NOT = {
  1149. OR = {
  1150. has_ethic = "ethic_xenophobe"
  1151. has_ethic = "ethic_fanatic_xenophobe"
  1152. has_ethic = "ethic_collectivist"
  1153. has_ethic = "ethic_fanatic_collectivist"
  1154. has_government = "divine_mandate"
  1155. has_government = "transcendent_empire"
  1156. }
  1157. }
  1158. }
  1159. modifier = {
  1160. factor = 10
  1161. OR = {
  1162. has_ethic = "ethic_xenophobe"
  1163. has_ethic = "ethic_fanatic_xenophobe"
  1164. has_ethic = "ethic_collectivist"
  1165. has_ethic = "ethic_fanatic_collectivist"
  1166. has_government = "divine_mandate"
  1167. has_government = "transcendent_empire"
  1168. }
  1169. }
  1170. }
  1171. }
  1172. }
  1173.  
  1174. voting_rights = {
  1175.  
  1176. potential = {
  1177. is_country_type = default # only normal Empires should have this policy
  1178. }
  1179.  
  1180. option = {
  1181. name = "voting_not_allowed"
  1182.  
  1183. potential = {
  1184. OR = {
  1185. has_government = "divine_mandate"
  1186. has_government = "transcendent_empire"
  1187. has_government = "despotic_hegemony"
  1188. has_government = "ai_overlordship"
  1189. has_government = "enlightened_monarchy"
  1190. has_government = "irenic_monarchy"
  1191. has_government = "despotic_empire"
  1192. has_government = "star_empire"
  1193. }
  1194. }
  1195.  
  1196. policy_flags = {
  1197. voting_not_allowed
  1198. }
  1199.  
  1200. on_enabled = {
  1201. # custom_tooltip = "policy_allow_slavery_effect_disable"
  1202. }
  1203.  
  1204. pop_happiness = {
  1205. base = 0
  1206. modifier = {
  1207. add = -0.05
  1208. pop_has_ethic = "ethic_individualist"
  1209. }
  1210. modifier = {
  1211. add = -0.1
  1212. pop_has_ethic = "ethic_fanatic_individualist"
  1213. }
  1214. }
  1215. }
  1216.  
  1217. option = {
  1218. name = "voting_allowed_elites_only"
  1219.  
  1220. potential = {
  1221. OR = {
  1222. has_government = "military_dictatorship"
  1223. has_government = "martial_empire"
  1224. has_government = "military_junta"
  1225. has_government = "ordered_stratocracy"
  1226. has_government = "theocratic_oligarchy"
  1227. has_government = "transcendent_oligarchy"
  1228. has_government = "science_directorate"
  1229. has_government = "illuminated_technocracy"
  1230. has_government = "peaceful_bureaucracy"
  1231. has_government = "irenic_protectorate"
  1232. has_government = "plutocratic_oligarchy"
  1233. has_government = "mega_corporation"
  1234. has_government = "col_autocracy"
  1235. has_government = "col_autocracy2"
  1236. has_government = "xenophobe_oligarchy"
  1237. has_government = "xenophobe_oligarchy2"
  1238. }
  1239. }
  1240.  
  1241. policy_flags = {
  1242. voting_allowed_elites_only
  1243. }
  1244.  
  1245. on_enabled = {
  1246. # custom_tooltip = "policy_allow_slavery_effect_disable"
  1247. }
  1248.  
  1249. pop_happiness = {
  1250. base = 0
  1251. modifier = {
  1252. add = -0.05
  1253. pop_has_ethic = "ethic_fanatic_individualist"
  1254. }
  1255. }
  1256. }
  1257.  
  1258. option = {
  1259. name = "voting_allowed_primary_only"
  1260.  
  1261. policy_flags = {
  1262. voting_allowed_primary_only
  1263. }
  1264. modifier = {}
  1265.  
  1266. potential = {
  1267. OR = {
  1268. has_government = "military_republic"
  1269. has_government = "martial_demarchy"
  1270. has_government = "theocratic_republic"
  1271. has_government = "transcendent_republic"
  1272. has_government = "direct_democracy"
  1273. has_government = "subconscious_consensus"
  1274. has_government = "moral_democracy"
  1275. has_government = "irenic_democracy"
  1276. has_government = "indirect_democracy"
  1277. has_government = "democratic_utopia"
  1278. has_government = "ind_democracy"
  1279. has_government = "ind_democracy2"
  1280. }
  1281. }
  1282.  
  1283. AI_weight = {
  1284. modifier = {
  1285. factor = 2
  1286. OR = {
  1287. has_ethic = "ethic_xenophile"
  1288. has_ethic = "ethic_fanatic_xenophile"
  1289. }
  1290. }
  1291. modifier = {
  1292. factor = 0
  1293. OR = {
  1294. has_ethic = "ethic_xenophobe"
  1295. has_ethic = "ethic_fanatic_xenophobe"
  1296. }
  1297. }
  1298. modifier = {
  1299. factor = 0
  1300. has_ai_personality_type = hegemon
  1301. }
  1302. modifier = {
  1303. factor = 0
  1304. has_ai_personality_type = isolationist
  1305. }
  1306. modifier = {
  1307. factor = 2
  1308. has_ai_personality_type = federation_builder
  1309. }
  1310. modifier = {
  1311. factor = 2
  1312. has_ai_personality_type = explorer
  1313. }
  1314. }
  1315.  
  1316. pop_happiness = {
  1317. base = 0
  1318. modifier = {
  1319. add = -0.05
  1320. pop_has_ethic = "ethic_xenophile"
  1321. owner = {
  1322. is_same_species = ROOT
  1323. }
  1324. }
  1325. modifier = {
  1326. add = -0.1
  1327. pop_has_ethic = "ethic_fanatic_xenophile"
  1328. owner = {
  1329. is_same_species = ROOT
  1330. }
  1331. }
  1332. modifier = {
  1333. add = -0.05
  1334. pop_has_ethic = "ethic_collectivist"
  1335. owner = {
  1336. NOT = { is_same_species = ROOT }
  1337. }
  1338. }
  1339. modifier = {
  1340. add = -0.1
  1341. NOT = {
  1342. pop_has_ethic = "ethic_collectivist"
  1343. pop_has_ethic = "ethic_fanatic_collectivist"
  1344. }
  1345. owner = {
  1346. NOT = { is_same_species = ROOT }
  1347. }
  1348. }
  1349. modifier = {
  1350. add = -0.05
  1351. pop_has_ethic = "ethic_individualist"
  1352. NOT = {
  1353. pop_has_ethic = "ethic_xenophobe"
  1354. pop_has_ethic = "ethic_fanatic_xenophobe"
  1355. }
  1356. owner = {
  1357. NOT = { is_same_species = ROOT }
  1358. }
  1359. }
  1360. modifier = {
  1361. add = -0.1
  1362. pop_has_ethic = "ethic_fanatic_individualist"
  1363. NOT = {
  1364. pop_has_ethic = "ethic_xenophobe"
  1365. pop_has_ethic = "ethic_fanatic_xenophobe"
  1366. }
  1367. owner = {
  1368. NOT = { is_same_species = ROOT }
  1369. }
  1370. }
  1371. }
  1372. }
  1373.  
  1374. option = {
  1375. name = "voting_allowed_all"
  1376.  
  1377. policy_flags = {
  1378. voting_allowed_all
  1379. }
  1380. modifier = {}
  1381.  
  1382. potential = {
  1383. OR = {
  1384. has_government = "military_republic"
  1385. has_government = "martial_demarchy"
  1386. has_government = "theocratic_republic"
  1387. has_government = "transcendent_republic"
  1388. has_government = "direct_democracy"
  1389. has_government = "subconscious_consensus"
  1390. has_government = "moral_democracy"
  1391. has_government = "irenic_democracy"
  1392. has_government = "indirect_democracy"
  1393. has_government = "democratic_utopia"
  1394. has_government = "ind_democracy"
  1395. has_government = "ind_democracy2"
  1396. }
  1397. }
  1398.  
  1399. valid = {
  1400. NOT = {
  1401. has_ethic = "ethic_fanatic_xenophobe"
  1402. }
  1403. }
  1404.  
  1405. AI_weight = {
  1406. modifier = {
  1407. factor = 0
  1408. OR = {
  1409. has_ethic = "ethic_xenophobe"
  1410. has_ethic = "ethic_fanatic_xenophobe"
  1411. }
  1412. }
  1413. modifier = {
  1414. factor = 4.0
  1415. OR = {
  1416. has_ethic = "ethic_xenophile"
  1417. has_ethic = "ethic_fanatic_xenophile"
  1418. }
  1419. }
  1420. }
  1421.  
  1422. pop_happiness = {
  1423. base = 0
  1424. modifier = {
  1425. add = -0.1
  1426. pop_has_ethic = "ethic_xenophobe"
  1427. owner = {
  1428. is_same_species = ROOT
  1429. }
  1430. }
  1431. }
  1432. }
  1433. }
  1434.  
  1435. leadership = {
  1436.  
  1437. potential = {
  1438. always = yes
  1439. }
  1440.  
  1441. option = {
  1442. name = "leadership_primary_only"
  1443.  
  1444. policy_flags = {
  1445. leadership_allow_dominant_only
  1446. }
  1447.  
  1448. on_enabled = {
  1449. # custom_tooltip = "policy_allow_slavery_effect_disable"
  1450. }
  1451.  
  1452. pop_happiness = {
  1453. base = 0
  1454. modifier = {
  1455. add = -0.05
  1456. is_robot_pop = yes
  1457. }
  1458. modifier = {
  1459. add = -0.05
  1460. is_robot_pop = no
  1461. owner = {
  1462. NOT = {
  1463. is_same_species = ROOT
  1464. }
  1465. }
  1466. }
  1467. }
  1468. }
  1469.  
  1470. option = {
  1471. name = "leadership_allow_xeno"
  1472.  
  1473. policy_flags = {
  1474. leadership_allow_xeno
  1475. }
  1476. modifier = {}
  1477.  
  1478. valid = {
  1479. NOT = {
  1480. has_ethic = "ethic_fanatic_xenophobe"
  1481. }
  1482. }
  1483.  
  1484. AI_weight = {
  1485. modifier = {
  1486. factor = 2
  1487. OR = {
  1488. has_ethic = "ethic_xenophile"
  1489. has_ethic = "ethic_fanatic_xenophile"
  1490. }
  1491. }
  1492. modifier = {
  1493. factor = 0
  1494. OR = {
  1495. has_ethic = "ethic_xenophobe"
  1496. has_ethic = "ethic_fanatic_xenophobe"
  1497. }
  1498. }
  1499. modifier = {
  1500. factor = 0
  1501. has_ai_personality_type = hegemon
  1502. }
  1503. modifier = {
  1504. factor = 0
  1505. has_ai_personality_type = isolationist
  1506. }
  1507. modifier = {
  1508. factor = 2
  1509. has_ai_personality_type = federation_builder
  1510. }
  1511. modifier = {
  1512. factor = 2
  1513. has_ai_personality_type = explorer
  1514. }
  1515. }
  1516.  
  1517. pop_happiness = {
  1518. base = 0
  1519. modifier = {
  1520. add = -0.05
  1521. is_robot_pop = yes
  1522. }
  1523. modifier = {
  1524. add = -0.05
  1525. NOT = {
  1526. pop_has_ethic = "ethic_xenophobe"
  1527. pop_has_ethic = "ethic_fanatic_xenophobe"
  1528. pop_has_ethic = "ethic_xenophile"
  1529. pop_has_ethic = "ethic_fanatic_xenophile"
  1530. }
  1531. owner = {
  1532. is_same_species = ROOT
  1533. }
  1534. }
  1535. modifier = {
  1536. add = -0.1
  1537. pop_has_ethic = "ethic_xenophobe"
  1538. owner = {
  1539. is_same_species = ROOT
  1540. }
  1541. }
  1542. modifier = {
  1543. add = -0.2
  1544. pop_has_ethic = "ethic_fanatic_xenophobe"
  1545. owner = {
  1546. is_same_species = ROOT
  1547. }
  1548. }
  1549. }
  1550.  
  1551. prerequisites = { tech_xeno_integration }
  1552. }
  1553.  
  1554. option = {
  1555. name = "leadership_allow_robot"
  1556.  
  1557. policy_flags = {
  1558. leadership_allow_robot
  1559. }
  1560. modifier = {}
  1561.  
  1562. prerequisites = { tech_synthetic_leaders }
  1563.  
  1564. AI_weight = {
  1565. modifier = {
  1566. factor = 0
  1567. has_valid_ai_personality = yes
  1568. NOT = { has_ai_personality_behaviour = robot_liberator }
  1569. }
  1570. modifier = {
  1571. factor = 2
  1572. has_valid_ai_personality = yes
  1573. has_ai_personality_behaviour = robot_liberator
  1574. }
  1575. modifier = {
  1576. factor = 0
  1577. OR = {
  1578. has_ethic = "ethic_spiritualist"
  1579. has_ethic = "ethic_fanatic_spiritualist"
  1580. }
  1581. }
  1582. }
  1583.  
  1584. pop_happiness = {
  1585. base = 0
  1586. modifier = {
  1587. add = -0.05
  1588. is_robot_pop = no
  1589. NOT = {
  1590. pop_has_ethic = "ethic_materialist"
  1591. pop_has_ethic = "ethic_fanatic_materialist"
  1592. }
  1593. }
  1594. modifier = {
  1595. add = -0.05
  1596. pop_has_ethic = "ethic_fanatic_spiritualist"
  1597. }
  1598. }
  1599. }
  1600.  
  1601. option = {
  1602. name = "leadership_allow_all"
  1603.  
  1604. policy_flags = {
  1605. leadership_allow_all
  1606. }
  1607. modifier = {}
  1608.  
  1609. potential = {
  1610. has_technology = tech_xeno_integration
  1611. has_technology = tech_synthetic_leaders
  1612. }
  1613.  
  1614. valid = {
  1615. NOT = {
  1616. has_ethic = "ethic_fanatic_xenophobe"
  1617. }
  1618. }
  1619.  
  1620. AI_weight = {
  1621. modifier = {
  1622. factor = 0
  1623. OR = {
  1624. has_ethic = "ethic_xenophobe"
  1625. has_ethic = "ethic_fanatic_xenophobe"
  1626. }
  1627. }
  1628. modifier = {
  1629. factor = 0
  1630. OR = {
  1631. has_ethic = "ethic_spiritualist"
  1632. has_ethic = "ethic_fanatic_spiritualist"
  1633. }
  1634. }
  1635. modifier = {
  1636. factor = 4
  1637. OR = {
  1638. has_ethic = "ethic_xenophile"
  1639. has_ethic = "ethic_fanatic_xenophile"
  1640. }
  1641. OR = {
  1642. has_ethic = "ethic_materialist"
  1643. has_ethic = "ethic_fanatic_materialist"
  1644. }
  1645. }
  1646. }
  1647.  
  1648. pop_happiness = {
  1649. base = 0
  1650. modifier = {
  1651. add = -0.05
  1652. pop_has_ethic = "ethic_xenophobe"
  1653. owner = {
  1654. is_same_species = ROOT
  1655. }
  1656. }
  1657. modifier = {
  1658. add = -0.1
  1659. pop_has_ethic = "ethic_fanatic_xenophobe"
  1660. owner = {
  1661. is_same_species = ROOT
  1662. }
  1663. }
  1664. modifier = {
  1665. add = -0.05
  1666. pop_has_ethic = "ethic_spiritualist"
  1667. }
  1668. modifier = {
  1669. add = -0.1
  1670. pop_has_ethic = "ethic_fanatic_spiritualist"
  1671. }
  1672. }
  1673. }
  1674. }
  1675.  
  1676. leader_enhancement = {
  1677.  
  1678. potential = {
  1679. has_technology = tech_selected_lineages
  1680. }
  1681.  
  1682. option = {
  1683. name = "leader_enhancement_natural_selection"
  1684.  
  1685. policy_flags = {
  1686. leader_enhancement_natural_selection
  1687. }
  1688.  
  1689. on_enabled = {
  1690. # custom_tooltip = "policy_allow_slavery_effect_disable"
  1691. }
  1692.  
  1693. modifier = {}
  1694.  
  1695. }
  1696.  
  1697. option = {
  1698. name = "leader_enhancement_selected_lineages"
  1699.  
  1700. policy_flags = {
  1701. leader_enhancement_selected_lineages
  1702. }
  1703. modifier = {
  1704. leader_skill_levels = 1
  1705. leader_age = 25
  1706. leader_influence_cost = 0.25
  1707. }
  1708.  
  1709. AI_weight = {
  1710. modifier = {
  1711. factor = 0
  1712. OR = {
  1713. has_ethic = "ethic_collectivist"
  1714. has_ethic = "ethic_fanatic_collectivist"
  1715. }
  1716. }
  1717. modifier = {
  1718. factor = 2
  1719. OR = {
  1720. has_ethic = "ethic_individualist"
  1721. has_ethic = "ethic_fanatic_individualist"
  1722. }
  1723. }
  1724. }
  1725.  
  1726. pop_happiness = {
  1727. base = 0
  1728. modifier = {
  1729. add = -0.05
  1730. pop_has_ethic = "ethic_collectivist"
  1731. }
  1732. modifier = {
  1733. add = -0.10
  1734. pop_has_ethic = "ethic_fanatic_collectivist"
  1735. }
  1736. }
  1737.  
  1738. prerequisites = { tech_selected_lineages }
  1739. }
  1740.  
  1741. option = {
  1742. name = "leader_enhancement_capacity_boosters"
  1743.  
  1744. policy_flags = {
  1745. leader_enhancement_capacity_boosters
  1746. }
  1747. modifier = {
  1748. leader_skill_levels = 2
  1749. leader_age = 50
  1750. leader_influence_cost = 0.50
  1751. }
  1752.  
  1753. prerequisites = { tech_capacity_boosters }
  1754.  
  1755. AI_weight = {
  1756. modifier = {
  1757. factor = 0
  1758. OR = {
  1759. has_ethic = "ethic_collectivist"
  1760. has_ethic = "ethic_fanatic_collectivist"
  1761. has_ethic = "ethic_spiritualist"
  1762. has_ethic = "ethic_fanatic_spiritualist"
  1763. }
  1764. }
  1765. modifier = {
  1766. factor = 2
  1767. OR = {
  1768. has_ethic = "ethic_individualist"
  1769. has_ethic = "ethic_fanatic_individualist"
  1770. }
  1771. }
  1772. }
  1773.  
  1774. pop_happiness = {
  1775. base = 0
  1776. modifier = {
  1777. add = -0.05
  1778. pop_has_ethic = "ethic_collectivist"
  1779. }
  1780. modifier = {
  1781. add = -0.10
  1782. pop_has_ethic = "ethic_fanatic_collectivist"
  1783. }
  1784. modifier = {
  1785. add = -0.05
  1786. pop_has_ethic = "ethic_spiritualist"
  1787. }
  1788. modifier = {
  1789. add = -0.10
  1790. pop_has_ethic = "ethic_fanatic_spiritualist"
  1791. }
  1792. }
  1793. }
  1794. }
  1795.  
  1796. first_contact_protocol = {
  1797.  
  1798. potential = {
  1799. always = yes
  1800. }
  1801.  
  1802. option = {
  1803. name = "first_contact_attack_not_allowed"
  1804.  
  1805. policy_flags = {
  1806. first_contact_attack_not_allowed
  1807. }
  1808.  
  1809. on_enabled = {
  1810. # custom_tooltip = "policy_allow_slavery_effect_disable"
  1811. }
  1812.  
  1813. pop_happiness = {
  1814. base = 0
  1815. modifier = {
  1816. add = -0.025
  1817. pop_has_ethic = "ethic_xenophobe"
  1818. owner = {
  1819. is_same_species = ROOT
  1820. }
  1821. NOT = {
  1822. has_ethic = "ethic_pacifist"
  1823. has_ethic = "ethic_fanatic_pacifist"
  1824. }
  1825. }
  1826. modifier = {
  1827. add = -0.05
  1828. pop_has_ethic = "ethic_fanatic_xenophobe"
  1829. owner = {
  1830. is_same_species = ROOT
  1831. }
  1832. NOT = {
  1833. has_ethic = "ethic_pacifist"
  1834. has_ethic = "ethic_fanatic_pacifist"
  1835. }
  1836. }
  1837. modifier = {
  1838. add = -0.025
  1839. pop_has_ethic = "ethic_militarist"
  1840. NOT = {
  1841. has_ethic = "ethic_xenophile"
  1842. has_ethic = "ethic_fanatic_xenophile"
  1843. }
  1844. }
  1845. modifier = {
  1846. add = -0.05
  1847. pop_has_ethic = "ethic_fanatic_militarist"
  1848. NOT = {
  1849. has_ethic = "ethic_xenophile"
  1850. has_ethic = "ethic_fanatic_xenophile"
  1851. }
  1852. }
  1853. }
  1854. }
  1855.  
  1856. option = {
  1857. name = "first_contact_attack_allowed"
  1858.  
  1859. policy_flags = {
  1860. first_contact_attack_allowed
  1861. }
  1862. modifier = {}
  1863.  
  1864. valid = {
  1865. OR = {
  1866. has_ethic = ethic_xenophobe
  1867. has_ethic = ethic_fanatic_xenophobe
  1868. has_ethic = ethic_militarist
  1869. has_ethic = ethic_fanatic_militarist
  1870. NOT = { # NOT works like Neither Or
  1871. has_ethic = ethic_fanatic_xenophile
  1872. has_ethic = ethic_fanatic_pacifist
  1873. }
  1874. }
  1875. }
  1876.  
  1877.  
  1878. AI_weight = {
  1879. modifier = {
  1880. factor = 2
  1881. OR = {
  1882. has_ethic = "ethic_militarist"
  1883. has_ethic = "ethic_fanatic_militarist"
  1884. }
  1885. }
  1886. modifier = {
  1887. factor = 2
  1888. OR = {
  1889. has_ethic = "ethic_xenophobe"
  1890. has_ethic = "ethic_fanatic_xenophobe"
  1891. }
  1892. }
  1893. }
  1894.  
  1895. pop_happiness = {
  1896. base = 0
  1897. modifier = {
  1898. add = -0.025
  1899. pop_has_ethic = "ethic_xenophile"
  1900. NOT = {
  1901. pop_has_ethic = "ethic_militarist"
  1902. pop_has_ethic = "ethic_fanatic_militarist"
  1903. }
  1904. }
  1905. modifier = {
  1906. add = -0.05
  1907. pop_has_ethic = "ethic_fanatic_xenophile"
  1908. NOT = {
  1909. pop_has_ethic = "ethic_militarist"
  1910. pop_has_ethic = "ethic_fanatic_militarist"
  1911. }
  1912. }
  1913. modifier = {
  1914. add = -0.025
  1915. pop_has_ethic = "ethic_pacifist"
  1916. NOT = {
  1917. has_ethic = "ethic_xenophobe"
  1918. has_ethic = "ethic_fanatic_xenophobe"
  1919. }
  1920. }
  1921. modifier = {
  1922. add = -0.05
  1923. pop_has_ethic = "ethic_fanatic_pacifist"
  1924. NOT = {
  1925. has_ethic = "ethic_xenophobe"
  1926. has_ethic = "ethic_fanatic_xenophobe"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. }
  1932.  
  1933. artificial_intelligence_policy = {
  1934.  
  1935. potential = {
  1936. has_technology = tech_robotic_workers
  1937. }
  1938.  
  1939. option = {
  1940. name = "ai_outlawed"
  1941.  
  1942. potential = { NOT = { is_country_type = ai_empire } }
  1943. valid = {
  1944. custom_tooltip = {
  1945. text = ai_accord_servitude_disallowed
  1946. NOT = { has_country_flag = ai_accord }
  1947. }
  1948. }
  1949.  
  1950. policy_flags = {
  1951. ai_outlawed
  1952. }
  1953.  
  1954. on_enabled = {
  1955. custom_tooltip = "ALL_ROBOTS_DISASSEMBLED"
  1956. }
  1957. AI_weight = {
  1958. modifier = {
  1959. factor = 0
  1960. OR = {
  1961. has_ai_personality_behaviour = robot_exploiter
  1962. has_ai_personality_behaviour = robot_liberator
  1963. has_ethic = "ethic_materialist"
  1964. has_ethic = "ethic_fanatic_materialist"
  1965. }
  1966. }
  1967. modifier = {
  1968. factor = 2
  1969. OR = {
  1970. has_ethic = "ethic_spiritualist"
  1971. has_ethic = "ethic_fanatic_spiritualist"
  1972. }
  1973. }
  1974. modifier = {
  1975. factor = 0
  1976. is_country_type = ai_empire
  1977. }
  1978. }
  1979.  
  1980. pop_happiness = {
  1981. base = 0
  1982. modifier = {
  1983. add = -0.05
  1984. pop_has_ethic = "ethic_materialist"
  1985. NOT = {
  1986. pop_has_ethic = "ethic_xenophobe"
  1987. pop_has_ethic = "ethic_fanatic_xenophobe"
  1988. }
  1989. }
  1990. modifier = {
  1991. add = -0.1
  1992. pop_has_ethic = "ethic_fanatic_materialist"
  1993. NOT = {
  1994. pop_has_ethic = "ethic_xenophobe"
  1995. pop_has_ethic = "ethic_fanatic_xenophobe"
  1996. }
  1997. }
  1998. }
  1999. }
  2000.  
  2001. option = {
  2002. name = "ai_servitude"
  2003.  
  2004. potential = { NOT = { is_country_type = ai_empire } }
  2005.  
  2006. valid = {
  2007. custom_tooltip = {
  2008. text = ai_accord_servitude_disallowed
  2009. NOT = { has_country_flag = ai_accord }
  2010. }
  2011. }
  2012.  
  2013. policy_flags = {
  2014. ai_servitude
  2015. }
  2016.  
  2017. AI_weight = {
  2018. modifier = {
  2019. factor = 0
  2020. has_valid_ai_personality = yes
  2021. NOT = {
  2022. has_ai_personality_behaviour = robot_exploiter
  2023. has_ai_personality_behaviour = robot_liberator
  2024. has_ethic = "ethic_materialist"
  2025. has_ethic = "ethic_fanatic_materialist"
  2026. }
  2027. }
  2028. modifier = {
  2029. factor = 2
  2030. has_valid_ai_personality = yes
  2031. has_ai_personality_behaviour = robot_exploiter
  2032. }
  2033. modifier = {
  2034. factor = 0
  2035. OR = {
  2036. has_ethic = "ethic_spiritualist"
  2037. has_ethic = "ethic_fanatic_spiritualist"
  2038. }
  2039. }
  2040. modifier = {
  2041. factor = 0
  2042. is_country_type = ai_empire
  2043. }
  2044. }
  2045. pop_happiness = {
  2046. base = 0
  2047. modifier = {
  2048. add = -0.05
  2049. pop_has_ethic = "ethic_spiritualist"
  2050. }
  2051. modifier = {
  2052. add = -0.10
  2053. pop_has_ethic = "ethic_fanatic_spiritualist"
  2054. }
  2055. modifier = {
  2056. add = -0.25
  2057. is_robot_pop = yes
  2058. }
  2059. }
  2060. }
  2061.  
  2062. option = {
  2063. name = "ai_full_rights"
  2064.  
  2065. prerequisites = {
  2066. "tech_synthetic_workers"
  2067. }
  2068.  
  2069. valid = {
  2070. custom_tooltip = {
  2071. text = ai_perfect_servants_rights_disallowed
  2072. NOT = { has_country_flag = ai_perfect_servants }
  2073. }
  2074. }
  2075.  
  2076. policy_flags = {
  2077. ai_full_rights
  2078. }
  2079.  
  2080. modifier = {}
  2081.  
  2082. AI_weight = {
  2083. modifier = {
  2084. factor = 0
  2085. has_valid_ai_personality = yes
  2086. NOT = { has_ai_personality_behaviour = robot_liberator }
  2087. }
  2088. modifier = {
  2089. factor = 2
  2090. has_valid_ai_personality = yes
  2091. has_ai_personality_behaviour = robot_liberator
  2092. }
  2093. modifier = {
  2094. factor = 0
  2095. OR = {
  2096. has_ethic = "ethic_spiritualist"
  2097. has_ethic = "ethic_fanatic_spiritualist"
  2098. }
  2099. }
  2100. modifier = {
  2101. factor = 0
  2102. OR = {
  2103. has_ethic = "ethic_xenophobe"
  2104. has_ethic = "ethic_fanatic_xenophobe"
  2105. }
  2106. }
  2107. modifier = {
  2108. factor = 10
  2109. is_country_type = ai_empire
  2110. }
  2111. }
  2112.  
  2113. pop_happiness = {
  2114. base = 0
  2115. modifier = {
  2116. add = -0.05
  2117. is_robot_pop = no
  2118. NOT = {
  2119. owner = { has_country_flag = ai_accord }
  2120. pop_has_ethic = "ethic_spiritualist"
  2121. pop_has_ethic = "ethic_fanatic_spiritualist"
  2122. pop_has_ethic = "ethic_xenophobe"
  2123. pop_has_ethic = "ethic_fanatic_xenophobe"
  2124. pop_has_ethic = "ethic_materialist"
  2125. pop_has_ethic = "ethic_fanatic_materialist"
  2126. }
  2127. }
  2128. modifier = {
  2129. add = -0.1
  2130. owner = { NOT = { has_country_flag = ai_accord } }
  2131. pop_has_ethic = "ethic_spiritualist"
  2132. }
  2133. modifier = {
  2134. add = -0.2
  2135. owner = { NOT = { has_country_flag = ai_accord } }
  2136. pop_has_ethic = "ethic_fanatic_spiritualist"
  2137. }
  2138. modifier = {
  2139. add = -0.05
  2140. owner = { NOT = { has_country_flag = ai_accord } }
  2141. pop_has_ethic = "ethic_xenophobe"
  2142. }
  2143. modifier = {
  2144. add = -0.1
  2145. owner = { NOT = { has_country_flag = ai_accord } }
  2146. pop_has_ethic = "ethic_fanatic_xenophobe"
  2147. }
  2148. }
  2149. }
  2150. }
  2151.  
  2152. las_military = {
  2153.  
  2154. potential = {
  2155. is_country_type = default # only normal Empires should have this policy
  2156. }
  2157.  
  2158. allow = {
  2159. is_at_war = no # Not allowed to change policies in this group while at war
  2160. }
  2161.  
  2162. option = {
  2163. name = "mil_balanced"
  2164.  
  2165. policy flags = {
  2166. mil_balanced
  2167. }
  2168.  
  2169. modifier = {
  2170.  
  2171. }
  2172. }
  2173.  
  2174. option = {
  2175. name = "high_alert"
  2176.  
  2177. potential = {
  2178. NOT = { has_ethic = "ethic_fanatic_pacifist" }
  2179. }
  2180.  
  2181. policy flags = {
  2182. mil_high_alert
  2183. }
  2184.  
  2185. modifier = {
  2186.  
  2187. ship_upkeep_mult = 0.25
  2188. ship_evasion_mult = 0.10
  2189. ship_sensor_range_mult = 0.25
  2190. ship_fire_rate_mult = 0.10
  2191.  
  2192. }
  2193. }
  2194.  
  2195. option = {
  2196. name = "stand_down"
  2197.  
  2198. potential = {
  2199. NOT = { has_ethic = "ethic_fanatic_militarist" }
  2200. }
  2201.  
  2202. policy flags = {
  2203. mil_stand_down
  2204. }
  2205.  
  2206. modifier = {
  2207.  
  2208. ship_upkeep_mult = -0.25
  2209. ship_evasion_mult = -0.10
  2210. ship_sensor_range_mult = -0.25
  2211. ship_fire_rate_mult = -0.10
  2212.  
  2213. }
  2214. }
  2215.  
  2216. }
  2217.  
  2218. economy_policy = {
  2219.  
  2220. option = {
  2221. name = "econ_balanced"
  2222.  
  2223. policy flags = {
  2224. econ_balanced
  2225. }
  2226.  
  2227. modifier = {
  2228.  
  2229. }
  2230. }
  2231.  
  2232. option = {
  2233. name = "laissez_faire"
  2234.  
  2235. potential = {
  2236. NOT = { has_ethic = "ethic_fanatic_collectivist" }
  2237. }
  2238.  
  2239. policy flags = {
  2240. econ_laissez_faire
  2241. }
  2242.  
  2243. modifier = {
  2244.  
  2245. tile_resource_energy_mult = 0.25
  2246. tile_resource_food_mult = -0.10
  2247. tile_resource_minerals_mult = -0.10
  2248.  
  2249. }
  2250. }
  2251.  
  2252. option = {
  2253. name = "highly_regulated"
  2254.  
  2255. potential = {
  2256. NOT = { has_ethic = "ethic_fanatic_individualist" }
  2257. }
  2258.  
  2259. policy flags = {
  2260. econ_highly_regulated
  2261. }
  2262.  
  2263. modifier = {
  2264.  
  2265. tile_resource_energy_mult = -0.25
  2266. tile_resource_food_mult = 0.15
  2267. tile_resource_minerals_mult = 0.15
  2268.  
  2269. }
  2270. }
  2271. }
  2272.  
  2273. las_social = {
  2274.  
  2275. option = {
  2276. name = "social_balanced"
  2277.  
  2278. policy flags = {
  2279. soc_balanced
  2280. }
  2281.  
  2282. modifier = {
  2283.  
  2284. }
  2285. }
  2286.  
  2287. option = {
  2288. name = "repressive_mores"
  2289.  
  2290. potential = {
  2291. NOT = { has_ethic = "ethic_fanatic_materialist" }
  2292. }
  2293.  
  2294. policy flags = {
  2295. soc_repressive
  2296. }
  2297.  
  2298. modifier = {
  2299.  
  2300. pop_happiness = -0.10
  2301. pop_ethic_shift = -0.20
  2302. pop_slavery_tolerance = 0.30
  2303.  
  2304. }
  2305. }
  2306.  
  2307. option = {
  2308. name = "permissive_mores"
  2309.  
  2310. potential = {
  2311. NOT = { has_ethic = "ethic_fanatic_spiritualist" }
  2312. }
  2313.  
  2314. policy flags = {
  2315. soc_permissive
  2316. }
  2317.  
  2318. modifier = {
  2319.  
  2320. pop_happiness = 0.10
  2321. pop_ethic_shift = 0.20
  2322. pop_slavery_tolerance = -0.30
  2323.  
  2324. }
  2325. }
  2326. }
  2327.  
  2328. las_trade = {
  2329.  
  2330. option = {
  2331. name = "trade_balanced"
  2332.  
  2333. policy flags = {
  2334. trade_balanced
  2335. }
  2336.  
  2337. modifier = {
  2338.  
  2339. }
  2340. }
  2341.  
  2342. option = {
  2343. name = "protectionist"
  2344.  
  2345. potential = {
  2346. NOT = { has_ethic = "ethic_fanatic_xenophile" }
  2347. }
  2348.  
  2349. policy flags = {
  2350. protectionist
  2351. }
  2352.  
  2353. modifier = {
  2354.  
  2355. country_trade_attractiveness = -0.20
  2356. tile_resource_minerals_mult = 0.10
  2357.  
  2358. }
  2359. }
  2360.  
  2361. option = {
  2362. name = "free_trade"
  2363.  
  2364. potential = {
  2365. NOT = { has_ethic = "ethic_fanatic_xenophobe" }
  2366. }
  2367.  
  2368. policy flags = {
  2369. free_trade
  2370. }
  2371.  
  2372. modifier = {
  2373.  
  2374. country_trade_attractiveness = 0.20
  2375. tile_resource_minerals_mult = -0.10
  2376.  
  2377. }
  2378. }
  2379.  
  2380. }
  2381.  
  2382. las_political = {
  2383.  
  2384. option = {
  2385. name = "political_balanced"
  2386.  
  2387. policy flags = {
  2388. pol_balanced
  2389. }
  2390.  
  2391. modifier = {
  2392.  
  2393. }
  2394. }
  2395.  
  2396. option = {
  2397. name = "merit_based"
  2398.  
  2399. potential = {
  2400. NOT = { has_ethic = "ethic_fanatic_militarist" }
  2401. }
  2402.  
  2403. policy flags = {
  2404. merit_based
  2405. }
  2406.  
  2407. modifier = {
  2408.  
  2409. # edict_influence_cost = -0.25
  2410. leader_influence_cost = 0.30
  2411. leader_skill_levels = 1
  2412. # country_leader_pool = -1
  2413.  
  2414. }
  2415. }
  2416.  
  2417. option = {
  2418. name = "loyalty_based"
  2419.  
  2420. potential = {
  2421. NOT = { has_ethic = "ethic_fanatic_pacifist" }
  2422. }
  2423.  
  2424. policy flags = {
  2425. loyalty_based
  2426. }
  2427.  
  2428. modifier = {
  2429.  
  2430. # edict_influence_cost = 0.25
  2431. leader_influence_cost = -0.30
  2432. species_leader_exp_gain = -0.10
  2433. # country_leader_pool = 1
  2434.  
  2435.  
  2436. }
  2437. }
  2438. }
  2439.  
  2440. las_taxation = {
  2441.  
  2442. option = {
  2443. name = "balanced_taxes"
  2444.  
  2445. policy flags = {
  2446. balanced_taxes
  2447. }
  2448.  
  2449. modifier = {
  2450.  
  2451. }
  2452. }
  2453.  
  2454. option = {
  2455. name = "heavy_taxes"
  2456.  
  2457. potential = {
  2458. NOT = { has_ethic = "ethic_fanatic_individualist" }
  2459. }
  2460.  
  2461. policy flags = {
  2462. heavy_taxes
  2463. }
  2464.  
  2465. modifier = {
  2466.  
  2467. tile_resource_energy_mult = 0.20
  2468. pop_happiness = -0.10
  2469.  
  2470. }
  2471. }
  2472.  
  2473. option = {
  2474. name = "light_taxes"
  2475.  
  2476. potential = {
  2477. NOT = { has_ethic = "ethic_fanatic_collectivist" }
  2478. }
  2479.  
  2480. policy flags = {
  2481. light_taxes
  2482. }
  2483.  
  2484. modifier = {
  2485.  
  2486. tile_resource_energy_mult = -0.20
  2487. pop_happiness = 0.10
  2488.  
  2489. }
  2490. }
  2491. }
  2492.  
  2493. las_development = {
  2494.  
  2495. option = {
  2496. name = "development_balanced"
  2497.  
  2498. policy flags = {
  2499. development_balanced
  2500. }
  2501.  
  2502. modifier = {
  2503.  
  2504. }
  2505. }
  2506.  
  2507. option = {
  2508. name = "orbital_development"
  2509.  
  2510. potential = {
  2511. NOT = { has_ethic = "ethic_fanatic_spiritualist" }
  2512. }
  2513.  
  2514. policy flags = {
  2515. orbital_development
  2516. }
  2517.  
  2518. modifier = {
  2519.  
  2520. shipsize_mining_station_build_cost_mult = -0.10
  2521. planet_building_cost_mult = 0.10
  2522. building_time_mult = 0.10
  2523.  
  2524. }
  2525. }
  2526.  
  2527. option = {
  2528. name = "terrestrial_development"
  2529.  
  2530. potential = {
  2531. NOT = { has_ethic = "ethic_fanatic_materialist" }
  2532. }
  2533.  
  2534. policy flags = {
  2535. terrestrial_development
  2536. }
  2537.  
  2538. modifier = {
  2539.  
  2540. shipsize_mining_station_build_cost_mult = 0.10
  2541. planet_building_cost_mult = -0.10
  2542. building_time_mult = -0.10
  2543.  
  2544. }
  2545. }
  2546. }
  2547.  
  2548. las_foreign = {
  2549.  
  2550. option = {
  2551. name = "foreign_balanced"
  2552.  
  2553. policy flags = {
  2554. foreign_balanced
  2555. }
  2556.  
  2557. modifier = {
  2558.  
  2559. }
  2560. }
  2561.  
  2562. option = {
  2563. name = "isolationist"
  2564.  
  2565. potential = {
  2566. NOT = { has_ethic = "ethic_fanatic_xenophile" }
  2567. }
  2568.  
  2569. policy flags = {
  2570. isolationist
  2571. }
  2572.  
  2573. modifier = {
  2574.  
  2575. country_core_sector_planet_cap = 1
  2576. country_trade_attractiveness = -0.10
  2577.  
  2578. }
  2579. }
  2580.  
  2581. option = {
  2582. name = "interventionist"
  2583.  
  2584. potential = {
  2585. NOT = { has_ethic = "ethic_fanatic_xenophobe" }
  2586. }
  2587.  
  2588. policy flags = {
  2589. interventionist
  2590. }
  2591.  
  2592. modifier = {
  2593.  
  2594. country_core_sector_planet_cap = -1
  2595. country_trade_attractiveness = 0.10
  2596.  
  2597. }
  2598. }
  2599. }
Advertisement
Add Comment
Please, Sign In to add comment