Guest User

Untitled

a guest
May 11th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. country_decisions = {
  2. totemism_to_overlord_religion = {
  3. major = yes
  4. potential = {
  5. OR = {
  6. religion = totemism
  7. religion = dreamtime
  8. religion = nahuatl
  9. government = native
  10. }
  11. OR = {
  12. technology_group = north_american
  13. technology_group = mesoamerican
  14. technology_group = andean
  15. technology_group = south_american
  16. religion = dreamtime
  17. has_country_flag = was_native_country
  18. governemnt = native
  19. }
  20. OR = {
  21. is_subject = yes
  22. NOT = { is_free_or_tributary_trigger = yes }
  23. }
  24. NOT = { is_subject_of_type = tributary_state }
  25. NOT = {
  26. religion = tengri_pagan_reformed
  27. religion = norse_pagan_reformed
  28. }
  29. overlord = {
  30. NOT = {
  31. religion = totemism
  32. religion = dreamtime
  33. }
  34. }
  35. }
  36.  
  37. allow = {
  38. stability = 0
  39. NOT = {
  40. # has_country_flag = totemism_forever
  41. has_country_modifier = totemism_stubborn
  42. }
  43. NOT = {
  44. ruler_has_personality = zealot_personality
  45. heir_has_personality = zealot_personality
  46. }
  47. }
  48.  
  49. effect = {
  50.  
  51. change_religion = overlord
  52. change_government_reform_progress = 400
  53.  
  54. }
  55. ai_will_do = {
  56.  
  57. factor = 1
  58.  
  59. modifier = {
  60.  
  61. factor = 0
  62.  
  63. NOT = { religion = totemism }
  64.  
  65. }
  66.  
  67. modifier = {
  68. factor = 0
  69. is_subject_of_type = tributary_state
  70. }
  71. modifier = {
  72. factor = 0
  73. full_idea_group = religious_ideas
  74. }
  75. modifier = {
  76. factor = 0
  77. OR = {
  78. ruler_has_personality = zealot_personality
  79. heir_has_personality = zealot_personality
  80. }
  81. }
  82. modifier = {
  83. factor = 0
  84. overlord = {
  85. religion_group = pagan
  86. }
  87. }
  88. modifier = {
  89. factor = 0
  90. # is_mod_active = "Subjects Expanded"
  91. is_subject_of_type = native_reserve
  92. NOT = {
  93. religion = dreamtime
  94. religion = nahuatl
  95. }
  96. }
  97. modifier = {
  98. factor = 0
  99. # has_country_flag = totemism_forever
  100. has_country_modifier = totemism_stubborn
  101. }
  102. }
  103. ai_importance = 500
  104. }
  105.  
  106. totemism_unchanging = {
  107.  
  108. potential = {
  109.  
  110. religion = totemism
  111. NOT = {
  112. # has_country_flag = totemism_forever
  113. has_country_modifier = totemism_stubborn
  114. }
  115. OR = {
  116. NOT = { ai = yes }
  117. NOT = {
  118. government = native
  119. primitives = yes
  120. }
  121. has_reform = steppe_horde
  122. has_reform = great_mongol_state_reform
  123. }
  124. any_neighbor_country = {
  125. OR = {
  126. NOT = { religion = totemism }
  127. # NOT = { religion_group = pagan }
  128. religion = tengri_pagan_reformed
  129. religion = norse_pagan_reformed
  130. capital_scope = {
  131. NOT = {
  132. continent = north_america
  133. continent = south_america
  134. continent = new_world
  135. }
  136. }
  137. }
  138. }
  139. }
  140.  
  141. allow = {
  142. NOT = { is_subject = yes }
  143. OR = {
  144. ruler_has_personality = zealot_personality
  145. heir_has_personality = zealot_personality
  146. has_reform = steppe_horde
  147. has_reform = great_mongol_state_reform
  148. total_development = 300
  149. government_rank = 3
  150. num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
  151. value = 110
  152. }
  153. NOT = { ai = yes }
  154. full_idea_group = religious_ideas
  155. }
  156. NOT = {
  157. full_idea_group = humanist_ideas
  158. }
  159. any_neighbor_country = { NOT = { religion_group = pagan } }
  160. }
  161.  
  162. effect = {
  163.  
  164. set_country_flag = totemism_forever
  165. add_country_modifier = {
  166.  
  167. name = "totemism_stubborn"
  168. duration = -1
  169.  
  170. }
  171. if = {
  172. limit = {
  173. NOT = { ruler_has_personality = zealot_personality }
  174. }
  175. add_ruler_personality = zealot_personality
  176. }
  177. if = {
  178. limit = {
  179. NOT = { heir_has_personality = zealot_personality }
  180. }
  181. add_heir_personality = zealot_personality
  182. }
  183.  
  184. }
  185.  
  186. ai_will_do = {
  187.  
  188. factor = 1
  189.  
  190. modifier = {
  191.  
  192. factor = 0
  193.  
  194. NOT = { religion = totemism }
  195.  
  196. }
  197.  
  198. modifier = {
  199. factor = 0
  200. NOT = {
  201. has_reform = steppe_horde
  202. has_reform = great_mongol_state_reform
  203. has_idea_group = religious_ideas
  204. ruler_has_personality = zealot_personality
  205. heir_has_personality = zealot_personality
  206. total_development = 300
  207. government_rank = 3
  208. has_idea_group = religious_ideas
  209. full_idea_group = religious_ideas
  210. num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
  211. value = 100
  212. }
  213. }
  214. }
  215.  
  216. modifier = {
  217. factor = 2
  218. has_idea_group = religious_ideas
  219. }
  220. modifier = {
  221. factor = 3
  222. government = theocracy
  223. }
  224. modifier = {
  225. factor = 3
  226. OR = {
  227. has_reform = steppe_horde
  228. has_reform = great_mongol_state_reform
  229. }
  230. }
  231. modifier = {
  232. factor = 0
  233. has_idea_group = humanist_ideas
  234. NOT = {
  235. full_idea_group = religious_ideas
  236. }
  237. }
  238. modifier = {
  239. factor = 0
  240. is_subject_of_type = tributary_state
  241. }
  242. }
  243.  
  244. }
  245.  
  246. TSP_indiancountry_convert_decision = {
  247. major = yes
  248. potential = {
  249. OR = {
  250. religion_group = pagan
  251. religion = totemism
  252. religion = dreamtime
  253. }
  254. OR = {
  255. technology_group = north_american
  256. technology_group = mesoamerican
  257. technology_group = andean
  258. technology_group = south_american
  259. religion = dreamtime
  260. has_country_flag = was_native_country
  261. capital_scope = { continent = north_america }
  262. capital_scope = { continent = south_america }
  263. capital_scope = { continent = new_world }
  264. AND = {
  265. NOT = { ai = yes }
  266. OR = {
  267. religion = totemism
  268. religion = dreamtime
  269. }
  270. }
  271. }
  272. NOT = {
  273. religion = tengri_pagan_reformed
  274. religion = norse_pagan_reformed
  275. }
  276. NOT = { # They didn't convert until they were completely conquered! }
  277. tag = ATZ
  278. tag = INC
  279. }
  280. }
  281. allow = {
  282. is_free_or_tributary_trigger = yes # Subjects convert to overlord instead
  283. any_owned_province = {
  284. NOT = {
  285. religion_group = pagan
  286. }
  287. }
  288. NOT = {
  289. # has_country_flag = totemism_forever
  290. has_country_modifier = totemism_stubborn
  291. }
  292. OR = {
  293. NOT = { is_ai = yes } # Players can do this at any time
  294. NOT = {
  295. dominant_religion = totemism
  296. # dominant_religion = dreamtime
  297. }
  298. }
  299. }
  300. effect = {
  301. custom_tooltip = TSP_indiancountry_convert_decision
  302. hidden_effect = {
  303. country_event = { id = TSP_indiancountry_convert.1 }
  304. }
  305. }
  306. ai_will_do = {
  307. factor = 999
  308. modifier = {
  309. factor = 0
  310. dominant_religion = totemism
  311. }
  312. modifier = {
  313. factor = 0
  314. NOT = {
  315. religion = totemism
  316. religion = dreamtime
  317. religion = norse_pagan_reformed
  318. religion = tengri_pagan_reformed
  319. }
  320. }
  321. }
  322. ai_importance = 999
  323. }
  324.  
  325. TSP_indian_horde_used_to_be_young = {
  326. major = yes
  327. potential = {
  328. NOT = {
  329. government = monarchy
  330. }
  331. OR = {
  332. NOT = { is_free_or_tributary_trigger = yes }
  333. is_subject_other_than_tributary_trigger = yes
  334. is_subject_of_type = ProtectorateState
  335. is_subject = yes
  336. }
  337. OR = {
  338. technology_group = nomad_group
  339. has_reform = steppe_horde
  340. has_reform = native_becomes_horde_reform
  341. have_had_reform = native_becomes_horde_reform
  342. tag = AFR
  343. AND = {
  344. government = tribal
  345. is_subject_of_type = ProtectorateState
  346. }
  347. }
  348. AND = {
  349. OR = {
  350. has_reform = steppe_horde
  351. has_reform = native_becomes_horde_reform
  352. have_had_reform = native_becomes_horde_reform
  353. technology_group = nomad_group
  354. tag = AFR
  355. }
  356. OR = {
  357. technology_group = north_american
  358. technology_group = mesoamerican
  359. technology_group = andean
  360. technology_group = south_american
  361. capital_scope = { continent = north_america }
  362. capital_scope = { continent = south_america }
  363. capital_scope = { continent = new_world }
  364. tag = AFR
  365. }
  366. }
  367. NOT = { is_subject_of_type = tributary_state }
  368. }
  369. allow = {
  370. is_subject = yes
  371. NOT = { is_subject_of_type = tributary_state }
  372. OR = {
  373. has_reform = steppe_horde
  374. have_had_reform = native_becomes_horde_reform
  375. technology_group = nomad_group
  376. }
  377. overlord = {
  378. NOT = {
  379. technology_group = nomad_group
  380. has_reform = steppe_horde
  381. government = native
  382. # government = tribal
  383. primitives = yes
  384. }
  385. }
  386. }
  387. effect = {
  388. set_country_flag = was_native_country
  389. set_country_flag = was_horde_flag
  390. set_country_flag = uses_khan_titles
  391. on_native_government_change_effect = yes
  392. custom_tooltip = TSP_indiancountry_used_to_be_young_horde_tool_tip
  393. change_government_to_monarchy = yes
  394. hidden_effect = {
  395. change_unit_type = nomad_group
  396. if = {
  397. limit = {
  398. technology_group = nomad_group
  399. OR = {
  400. AND = {
  401. OR = {
  402. exists = AZT
  403. exists = MAY
  404. }
  405. OR = {
  406. alliance_with = AZT
  407. alliance_with = MAY
  408. }
  409. NOT = { alliance_with = INC }
  410. }
  411. religion = nahuatl
  412. religion = mesoamerican_religion
  413. religion = nahuatl
  414. secondary_religion = mesoamerican_religion
  415. secondary_religion = nahuatl
  416. accepted_culture = mayan
  417. accepted_culture = yucatec
  418. accepted_culture = putun
  419. accepted_culture = highland_mayan
  420. accepted_culture = lacandon
  421. accepted_culture = wastek
  422. accepted_culture = chontales
  423. accepted_culture = aztek
  424. accepted_culture = totonac
  425. accepted_culture = purepecha
  426. accepted_culture = matlatzinca
  427. }
  428. }
  429. change_technology_group = mesoamerican
  430. }
  431. else_if = {
  432. limit = {
  433. technology_group = nomad_group
  434. OR = {
  435. AND = {
  436. exists = INC
  437. alliance_with = INC
  438. NOT = { alliance_with = MAY }
  439. }
  440. religion = inti
  441. secondary_religion = inti
  442. accepted_culture = inca
  443. accepted_culture = aimara
  444. accepted_culture = tupinamba
  445. accepted_cultura = guarani
  446. accepted_culture = charruan
  447. accepted_culture = ge
  448. }
  449. }
  450. change_technology_group = andean
  451. }
  452. else_if = {
  453. limit = {
  454. technology_group = nomad_group
  455. OR = {
  456. capital_scope = {
  457. continent = north_america
  458. }
  459. religion = totemism
  460. secondary_religion = totemism
  461. }
  462. NOT = {
  463. alliance_with = ATZ
  464. alliance_with = MAY
  465. }
  466. }
  467. change_technology_group = north_american
  468. }
  469. else_if = {
  470. limit = {
  471. technology_group = nomad_group
  472. OR = {
  473. capital_scope = {
  474. continent = south_america
  475. }
  476. religion = inti
  477. religion = animism
  478. secondary_religion = totemism
  479. }
  480. NOT = {
  481. alliance_with = AZT
  482. alliance_with = MAY
  483. }
  484. }
  485. change_technology_group = south_american
  486. }
  487. else_if = {
  488. limit = {
  489. NOT = {
  490. alliance_with = AZT
  491. alliance_with = MAY
  492. }
  493. capital_scope = {
  494. continent = new_world
  495. }
  496. }
  497. change_technology_group = high_american
  498. change_unit_type = north_american
  499. }
  500. else = {
  501. change_technology_group = indian
  502. change_unit_type = indian
  503. }
  504. if = {
  505. limit = {
  506. OR = {
  507. exists = AZT
  508. exists = MAY
  509. }
  510. OR = {
  511. alliance_with = AZT
  512. alliance_with = MAY
  513. }
  514. OR = {
  515. NOT = { alliance_with = INC }
  516. alliance_with = MAY
  517. }
  518. }
  519. change_unit_type = mesoamerican
  520. }
  521. else_if = {
  522. limit = {
  523. exists = INC
  524. alliance_with = INC
  525. }
  526. change_unit_type = andean
  527. }
  528. }
  529. if = {
  530. limit = {
  531. overlord = {
  532. OR = {
  533. tag = CSA
  534. was_tag = CSA
  535. }
  536. }
  537. }
  538. change_technology_group = western
  539. }
  540. if = {
  541. limit = {
  542. OR = {
  543. tag = AFR
  544. total_development = 1000
  545. government_rank = 3
  546. num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
  547. value = 300
  548. }
  549. }
  550. }
  551. change_technology_group = high_american
  552. change_unit_type = high_american
  553. }
  554. }
  555. ai_will_do = {
  556. factor = 100
  557. }
  558. ai_importance = 999
  559. }
  560. }
Advertisement
Add Comment
Please, Sign In to add comment