Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.78 KB | None | 0 0
  1. namespace = pd_fun_menu_namespace
  2.  
  3. # Fun Menu
  4. country_event = {
  5. id = pd_fun_menu_namespace.1
  6. title = pd_fun_menu_namespace.1.t
  7. desc = pd_fun_menu_namespace.1.d
  8. picture = HIT_THE_DAB_eventPicture
  9.  
  10. is_triggered_only = yes
  11.  
  12. option = { # Cheats
  13. name = pd_fun_menu_namespace.1.a
  14. ai_chance = { factor = 50 }
  15.  
  16. country_event = { id = pd_fun_menu_namespace.2 }
  17. }
  18.  
  19. option = { # Geopolitical Menu
  20. name = pd_fun_menu_namespace.1.b
  21. ai_chance = { factor = 50 }
  22.  
  23. country_event = { id = pd_fun_menu_namespace.3 }
  24. }
  25.  
  26. option = { # Military
  27. name = pd_fun_menu_namespace.1.c
  28. ai_chance = { factor = 50 }
  29.  
  30. declare_war_with_cb = {
  31. who = ALB
  32. casus_belli = cb_core
  33. war_goal_province = 1766
  34. }
  35. }
  36.  
  37. option = { # Core, culturize, and convert all provinces
  38. name = pd_fun_menu_namespace.1.h
  39. ai_chance = { factor = 50 }
  40.  
  41. all_owned_province = {
  42. limit = {
  43. has_owner_religion = no
  44. }
  45.  
  46. change_religion = ROOT
  47.  
  48. }
  49.  
  50. all_owned_province = {
  51. limit = {
  52. has_owner_culture = no
  53. }
  54.  
  55. change_culture = ROOT
  56.  
  57. }
  58.  
  59. all_owned_province = {
  60. limit = {
  61. is_core = no
  62. }
  63.  
  64. add_core = ROOT
  65.  
  66. }
  67.  
  68. country_event = { id = pd_fun_menu_namespace.1 }
  69. }
  70.  
  71. option = { # Core all provinces
  72. name = pd_fun_menu_namespace.1.e
  73. ai_chance = { factor = 50 }
  74.  
  75. all_owned_province = {
  76. limit = {
  77. is_core = no
  78. }
  79.  
  80. add_core = ROOT
  81.  
  82. }
  83.  
  84. country_event = { id = pd_fun_menu_namespace.1 }
  85. }
  86.  
  87. option = { # Culturize all provinces
  88. name = pd_fun_menu_namespace.1.f
  89. ai_chance = { factor = 50 }
  90.  
  91. all_owned_province = {
  92. limit = {
  93. has_owner_culture = no
  94. }
  95.  
  96. change_culture = ROOT
  97.  
  98. }
  99.  
  100. country_event = { id = pd_fun_menu_namespace.1 }
  101. }
  102.  
  103. option = { # Convert all provinces
  104. name = pd_fun_menu_namespace.1.g
  105. ai_chance = { factor = 50 }
  106.  
  107. all_owned_province = {
  108. limit = {
  109. has_owner_religion = no
  110. }
  111.  
  112. change_religion = ROOT
  113.  
  114. }
  115.  
  116. country_event = { id = pd_fun_menu_namespace.1 }
  117. }
  118.  
  119.  
  120. option = { # Exit
  121. name = pd_fun_menu_namespace.1.e
  122. ai_chance = { factor = 50 }
  123. }
  124.  
  125.  
  126. }
  127.  
  128. #Cheats
  129. country_event = {
  130. id = pd_fun_menu_namespace.2
  131. title = pd_fun_menu_namespace.2.t
  132. desc = pd_fun_menu_namespace.2.d
  133. picture = HIT_THE_DAB_eventPicture
  134.  
  135. is_triggered_only = yes
  136.  
  137. option = { # Administrative Cheats
  138. name = pd_fun_menu_namespace.2.f
  139. ai_chance = { factor = 50 }
  140. trigger = { NOT = { has_country_flag = has_admin_cheats } }
  141.  
  142. add_stability = 6
  143. add_country_modifier = {
  144. name = admin_cheat
  145. days = -1
  146. }
  147. set_country_flag = has_admin_cheats
  148.  
  149. country_event = { id = pd_fun_menu_namespace.2 }
  150. }
  151.  
  152. option = { # Remove Admin Cheat
  153. name = pd_fun_menu_namespace.2.g
  154. ai_chance = { factor = 50 }
  155. trigger = { has_country_flag = has_admin_cheats }
  156. clr_country_flag = has_admin_cheats
  157.  
  158. remove_country_modifier = admin_cheat
  159. country_event = { id = pd_fun_menu_namespace.2 }
  160. }
  161.  
  162.  
  163. option = { # Economic Cheats
  164. name = pd_fun_menu_namespace.2.h
  165. trigger = { NOT = { has_country_flag = has_admin_cheats } }
  166. ai_chance = { factor = 50 }
  167.  
  168. add_country_modifier = {
  169. name = economic_cheat
  170. days = -1
  171. }
  172. set_country_flag = has_economic_cheats
  173.  
  174. country_event = { id = pd_fun_menu_namespace.2 }
  175. }
  176.  
  177. option = { # Remove economic cheat
  178. name = pd_fun_menu_namespace.2.i
  179. trigger = { has_country_flag = has_admin_cheats }
  180. ai_chance = { factor = 50 }
  181.  
  182. remove_country_modifier = economic_cheat
  183. clr_country_flag = has_economic_cheats
  184. country_event = { id = pd_fun_menu_namespace.2 }
  185. }
  186.  
  187. option = { # Military cheat
  188. name = pd_fun_menu_namespace.2.j
  189. trigger = { NOT = { has_country_flag = has_military_cheats } }
  190. ai_chance = { factor = 50 }
  191.  
  192. add_country_modifier = {
  193. name = military_cheat
  194. days = -1
  195. }
  196. set_country_flag = has_military_cheats
  197.  
  198. country_event = { id = pd_fun_menu_namespace.2 }
  199. }
  200.  
  201. option = { # Remove military cheats
  202. name = pd_fun_menu_namespace.2.k
  203. trigger = { has_country_flag = has_admin_cheats }
  204. ai_chance = { factor = 50 }
  205.  
  206. remove_country_modifier = military_cheat
  207. clr_country_flag = has_military_cheats
  208. country_event = { id = pd_fun_menu_namespace.2 }
  209. }
  210.  
  211. option = { # back
  212. name = pd_fun_menu_namespace.2.l
  213. ai_chance = { factor = 50 }
  214.  
  215. country_event = { id = pd_fun_menu_namespace.1 }
  216. }
  217. }
  218.  
  219. #Geopolitical Menu
  220. country_event = {
  221. id = pd_fun_menu_namespace.3
  222. title = pd_fun_menu_namespace.3.t
  223. desc = pd_fun_menu_namespace.3.d
  224. picture = NORTHERN_HEMISPHERE_eventPicture
  225.  
  226. is_triggered_only = yes
  227.  
  228. option = { # Global
  229. name = pd_fun_menu_namespace.3.aa
  230. ai_chance = { factor = 50 }
  231.  
  232. country_event = { id = pd_fun_menu_namespace.3.11 }
  233. }
  234.  
  235. option = { # Europe
  236. name = pd_fun_menu_namespace.3.a
  237. ai_chance = { factor = 50 }
  238.  
  239. country_event = { id = pd_fun_menu_namespace.3.1 }
  240. }
  241.  
  242. option = { # North America
  243. name = pd_fun_menu_namespace.3.b
  244. ai_chance = { factor = 50 }
  245.  
  246. country_event = { id = pd_fun_menu_namespace.3.2 }
  247. }
  248.  
  249. option = { # South America
  250. name = pd_fun_menu_namespace.3.c
  251. ai_chance = { factor = 50 }
  252.  
  253. country_event = { id = pd_fun_menu_namespace.3.3 }
  254. }
  255.  
  256. option = { # Africa
  257. name = pd_fun_menu_namespace.3.e
  258. ai_chance = { factor = 50 }
  259.  
  260. country_event = { id = pd_fun_menu_namespace.3.4 }
  261. }
  262.  
  263. option = { # Asia
  264. name = pd_fun_menu_namespace.3.f
  265. ai_chance = { factor = 50 }
  266.  
  267. country_event = { id = pd_fun_menu_namespace.3.5 }
  268. }
  269.  
  270. option = { # Oceania
  271. name = pd_fun_menu_namespace.3.g
  272. ai_chance = { factor = 50 }
  273.  
  274. country_event = { id = pd_fun_menu_namespace.3.6 }
  275. }
  276.  
  277. option = { # Back
  278. name = pd_fun_menu_namespace.3.h
  279. ai_chance = { factor = 50 }
  280.  
  281. country_event = { id = pd_fun_menu_namespace.1 }
  282. }
  283.  
  284.  
  285. }
  286.  
  287. #Global
  288. country_event = {
  289. id = pd_fun_menu_namespace.3.11
  290. title = pd_fun_menu_namespace.3.11.t
  291. desc = pd_fun_menu_namespace.3.11.d
  292. picture = NORTHERN_HEMISPHERE_eventPicture
  293.  
  294. is_triggered_only = yes
  295.  
  296. option = { # Collapse All AI Countries
  297. name = pd_fun_menu_namespace.3.11.a
  298. ai_chance = { factor = 50 }
  299.  
  300. every_country = {
  301. limit = {
  302. ai = yes
  303. }
  304. add_stability = -6
  305. add_war_exhaustion = 100
  306. add_treasury = -5000
  307. add_inflation = 50
  308. add_legitimacy = -100
  309. add_republican_tradition = -100
  310. add_prestige = -200
  311. add_corruption = 50
  312. kill_ruler = yes
  313. remove_consort = yes
  314. kill_heir = yes
  315.  
  316. add_country_modifier = {
  317. name = collapsed
  318. days = -1
  319. }
  320.  
  321. every_subject_country = {
  322. add_liberty_desire = 500
  323. }
  324. }
  325.  
  326. country_event = { id = pd_fun_menu_namespace.3.11 }
  327. }
  328.  
  329. option = { # Give Colonists
  330. name = pd_fun_menu_namespace.3.11.b
  331. ai_chance = { factor = 50 }
  332.  
  333. country_event = { id = pd_fun_menu_namespace.3.11.1 }
  334. }
  335.  
  336. option = { # Collapse Random Continent
  337. name = pd_fun_menu_namespace.3.11.c
  338. ai_chance = { factor = 50 }
  339.  
  340. random_list = {
  341. 16 = {
  342. every_country = {
  343. limit = {
  344. capital_scope = {
  345. continent = europe
  346. }
  347. ai = yes
  348. }
  349. add_stability = -6
  350. add_war_exhaustion = 100
  351. add_treasury = -5000
  352. add_inflation = 50
  353. add_legitimacy = -100
  354. add_republican_tradition = -100
  355. add_prestige = -200
  356. add_corruption = 50
  357. kill_ruler = yes
  358. remove_consort = yes
  359. kill_heir = yes
  360.  
  361. add_country_modifier = {
  362. name = collapsed
  363. days = -1
  364. }
  365.  
  366. every_subject_country = {
  367. add_liberty_desire = 500
  368. }
  369. }
  370. }
  371. 16 = {
  372. every_country = {
  373. limit = {
  374. capital_scope = {
  375. continent = asia
  376. }
  377. ai = yes
  378. }
  379. add_stability = -6
  380. add_war_exhaustion = 100
  381. add_treasury = -5000
  382. add_inflation = 50
  383. add_legitimacy = -100
  384. add_republican_tradition = -100
  385. add_prestige = -200
  386. add_corruption = 50
  387. kill_ruler = yes
  388. remove_consort = yes
  389. kill_heir = yes
  390.  
  391. add_country_modifier = {
  392. name = collapsed
  393. days = -1
  394. }
  395.  
  396. every_subject_country = {
  397. add_liberty_desire = 500
  398. }
  399. }
  400. }
  401. 16 = {
  402. every_country = {
  403. limit = {
  404. capital_scope = {
  405. continent = africa
  406. }
  407. ai = yes
  408. }
  409. add_stability = -6
  410. add_war_exhaustion = 100
  411. add_treasury = -5000
  412. add_inflation = 50
  413. add_legitimacy = -100
  414. add_republican_tradition = -100
  415. add_prestige = -200
  416. add_corruption = 50
  417. kill_ruler = yes
  418. remove_consort = yes
  419. kill_heir = yes
  420.  
  421. add_country_modifier = {
  422. name = collapsed
  423. days = -1
  424. }
  425.  
  426. every_subject_country = {
  427. add_liberty_desire = 500
  428. }
  429. }
  430. }
  431. 16 = {
  432. every_country = {
  433. limit = {
  434. capital_scope = {
  435. continent = south_america
  436. }
  437. ai = yes
  438. }
  439. add_stability = -6
  440. add_war_exhaustion = 100
  441. add_treasury = -5000
  442. add_inflation = 50
  443. add_legitimacy = -100
  444. add_republican_tradition = -100
  445. add_prestige = -200
  446. add_corruption = 50
  447. kill_ruler = yes
  448. remove_consort = yes
  449. kill_heir = yes
  450.  
  451. add_country_modifier = {
  452. name = collapsed
  453. days = -1
  454. }
  455.  
  456. every_subject_country = {
  457. add_liberty_desire = 500
  458. }
  459. }
  460. }
  461. 16 = {
  462. every_country = {
  463. limit = {
  464. capital_scope = {
  465. continent = oceania
  466. }
  467. ai = yes
  468. }
  469. add_stability = -6
  470. add_war_exhaustion = 100
  471. add_treasury = -5000
  472. add_inflation = 50
  473. add_legitimacy = -100
  474. add_republican_tradition = -100
  475. add_prestige = -200
  476. add_corruption = 50
  477. kill_ruler = yes
  478. remove_consort = yes
  479. kill_heir = yes
  480.  
  481. add_country_modifier = {
  482. name = collapsed
  483. days = -1
  484. }
  485.  
  486. every_subject_country = {
  487. add_liberty_desire = 500
  488. }
  489. }
  490. }
  491. 16 = {
  492. every_country = {
  493. limit = {
  494. capital_scope = {
  495. continent = north_america
  496. }
  497. ai = yes
  498. }
  499. add_stability = -6
  500. add_war_exhaustion = 100
  501. add_treasury = -5000
  502. add_inflation = 50
  503. add_legitimacy = -100
  504. add_republican_tradition = -100
  505. add_prestige = -200
  506. add_corruption = 50
  507. kill_ruler = yes
  508. remove_consort = yes
  509. kill_heir = yes
  510.  
  511. add_country_modifier = {
  512. name = collapsed
  513. days = -1
  514. }
  515.  
  516. every_subject_country = {
  517. add_liberty_desire = 500
  518. }
  519. }
  520. }
  521.  
  522. }
  523.  
  524. country_event = { id = pd_fun_menu_namespace.3.11 }
  525. }
  526.  
  527. option = { # Delete Random Continent
  528. name = pd_fun_menu_namespace.3.11.d
  529. ai_chance = { factor = 50 }
  530.  
  531. random_list = {
  532. 16 = {
  533. every_province = {
  534. limit = {
  535. owner = {
  536. ai = yes
  537. continent = africa
  538. }
  539. }
  540.  
  541. }
  542. }
  543. 16 = {
  544. every_province = {
  545. limit = {
  546. owner = {
  547. ai = yes
  548. continent = oceania
  549. }
  550. }
  551.  
  552. }
  553. }
  554. 16 = {
  555. every_province = {
  556. limit = {
  557. owner = {
  558. ai = yes
  559. continent = north_america
  560. }
  561. }
  562.  
  563. }
  564. }
  565. 16 = {
  566. every_province = {
  567. limit = {
  568. owner = {
  569. ai = yes
  570. continent = south_america
  571. }
  572. }
  573. }
  574. }
  575. 16 = {
  576. every_province = {
  577. limit = {
  578. owner = {
  579. ai = yes
  580. continent = europe
  581. }
  582. }
  583.  
  584. }
  585. }
  586. 16 = {
  587. every_province = {
  588. limit = {
  589. owner = {
  590. ai = yes
  591. continent = asia
  592. }
  593. }
  594.  
  595. }
  596. }
  597.  
  598. }
  599.  
  600. country_event = { id = pd_fun_menu_namespace.3.11 }
  601. }
  602. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement