Advertisement
Wanna_Grenade

Terraform Sol A

Mar 26th, 2020
2,212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.95 KB | None | 0 0
  1. #####################
  2. #00_static_modifiers#
  3. #####################
  4.  
  5. #Luna#
  6.  
  7. landis_project = {
  8. icon = "gfx/interface/icons/planet_modifiers/pm_planet_from_space.dds"
  9. icon_frame = 1
  10. important = yes # if present on a planet, show the planet's nameplate
  11. }
  12.  
  13. #############
  14. #00_soc_tech#
  15. #############
  16.  
  17. #Luna#
  18.  
  19. tech_landis_project = {
  20. cost = @tier1cost2
  21. area = society
  22. tier = 1
  23. category = { new_worlds }
  24. prerequisites = { "tech_colonization_1" }
  25. weight = @tier1weight2
  26.  
  27. feature_flags = { landis_project }
  28.  
  29. weight_modifier = {
  30. factor = 1.5 # terraforming needs to be a bit more common
  31. modifier = {
  32. factor = 0
  33. is_lithoid_empire = yes
  34. has_valid_civic = civic_hive_devouring_swarm
  35. }
  36.  
  37. modifier = {
  38. factor = 1.25
  39. has_tradition = tr_expansion_adopt
  40. }
  41. modifier = {
  42. factor = 1.25
  43. research_leader = {
  44. area = society
  45. has_trait = "leader_trait_expertise_new_worlds"
  46. }
  47. }
  48. }
  49.  
  50. ai_weight = {
  51. modifier = {
  52. factor = 0
  53. research_leader = {
  54. area = society
  55. has_trait = "leader_trait_expertise_new_worlds"
  56. }
  57. }
  58. }
  59. }
  60.  
  61.  
  62.  
  63. ############################
  64. #02_special_terraform_links#
  65. ############################
  66.  
  67. #Luna#
  68.  
  69. terraform_link = {
  70. from = "pc_barren_cold"
  71. to = "pc_alpine"
  72.  
  73. energy = 3000
  74. duration = 1800
  75.  
  76. potential = {
  77. from = { has_modifier = landis_project }
  78. }
  79. condition = {
  80. has_technology = "tech_landis_project"
  81. }
  82.  
  83. effect = {
  84. from = { remove_modifier = landis_project }
  85. }
  86.  
  87. ai_weight = {
  88. weight = 0
  89. }
  90. }
  91.  
  92.  
  93.  
  94.  
  95. ##############################
  96. #Sol Terraforamble Initalizer#
  97. ##############################
  98.  
  99. @distance = 50
  100. @base_moon_distance = 10
  101. @jumps = 3
  102.  
  103.  
  104. ### Sol System
  105. sol_system_initializer = {
  106. name = "NAME_Sol"
  107.  
  108. class = "sc_g"
  109. asteroid_belt = {
  110. type = rocky_asteroid_belt
  111. radius = 145
  112. }
  113. asteroid_belt = {
  114. type = icy_asteroid_belt
  115. radius = 290
  116. }
  117.  
  118. flags = { empire_home_system sol_system sol }
  119.  
  120. usage = custom_empire
  121.  
  122. init_effect = {
  123. every_neighbor_system = {
  124. set_star_flag = empire_cluster
  125. every_neighbor_system = {
  126. set_star_flag = empire_cluster
  127. }
  128. }
  129. generate_home_system_resources = yes
  130. }
  131.  
  132. planet = {
  133. name = "NAME_Sol"
  134. class = "pc_g_star"
  135. orbit_distance = 0
  136. orbit_angle = 1
  137. size = 30
  138. has_ring = no
  139. }
  140.  
  141. planet = {
  142. name = "NAME_Mercury"
  143. class = "pc_molten"
  144. orbit_distance = 40
  145. orbit_angle = 15
  146. size = 10
  147. has_ring = no
  148. }
  149.  
  150. planet = {
  151. name = "NAME_Venus"
  152. class = "pc_toxic"
  153. orbit_distance = 25
  154. orbit_angle = 125
  155. size = 20
  156. has_ring = no
  157. }
  158.  
  159. planet = {
  160. name = "NAME_Earth"
  161. class = "pc_continental"
  162. orbit_distance = 25
  163. orbit_angle = 120
  164. size = 16
  165. starting_planet = yes
  166. has_ring = no
  167. entity = "continental_planet_earth_entity"
  168. deposit_blockers = none
  169. modifiers = none
  170. flags = { planet_earth }
  171.  
  172. init_effect = {
  173. prevent_anomaly = yes
  174. }
  175.  
  176. moon = {
  177. name = "NAME_Luna"
  178. class = "pc_barren_cold"
  179. size = 5
  180. orbit_distance = 12
  181. orbit_angle = 40
  182. has_ring = no
  183. entity = "cold_barren_planet_luna_entity"
  184.  
  185. init_effect = {
  186. add_modifier = {
  187. modifier = "landis_project"
  188. days = -1
  189. }
  190. }
  191. }
  192. }
  193.  
  194. planet = {
  195. name = "NAME_Mars"
  196. class = "pc_barren"
  197. orbit_distance = 25
  198. orbit_angle = 60
  199. size = 13
  200. has_ring = no
  201. entity = "barren_planet_mars_entity"
  202.  
  203. init_effect = {
  204. add_modifier = {
  205. modifier = "terraforming_candidate"
  206. days = -1
  207. }
  208. }
  209. }
  210.  
  211. planet = {
  212. name = "NAME_1_Ceres"
  213. class = "pc_asteroid"
  214. orbit_distance = 30
  215. orbit_angle = -210
  216. size = 5
  217. has_ring = no
  218. }
  219.  
  220. planet = {
  221. name = "NAME_2_Pallas"
  222. class = "pc_asteroid"
  223. orbit_distance = 0
  224. orbit_angle = -95
  225. size = 5
  226. has_ring = no
  227. }
  228.  
  229. planet = {
  230. name = "NAME_3_Juno"
  231. class = "pc_asteroid"
  232. orbit_distance = 0
  233. orbit_angle = 285
  234. size = 5
  235. has_ring = no
  236. }
  237.  
  238. planet = {
  239. name = "NAME_4_Vesta"
  240. class = "pc_asteroid"
  241. orbit_distance = 0
  242. orbit_angle = -80
  243. size = 5
  244. has_ring = no
  245. }
  246.  
  247. planet = {
  248. name = "NAME_Jupiter"
  249. class = "pc_gas_giant"
  250. orbit_distance = 40
  251. orbit_angle = -160
  252. size = 35
  253. has_ring = no
  254. entity = "gas_giant_jupiter_entity"
  255. change_orbit = 6
  256.  
  257. moon = {
  258. name = "NAME_Io"
  259. class = "pc_molten"
  260. size = 6
  261. orbit_distance = 10
  262. orbit_angle = 110
  263. has_ring = no
  264. }
  265. moon = {
  266. name = "NAME_Europa"
  267. class = "pc_frozen"
  268. size = 6
  269. orbit_distance = 2.5
  270. orbit_angle = 10
  271. has_ring = no
  272. }
  273. moon = {
  274. name = "NAME_Ganymede"
  275. class = "pc_frozen"
  276. size = 9
  277. orbit_distance = 2.5
  278. orbit_angle = 80
  279. has_ring = no
  280. }
  281. moon = {
  282. name = "NAME_Callisto"
  283. class = "pc_frozen"
  284. size = 7
  285. orbit_distance = 2.5
  286. orbit_angle = -155
  287. has_ring = no
  288. }
  289. }
  290.  
  291. planet = {
  292. name = "NAME_Saturn"
  293. class = "pc_gas_giant"
  294. orbit_distance = 25
  295. orbit_angle = 170
  296. size = 30
  297. has_ring = yes
  298. entity = "gas_giant_05_entity"
  299. change_orbit = 7
  300.  
  301. moon = {
  302. name = "NAME_Titan"
  303. class = "pc_frozen"
  304. size = 8
  305. orbit_distance = 12
  306. orbit_angle = 320
  307. has_ring = no
  308. }
  309. }
  310.  
  311. planet = {
  312. name = "NAME_Uranus"
  313. class = "pc_gas_giant"
  314. orbit_distance = 25
  315. orbit_angle = 125
  316. size = 20
  317. has_ring = no
  318. entity = "gas_giant_03_entity"
  319. }
  320.  
  321. planet = {
  322. name = "NAME_Neptune"
  323. class = "pc_gas_giant"
  324. orbit_distance = 25
  325. orbit_angle = -195
  326. size = 20
  327. has_ring = no
  328. entity = "gas_giant_02_entity"
  329. change_orbit = 4
  330.  
  331. moon = {
  332. name = "NAME_Triton"
  333. class = "pc_frozen"
  334. size = 6
  335. orbit_distance = 7
  336. orbit_angle = 115
  337. has_ring = no
  338. }
  339. }
  340.  
  341. planet = {
  342. name = "NAME_134340_Pluto"
  343. class = "pc_asteroid"
  344. orbit_distance = 30
  345. orbit_angle = -210
  346. size = 5
  347. has_ring = no
  348. }
  349.  
  350. planet = {
  351. name = "NAME_136472_Makemake"
  352. class = "pc_ice_asteroid"
  353. orbit_distance = 0
  354. orbit_angle = -95
  355. size = 5
  356. has_ring = no
  357. }
  358.  
  359. planet = {
  360. name = "NAME_136108_Haumea"
  361. class = "pc_ice_asteroid"
  362. orbit_distance = 0
  363. orbit_angle = 285
  364. size = 5
  365. has_ring = no
  366. }
  367.  
  368. planet = {
  369. name = "NAME_20000_Varuna"
  370. class = "pc_ice_asteroid"
  371. orbit_distance = 0
  372. orbit_angle = -80
  373. size = 5
  374. has_ring = no
  375. }
  376.  
  377. neighbor_system = {
  378. hyperlane_jumps = { min = 1 max = @jumps }
  379. initializer = "sol_neighbor_t1"
  380. }
  381. neighbor_system = {
  382. trigger = { num_guaranteed_colonies >= 1 }
  383. hyperlane_jumps = { min = 1 max = @jumps }
  384. initializer = "sol_neighbor_t1_first_colony"
  385. }
  386. neighbor_system = {
  387. trigger = { num_guaranteed_colonies = 0 }
  388. hyperlane_jumps = { min = 1 max = @jumps }
  389. initializer = "sol_neighbor_t1_no_guaranteed_colony"
  390. }
  391. }
  392.  
  393. # Sol Neighbor Tier 1
  394. sol_neighbor_t1 = {
  395. name = "NAME_Barnard's_Star"
  396. class = sc_m
  397.  
  398. init_effect = {
  399. every_neighbor_system = { set_star_flag = empire_cluster }
  400. }
  401.  
  402. planet = {
  403. count = 1
  404. class = star
  405. orbit_distance = 0
  406. orbit_angle = 1
  407. size = { min = 20 max = 30 }
  408. has_ring = no
  409. }
  410.  
  411. change_orbit = 45
  412.  
  413. planet = {
  414. count = { min = 0 max = 2 }
  415. orbit_distance = 20
  416. change_orbit = @base_moon_distance
  417.  
  418. moon = {
  419. count = { min = 0 max = 1 }
  420. orbit_distance = 5
  421. }
  422. }
  423.  
  424. planet = {
  425. count = { min = 2 max = 5 }
  426. orbit_distance = 20
  427. }
  428.  
  429. neighbor_system = {
  430. trigger = { num_guaranteed_colonies >= 2 }
  431. hyperlane_jumps = { min = 1 max = @jumps }
  432. initializer = "sol_neighbor_t2_second_colony"
  433. }
  434. neighbor_system = {
  435. trigger = { num_guaranteed_colonies < 2 }
  436. hyperlane_jumps = { min = 1 max = @jumps }
  437. initializer = "sol_neighbor_t2_no_guaranteed_colony"
  438. }
  439. }
  440.  
  441. # Neighbor Tier 1 First Colony
  442. sol_neighbor_t1_first_colony = {
  443. name = "NAME_Alpha_Centauri"
  444. class = sc_trinary_1
  445. flags = { neighbor_t1_first_colony }
  446.  
  447. init_effect = {
  448. every_neighbor_system = { set_star_flag = empire_cluster }
  449. }
  450.  
  451. planet = {
  452. name = "NAME_Alpha_Centauri_A"
  453. count = 1
  454. class = pc_g_star
  455. orbit_distance = 0
  456. orbit_angle = 1
  457. size = 32
  458. has_ring = no
  459. }
  460.  
  461. planet = {
  462. name = "NAME_Alpha_Centauri_B"
  463. count = 1
  464. class = pc_k_star
  465. orbit_distance = 260
  466. orbit_angle = 40
  467. size = 27
  468. has_ring = no
  469.  
  470. planet = {
  471. name = "NAME_Alpha_Centauri_B_I"
  472. class = pc_molten
  473. size = 18
  474. orbit_distance = 35
  475. }
  476. planet = {
  477. name = "NAME_Alpha_Centauri_B_II"
  478. class = pc_barren
  479. size = 25
  480. orbit_distance = 25
  481.  
  482. }
  483. planet = {
  484. name = "NAME_Alpha_Centauri_B_III"
  485. class = pc_gas_giant
  486. size = 35
  487. orbit_angle = 330
  488. orbit_distance = 25
  489. }
  490. }
  491.  
  492. planet = {
  493. name = "NAME_Proxima_Centauri"
  494. count = 1
  495. class = pc_m_star
  496. orbit_angle = 130
  497. size = 15
  498. has_ring = no
  499.  
  500. planet = {
  501. name = "NAME_Proxima_Centauri_I"
  502. class = pc_molten
  503. size = 22
  504. orbit_distance = 25
  505. }
  506.  
  507. planet = {
  508. name = "NAME_Proxima_Centauri_II"
  509. class = pc_gas_giant
  510. size = 28
  511. orbit_distance = 25
  512. }
  513. }
  514.  
  515. change_orbit = -260
  516.  
  517. planet = {
  518. count = 2
  519. orbit_distance = 25
  520.  
  521. change_orbit = @base_moon_distance
  522.  
  523. moon = {
  524. count = { min = 0 max = 1 }
  525. orbit_distance = 5
  526. }
  527. }
  528.  
  529. planet = {
  530. count = 1
  531. orbit_distance = 30
  532. class = ideal_design_class
  533. orbit_angle = { min = 90 max = 270 }
  534. size = { min = 12 max = 18 }
  535.  
  536. init_effect = {
  537. set_planet_flag = prescripted_ideal # used by code, do not remove
  538. }
  539. }
  540.  
  541. planet = {
  542. count = 2
  543. orbit_distance = 25
  544.  
  545. change_orbit = @base_moon_distance
  546.  
  547. moon = {
  548. count = { min = 0 max = 1 }
  549. orbit_distance = 5
  550. }
  551. }
  552.  
  553. neighbor_system = {
  554. hyperlane_jumps = { min = 1 max = @jumps }
  555. initializer = "sol_neighbor_t2"
  556. }
  557. }
  558.  
  559. # Neighbor Tier 1 No Guaranteed Colony
  560. sol_neighbor_t1_no_guaranteed_colony = {
  561. name = "NAME_Alpha_Centauri"
  562. class = sc_trinary_1
  563.  
  564. init_effect = {
  565. every_neighbor_system = { set_star_flag = empire_cluster }
  566. }
  567.  
  568. planet = {
  569. name = "NAME_Alpha_Centauri_A"
  570. count = 1
  571. class = pc_g_star
  572. orbit_distance = 0
  573. orbit_angle = 1
  574. size = 32
  575. has_ring = no
  576. }
  577.  
  578. planet = {
  579. name = "NAME_Alpha_Centauri_B"
  580. count = 1
  581. class = pc_k_star
  582. orbit_distance = 320
  583. orbit_angle = 40
  584. size = 27
  585. has_ring = no
  586.  
  587. planet = {
  588. name = "NAME_Alpha_Centauri_B_I"
  589. class = pc_molten
  590. size = 18
  591. orbit_distance = 65
  592. }
  593. planet = {
  594. name = "NAME_Alpha_Centauri_B_II"
  595. class = pc_barren
  596. size = 25
  597. orbit_distance = 25
  598.  
  599. }
  600. planet = {
  601. name = "NAME_Alpha_Centauri_B_III"
  602. class = pc_gas_giant
  603. size = 35
  604. orbit_angle = 330
  605. orbit_distance = 25
  606. }
  607. }
  608.  
  609. planet = {
  610. name = "NAME_Proxima_Centauri"
  611. count = 1
  612. class = pc_m_star
  613. orbit_distance = 35
  614. orbit_angle = 130
  615. size = 15
  616. has_ring = no
  617.  
  618. planet = {
  619. name = "NAME_Proxima_Centauri_I"
  620. class = pc_molten
  621. size = 22
  622. orbit_distance = 25
  623. }
  624.  
  625. planet = {
  626. name = "NAME_Proxima_Centauri_II"
  627. class = pc_gas_giant
  628. size = 28
  629. orbit_distance = 25
  630. }
  631. }
  632.  
  633. change_orbit = -320
  634.  
  635. planet = {
  636. count = 2
  637. orbit_distance = 25
  638.  
  639. change_orbit = @base_moon_distance
  640.  
  641. moon = {
  642. count = { min = 0 max = 1 }
  643. orbit_distance = 5
  644. }
  645. }
  646.  
  647. planet = {
  648. count = 1
  649. orbit_distance = 30
  650. orbit_angle = { min = 90 max = 270 }
  651. size = { min = 12 max = 18 }
  652. }
  653.  
  654. planet = {
  655. count = 3
  656. orbit_distance = 25
  657.  
  658. change_orbit = @base_moon_distance
  659.  
  660. moon = {
  661. count = { min = 0 max = 1 }
  662. orbit_distance = 5
  663. }
  664. }
  665.  
  666. neighbor_system = {
  667. hyperlane_jumps = { min = 1 max = @jumps }
  668. initializer = "sol_neighbor_t2"
  669. }
  670. }
  671.  
  672.  
  673. # Sol Neighbor Tier 2
  674. sol_neighbor_t2 = {
  675. name = "NAME_Procyon"
  676. class = sc_binary_8
  677. asteroid_belt = {
  678. type = rocky_asteroid_belt
  679. radius = 120
  680. }
  681.  
  682. init_effect = {
  683. every_neighbor_system = { set_star_flag = empire_cluster }
  684. }
  685.  
  686. planet = {
  687. name = "NAME_Procyon_A"
  688. count = 1
  689. class = pc_f_star
  690. orbit_distance = 30
  691. orbit_angle = 1
  692. size = 35
  693. has_ring = no
  694. }
  695.  
  696. planet = {
  697. name = "NAME_Procyon_B"
  698. count = 1
  699. class = pc_f_star
  700. orbit_distance = 0
  701. orbit_angle = 125
  702. size = 20
  703. has_ring = no
  704. }
  705.  
  706. planet = {
  707. count = 1
  708. orbit_distance = 65
  709. }
  710.  
  711. change_orbit = 25
  712.  
  713. planet = {
  714. count = { min = 1 max = 3 }
  715. class = pc_asteroid
  716. orbit_distance = 0
  717. orbit_angle = { min = 0 max = 360 }
  718. }
  719.  
  720. planet = {
  721. count = { min = 2 max = 5 }
  722. orbit_distance = 25
  723.  
  724. change_orbit = @base_moon_distance
  725.  
  726. moon = {
  727. count = { min = 0 max = 1 }
  728. orbit_distance = 5
  729. }
  730. }
  731. }
  732.  
  733. # Sol Neighbor Tier 2 Second Colony
  734. sol_neighbor_t2_second_colony = {
  735. name = "NAME_Sirius"
  736. class = sc_binary_9
  737. flags = { neighbor_t2_second_colony }
  738.  
  739. init_effect = {
  740. every_neighbor_system = { set_star_flag = empire_cluster }
  741. }
  742.  
  743. planet = {
  744. name = "NAME_Sirius_A"
  745. count = 1
  746. class = pc_a_star
  747. orbit_distance = 30
  748. orbit_angle = 1
  749. size = 35
  750. has_ring = no
  751. }
  752.  
  753. planet = {
  754. name = "NAME_Sirius_B"
  755. count = 1
  756. class = pc_f_star
  757. orbit_distance = 0
  758. orbit_angle = 120
  759. size = 15
  760. has_ring = no
  761. }
  762.  
  763. change_orbit = 45
  764.  
  765. planet = {
  766. count = 2
  767. orbit_angle = { min = 90 max = 270 }
  768. orbit_distance = 20
  769. }
  770.  
  771. planet = {
  772. count = 1
  773. orbit_distance = 25
  774. class = ideal_design_class
  775. orbit_angle = { min = 90 max = 270 }
  776. size = { min = 14 max = 24 }
  777.  
  778. init_effect = {
  779. set_planet_flag = prescripted_ideal # used by code, do not remove
  780. }
  781.  
  782. change_orbit = @base_moon_distance
  783.  
  784. moon = {
  785. count = { min = 0 max = 1 }
  786. class = random_non_colonizable
  787. orbit_angle = { min = 90 max = 270 }
  788. orbit_distance = 5
  789. }
  790. }
  791.  
  792. planet = {
  793. count = 2
  794. orbit_angle = { min = 90 max = 270 }
  795. orbit_distance = 20
  796.  
  797. change_orbit = @base_moon_distance
  798.  
  799. moon = {
  800. count = { min = 0 max = 1 }
  801. class = random_non_colonizable
  802. orbit_angle = { min = 90 max = 270 }
  803. orbit_distance = 5
  804. }
  805. }
  806.  
  807. planet = {
  808. count = { min = 0 max = 2 }
  809. orbit_angle = { min = 90 max = 270 }
  810. orbit_distance = 20
  811. }
  812. }
  813.  
  814. # Sol Neighbor Tier 2 No Guaranteed Colony
  815. sol_neighbor_t2_no_guaranteed_colony = {
  816. name = "NAME_Sirius"
  817. class = sc_binary_9
  818.  
  819. init_effect = {
  820. every_neighbor_system = { set_star_flag = empire_cluster }
  821. }
  822.  
  823. planet = {
  824. name = "NAME_Sirius_A"
  825. count = 1
  826. class = pc_a_star
  827. orbit_distance = 30
  828. orbit_angle = 1
  829. size = 35
  830. has_ring = no
  831. }
  832.  
  833. planet = {
  834. name = "NAME_Sirius_B"
  835. count = 1
  836. class = pc_f_star
  837. orbit_distance = 0
  838. orbit_angle = 120
  839. size = 15
  840. has_ring = no
  841. }
  842.  
  843. change_orbit = 45
  844.  
  845. planet = {
  846. count = 2
  847. orbit_angle = { min = 90 max = 270 }
  848. orbit_distance = 20
  849. }
  850.  
  851. planet = {
  852. count = 1
  853. orbit_distance = 25
  854. orbit_angle = { min = 90 max = 270 }
  855. size = { min = 14 max = 24 }
  856.  
  857. change_orbit = @base_moon_distance
  858.  
  859. moon = {
  860. count = { min = 0 max = 1 }
  861. class = random_non_colonizable
  862. orbit_angle = { min = 90 max = 270 }
  863. orbit_distance = 5
  864. }
  865. }
  866.  
  867. planet = {
  868. count = 2
  869. orbit_angle = { min = 90 max = 270 }
  870. orbit_distance = 20
  871.  
  872. change_orbit = @base_moon_distance
  873.  
  874. moon = {
  875. count = { min = 0 max = 1 }
  876. class = random_non_colonizable
  877. orbit_angle = { min = 90 max = 270 }
  878. orbit_distance = 5
  879. }
  880. }
  881.  
  882. planet = {
  883. count = { min = 0 max = 2 }
  884. orbit_angle = { min = 90 max = 270 }
  885. orbit_distance = 20
  886. }
  887. }
  888.  
  889. # Sol System (Commonwealth of Man SP)
  890. com_sol_system = {
  891. name = "NAME_Sol"
  892. class = "sc_g"
  893.  
  894. asteroid_belt = {
  895. type = rocky_asteroid_belt
  896. radius = 145
  897. }
  898. asteroid_belt = {
  899. type = icy_asteroid_belt
  900. radius = 290
  901. }
  902. flags = { sol_system com_sol sol empire_home_system }
  903.  
  904. usage = misc_system_init
  905.  
  906. usage_odds = {
  907. base = 0
  908. modifier = {
  909. any_country = {
  910. has_country_flag = human_2
  911. species_portrait = human
  912. has_origin = origin_lost_colony
  913. }
  914. NOT = { any_system = { has_star_flag = sol } }
  915. NOT = { has_star_flag = empire_cluster }
  916. add = 99999
  917. }
  918. }
  919.  
  920. max_instances = 1
  921.  
  922. init_effect = {
  923. every_neighbor_system = {
  924. set_star_flag = empire_cluster
  925. every_neighbor_system = {
  926. set_star_flag = empire_cluster
  927. }
  928. }
  929. generate_home_system_resources = yes
  930. }
  931.  
  932. planet = {
  933. name = "NAME_Sol"
  934. class = "pc_g_star"
  935. orbit_distance = 0
  936. orbit_angle = 1
  937. size = 30
  938. has_ring = no
  939. }
  940.  
  941. planet = {
  942. name = "NAME_Mercury"
  943. class = "pc_molten"
  944. orbit_distance = 40
  945. orbit_angle = 15
  946. size = 10
  947. has_ring = no
  948. }
  949.  
  950. planet = {
  951. name = "NAME_Venus"
  952. class = "pc_toxic"
  953. orbit_distance = 25
  954. orbit_angle = 125
  955. size = 20
  956. has_ring = no
  957. }
  958.  
  959. planet = {
  960. class = "pc_continental"
  961. orbit_distance = 25
  962. orbit_angle = 120
  963. size = 20
  964. starting_planet = yes
  965. has_ring = no
  966. entity = "continental_planet_earth_entity"
  967. deposit_blockers = none
  968. modifiers = none
  969. flags = { planet_earth }
  970.  
  971. init_effect = {
  972. prevent_anomaly = yes
  973. random_country = {
  974. limit = { has_country_flag = human_2 }
  975. save_event_target_as = commonwealth
  976. owner_species = {
  977. save_event_target_as = human_species
  978. set_species_homeworld = prevprev
  979. }
  980. }
  981. create_country = {
  982. name = "NAME_United_Nations_of_Earth"
  983. authority = auth_democratic
  984. civics = {
  985. civic = civic_beacon_of_liberty
  986. civic = civic_idealistic_foundation
  987. }
  988. species = event_target:human_species
  989. name_list = "HUMAN1"
  990. ship_prefix = "UNS"
  991. ethos = {
  992. ethic = "ethic_xenophile"
  993. ethic = "ethic_fanatic_egalitarian"
  994. }
  995. flag = {
  996. icon = {
  997. category = "human"
  998. file = "flag_human_8.dds"
  999. }
  1000. background = {
  1001. category = "backgrounds"
  1002. file = "00_solid.dds"
  1003. }
  1004. colors = {
  1005. "dark_blue"
  1006. "dark_blue"
  1007. "null"
  1008. "null"
  1009. }
  1010. }
  1011. type = default
  1012. origin = "origin_default"
  1013. effect = {
  1014. save_event_target_as = npc_UNoE
  1015. add_resource = {
  1016. minerals = 2400
  1017. energy = 2400
  1018. food = 2400
  1019. alloys = 800
  1020. consumer_goods = 1200
  1021. influence = 600
  1022. }
  1023. }
  1024. }
  1025. create_colony = {
  1026. owner = event_target:npc_UNoE
  1027. }
  1028. generate_earth_deposits_and_blockers = yes
  1029. generate_start_buildings_and_districts = yes
  1030. generate_start_pops = yes
  1031. clear_blockers = yes
  1032. generate_lost_colony_parent_bonus = yes
  1033. event_target:npc_UNoE = {
  1034. set_country_flag = human_1
  1035. set_country_flag = lost_colony_parent
  1036. set_country_flag = special_intro_for@event_target:commonwealth
  1037. set_country_flag = lost_colony_parent_of@event_target:commonwealth
  1038. create_starting_leaders = yes
  1039. country_event = { id = game_start.9 }
  1040. country_event = { id = game_start.33 days = 1 } # needs delay for system ownership to settle
  1041. }
  1042. set_name = "NAME_Earth"
  1043. }
  1044.  
  1045. moon = {
  1046. name = "NAME_Luna"
  1047. class = "pc_barren_cold"
  1048. size = 5
  1049. orbit_distance = 12
  1050. orbit_angle = 40
  1051. has_ring = no
  1052. entity = "cold_barren_planet_luna_entity"
  1053. }
  1054. }
  1055.  
  1056. planet = {
  1057. name = "NAME_Mars"
  1058. class = "pc_barren"
  1059. orbit_distance = 25
  1060. orbit_angle = 60
  1061. size = 13
  1062. has_ring = no
  1063. entity = "barren_planet_mars_entity"
  1064.  
  1065. init_effect = {
  1066. add_modifier = {
  1067. modifier = "terraforming_candidate"
  1068. days = -1
  1069. }
  1070. }
  1071. }
  1072.  
  1073. planet = {
  1074. name = "NAME_1_Ceres"
  1075. class = "pc_asteroid"
  1076. orbit_distance = 30
  1077. orbit_angle = -210
  1078. size = 5
  1079. has_ring = no
  1080. }
  1081.  
  1082. planet = {
  1083. name = "NAME_2_Pallas"
  1084. class = "pc_asteroid"
  1085. orbit_distance = 0
  1086. orbit_angle = -95
  1087. size = 5
  1088. has_ring = no
  1089. }
  1090.  
  1091. planet = {
  1092. name = "NAME_3_Juno"
  1093. class = "pc_asteroid"
  1094. orbit_distance = 0
  1095. orbit_angle = 285
  1096. size = 5
  1097. has_ring = no
  1098. }
  1099.  
  1100. planet = {
  1101. name = "NAME_4_Vesta"
  1102. class = "pc_asteroid"
  1103. orbit_distance = 0
  1104. orbit_angle = -80
  1105. size = 5
  1106. has_ring = no
  1107. }
  1108.  
  1109. planet = {
  1110. name = "NAME_Jupiter"
  1111. class = "pc_gas_giant"
  1112. orbit_distance = 40
  1113. orbit_angle = -160
  1114. size = 35
  1115. has_ring = no
  1116. entity = "gas_giant_jupiter_entity"
  1117. change_orbit = 6
  1118.  
  1119. moon = {
  1120. name = "NAME_Io"
  1121. class = "pc_molten"
  1122. size = 6
  1123. orbit_distance = 10
  1124. orbit_angle = 110
  1125. has_ring = no
  1126. }
  1127. moon = {
  1128. name = "NAME_Europa"
  1129. class = "pc_frozen"
  1130. size = 6
  1131. orbit_distance = 2.5
  1132. orbit_angle = 10
  1133. has_ring = no
  1134. }
  1135. moon = {
  1136. name = "NAME_Ganymede"
  1137. class = "pc_frozen"
  1138. size = 9
  1139. orbit_distance = 2.5
  1140. orbit_angle = 80
  1141. has_ring = no
  1142. }
  1143. moon = {
  1144. name = "NAME_Callisto"
  1145. class = "pc_frozen"
  1146. size = 7
  1147. orbit_distance = 2.5
  1148. orbit_angle = -155
  1149. has_ring = no
  1150. }
  1151. }
  1152.  
  1153. planet = {
  1154. name = "NAME_Saturn"
  1155. class = "pc_gas_giant"
  1156. orbit_distance = 25
  1157. orbit_angle = 170
  1158. size = 30
  1159. has_ring = yes
  1160. entity = "gas_giant_05_entity"
  1161. change_orbit = 7
  1162.  
  1163. moon = {
  1164. name = "NAME_Titan"
  1165. class = "pc_frozen"
  1166. size = 8
  1167. orbit_distance = 12
  1168. orbit_angle = 320
  1169. has_ring = no
  1170. }
  1171. }
  1172.  
  1173. planet = {
  1174. name = "NAME_Uranus"
  1175. class = "pc_gas_giant"
  1176. orbit_distance = 25
  1177. orbit_angle = 125
  1178. size = 20
  1179. has_ring = no
  1180. entity = "gas_giant_03_entity"
  1181. }
  1182.  
  1183. planet = {
  1184. name = "NAME_Neptune"
  1185. class = "pc_gas_giant"
  1186. orbit_distance = 25
  1187. orbit_angle = -195
  1188. size = 20
  1189. has_ring = no
  1190. entity = "gas_giant_02_entity"
  1191. change_orbit = 4
  1192.  
  1193. moon = {
  1194. name = "NAME_Triton"
  1195. class = "pc_frozen"
  1196. size = 6
  1197. orbit_distance = 7
  1198. orbit_angle = 115
  1199. has_ring = no
  1200. }
  1201. }
  1202.  
  1203. planet = {
  1204. name = "NAME_134340_Pluto"
  1205. class = "pc_asteroid"
  1206. orbit_distance = 30
  1207. orbit_angle = -210
  1208. size = 5
  1209. has_ring = no
  1210. }
  1211.  
  1212. planet = {
  1213. name = "NAME_136472_Makemake"
  1214. class = "pc_ice_asteroid"
  1215. orbit_distance = 0
  1216. orbit_angle = -95
  1217. size = 5
  1218. has_ring = no
  1219. }
  1220.  
  1221. planet = {
  1222. name = "NAME_136108_Haumea"
  1223. class = "pc_ice_asteroid"
  1224. orbit_distance = 0
  1225. orbit_angle = 285
  1226. size = 5
  1227. has_ring = no
  1228. }
  1229.  
  1230. planet = {
  1231. name = "NAME_20000_Varuna"
  1232. class = "pc_ice_asteroid"
  1233. orbit_distance = 0
  1234. orbit_angle = -80
  1235. size = 5
  1236. has_ring = no
  1237. }
  1238.  
  1239. init_effect = {
  1240. create_starbase = {
  1241. size = starbase_starport
  1242. module = shipyard
  1243. building = crew_quarters
  1244. owner = event_target:npc_UNoE
  1245. effect = {
  1246. set_starbase_module = {
  1247. slot = 1
  1248. module = trading_hub
  1249. }
  1250. }
  1251. }
  1252. }
  1253.  
  1254. neighbor_system = {
  1255. hyperlane_jumps = { min = 1 max = @jumps }
  1256. initializer = "com_sol_neighbor_t1"
  1257. }
  1258. neighbor_system = {
  1259. hyperlane_jumps = { min = 1 max = @jumps }
  1260. initializer = "com_sol_neighbor_t1_first_colony"
  1261. }
  1262. }
  1263.  
  1264. # Commonwealth Sol Neighbor Tier 1 First Colony
  1265. com_sol_neighbor_t1_first_colony = {
  1266. name = "NAME_Alpha_Centauri"
  1267. class = sc_trinary_1
  1268. flags = { neighbor_t1_first_colony }
  1269.  
  1270. init_effect = {
  1271. every_neighbor_system = { set_star_flag = empire_cluster }
  1272. }
  1273.  
  1274. planet = {
  1275. name = "NAME_Alpha_Centauri_A"
  1276. count = 1
  1277. class = pc_g_star
  1278. orbit_distance = 0
  1279. orbit_angle = 1
  1280. size = 32
  1281. has_ring = no
  1282. }
  1283.  
  1284. planet = {
  1285. name = "NAME_Alpha_Centauri_B"
  1286. count = 1
  1287. class = pc_k_star
  1288. orbit_distance = 260
  1289. orbit_angle = 40
  1290. size = 27
  1291. has_ring = no
  1292.  
  1293. planet = {
  1294. name = "NAME_Alpha_Centauri_B_I"
  1295. class = pc_molten
  1296. size = 18
  1297. orbit_distance = 35
  1298. }
  1299. planet = {
  1300. name = "NAME_Alpha_Centauri_B_II"
  1301. class = pc_barren
  1302. size = 25
  1303. orbit_distance = 25
  1304.  
  1305. }
  1306. planet = {
  1307. name = "NAME_Alpha_Centauri_B_III"
  1308. class = pc_gas_giant
  1309. size = 35
  1310. orbit_angle = 330
  1311. orbit_distance = 25
  1312. }
  1313. }
  1314.  
  1315. planet = {
  1316. name = "NAME_Proxima_Centauri"
  1317. count = 1
  1318. class = pc_m_star
  1319. orbit_angle = 130
  1320. size = 15
  1321. has_ring = no
  1322.  
  1323. planet = {
  1324. name = "NAME_Proxima_Centauri_I"
  1325. class = pc_molten
  1326. size = 22
  1327. orbit_distance = 25
  1328. }
  1329.  
  1330. planet = {
  1331. name = "NAME_Proxima_Centauri_II"
  1332. class = pc_gas_giant
  1333. size = 28
  1334. orbit_distance = 25
  1335. }
  1336. }
  1337.  
  1338. change_orbit = -260
  1339.  
  1340. planet = {
  1341. count = 2
  1342. orbit_distance = 25
  1343.  
  1344. change_orbit = @base_moon_distance
  1345.  
  1346. moon = {
  1347. count = { min = 0 max = 1 }
  1348. orbit_distance = 5
  1349. }
  1350. }
  1351.  
  1352. planet = {
  1353. count = 1
  1354. orbit_distance = 30
  1355. class = "pc_continental"
  1356. orbit_angle = { min = 90 max = 270 }
  1357. size = { min = 12 max = 18 }
  1358.  
  1359. init_effect = {
  1360. create_colony = {
  1361. owner = event_target:npc_UNoE
  1362. }
  1363. }
  1364. }
  1365.  
  1366. planet = {
  1367. count = 2
  1368. orbit_distance = 25
  1369.  
  1370. change_orbit = @base_moon_distance
  1371.  
  1372. moon = {
  1373. count = { min = 0 max = 1 }
  1374. orbit_distance = 5
  1375. }
  1376. }
  1377.  
  1378. init_effect = {
  1379. random_system = {
  1380. limit = { has_star_flag = com_sol }
  1381. save_event_target_as = com_sol
  1382. }
  1383. if = {
  1384. limit = {
  1385. NOT = { has_hyperlane_to = event_target:com_sol }
  1386. }
  1387. add_hyperlane = { from = this to = event_target:com_sol }
  1388. }
  1389. create_starbase = {
  1390. size = starbase_outpost
  1391. owner = event_target:npc_UNoE
  1392. }
  1393. }
  1394.  
  1395. neighbor_system = {
  1396. hyperlane_jumps = { min = 1 max = @jumps }
  1397. initializer = "sol_neighbor_t2"
  1398. }
  1399. }
  1400.  
  1401. # Commonwealth Sol Neighbor Tier 1
  1402. com_sol_neighbor_t1 = {
  1403. name = "NAME_Barnard's_Star"
  1404. class = sc_m
  1405. flags = { com_barnards_star }
  1406.  
  1407. init_effect = {
  1408. every_neighbor_system = { set_star_flag = empire_cluster }
  1409. }
  1410.  
  1411. planet = {
  1412. count = 1
  1413. class = star
  1414. orbit_distance = 0
  1415. orbit_angle = 1
  1416. size = { min = 20 max = 30 }
  1417. has_ring = no
  1418. }
  1419.  
  1420. change_orbit = 45
  1421.  
  1422. planet = {
  1423. count = { min = 0 max = 2 }
  1424. orbit_distance = 20
  1425. change_orbit = @base_moon_distance
  1426.  
  1427. moon = {
  1428. count = { min = 0 max = 1 }
  1429. orbit_distance = 5
  1430. }
  1431. }
  1432.  
  1433. planet = {
  1434. count = { min = 2 max = 5 }
  1435. orbit_distance = 20
  1436. }
  1437.  
  1438. init_effect = {
  1439. random_system = {
  1440. limit = { has_star_flag = com_sol }
  1441. save_event_target_as = com_sol
  1442. }
  1443. if = {
  1444. limit = {
  1445. NOT = { has_hyperlane_to = event_target:com_sol }
  1446. }
  1447. add_hyperlane = { from = this to = event_target:com_sol }
  1448. }
  1449. create_starbase = {
  1450. size = starbase_outpost
  1451. owner = event_target:npc_UNoE
  1452. }
  1453. }
  1454.  
  1455. neighbor_system = {
  1456. hyperlane_jumps = { min = 1 max = @jumps }
  1457. initializer = "com_sol_neighbor_t2_second_colony"
  1458. }
  1459. neighbor_system = {
  1460. hyperlane_jumps = { min = 1 max = @jumps }
  1461. initializer = "sol_neighbor_t2_no_guaranteed_colony"
  1462. }
  1463. }
  1464.  
  1465. # Commonwealth Sol Neighbor Tier 2 Second Colony
  1466. com_sol_neighbor_t2_second_colony = {
  1467. name = "NAME_Sirius"
  1468. class = sc_binary_9
  1469. flags = { neighbor_t2_second_colony }
  1470.  
  1471. init_effect = {
  1472. every_neighbor_system = { set_star_flag = empire_cluster }
  1473. }
  1474.  
  1475. planet = {
  1476. name = "NAME_Sirius_A"
  1477. count = 1
  1478. class = pc_a_star
  1479. orbit_distance = 30
  1480. orbit_angle = 1
  1481. size = 35
  1482. has_ring = no
  1483. }
  1484.  
  1485. planet = {
  1486. name = "NAME_Sirius_B"
  1487. count = 1
  1488. class = pc_f_star
  1489. orbit_distance = 0
  1490. orbit_angle = 120
  1491. size = 15
  1492. has_ring = no
  1493. }
  1494.  
  1495. change_orbit = 45
  1496.  
  1497. planet = {
  1498. count = 2
  1499. orbit_angle = { min = 90 max = 270 }
  1500. orbit_distance = 20
  1501. }
  1502.  
  1503. planet = {
  1504. count = 1
  1505. orbit_distance = 25
  1506. class = "pc_continental"
  1507. orbit_angle = { min = 90 max = 270 }
  1508. size = { min = 14 max = 24 }
  1509.  
  1510. init_effect = {
  1511. create_colony = {
  1512. owner = event_target:npc_UNoE
  1513. }
  1514. }
  1515.  
  1516. change_orbit = @base_moon_distance
  1517.  
  1518. moon = {
  1519. count = { min = 0 max = 1 }
  1520. class = random_non_colonizable
  1521. orbit_angle = { min = 90 max = 270 }
  1522. orbit_distance = 5
  1523. }
  1524. }
  1525.  
  1526. planet = {
  1527. count = 2
  1528. orbit_angle = { min = 90 max = 270 }
  1529. orbit_distance = 20
  1530.  
  1531. change_orbit = @base_moon_distance
  1532.  
  1533. moon = {
  1534. count = { min = 0 max = 1 }
  1535. class = random_non_colonizable
  1536. orbit_angle = { min = 90 max = 270 }
  1537. orbit_distance = 5
  1538. }
  1539. }
  1540.  
  1541. planet = {
  1542. count = { min = 0 max = 2 }
  1543. orbit_angle = { min = 90 max = 270 }
  1544. orbit_distance = 20
  1545. }
  1546.  
  1547. init_effect = {
  1548. random_system = {
  1549. limit = { has_star_flag = com_barnards_star }
  1550. save_event_target_as = com_barnards_star
  1551. }
  1552. if = {
  1553. limit = {
  1554. NOT = { has_hyperlane_to = event_target:com_barnards_star }
  1555. }
  1556. add_hyperlane = { from = this to = event_target:com_barnards_star }
  1557. }
  1558. create_starbase = {
  1559. size = starbase_outpost
  1560. owner = event_target:npc_UNoE
  1561. }
  1562. }
  1563. }
  1564.  
  1565. # Sol System (Human Lost Colony SP)
  1566. lost_colony_sol_system = {
  1567. name = "NAME_Sol"
  1568. class = "sc_g"
  1569.  
  1570. asteroid_belt = {
  1571. type = rocky_asteroid_belt
  1572. radius = 145
  1573. }
  1574. asteroid_belt = {
  1575. type = icy_asteroid_belt
  1576. radius = 290
  1577. }
  1578. flags = { sol_system lost_colony_sol sol empire_home_system }
  1579.  
  1580. usage = misc_system_init
  1581.  
  1582. usage_odds = {
  1583. base = 0
  1584. modifier = {
  1585. any_country = {
  1586. species_portrait = human
  1587. NOT = { has_country_flag = human_2 }
  1588. has_origin = origin_lost_colony
  1589. }
  1590. NOT = { any_system = { has_star_flag = sol } }
  1591. NOT = { has_star_flag = empire_cluster }
  1592. add = 99999
  1593. }
  1594. }
  1595.  
  1596. max_instances = 1
  1597.  
  1598. init_effect = {
  1599. every_neighbor_system = {
  1600. set_star_flag = empire_cluster
  1601. every_neighbor_system = {
  1602. set_star_flag = empire_cluster
  1603. }
  1604. }
  1605. generate_home_system_resources = yes
  1606. }
  1607.  
  1608. planet = {
  1609. name = "NAME_Sol"
  1610. class = "pc_g_star"
  1611. orbit_distance = 0
  1612. orbit_angle = 1
  1613. size = 30
  1614. has_ring = no
  1615. }
  1616.  
  1617. planet = {
  1618. name = "NAME_Mercury"
  1619. class = "pc_molten"
  1620. orbit_distance = 40
  1621. orbit_angle = 15
  1622. size = 10
  1623. has_ring = no
  1624. }
  1625.  
  1626. planet = {
  1627. name = "NAME_Venus"
  1628. class = "pc_toxic"
  1629. orbit_distance = 25
  1630. orbit_angle = 125
  1631. size = 20
  1632. has_ring = no
  1633. }
  1634.  
  1635. planet = {
  1636. class = "pc_continental"
  1637. orbit_distance = 25
  1638. orbit_angle = 120
  1639. size = 20
  1640. starting_planet = yes
  1641. has_ring = no
  1642. entity = "continental_planet_earth_entity"
  1643. deposit_blockers = none
  1644. modifiers = none
  1645.  
  1646. init_effect = {
  1647. prevent_anomaly = yes
  1648. }
  1649.  
  1650. init_effect = {
  1651. random_country = {
  1652. limit = {
  1653. species_portrait = human
  1654. has_origin = origin_lost_colony
  1655. }
  1656. save_event_target_as = human_lost_colony
  1657. owner_species = {
  1658. save_event_target_as = human_species
  1659. set_species_homeworld = prevprev
  1660. }
  1661. }
  1662. random_list = {
  1663. 50 = {
  1664. create_country = {
  1665. species = event_target:human_species
  1666. name_list = HUMAN1
  1667. type = default
  1668. origin = "origin_default"
  1669. effect = {
  1670. save_event_target_as = lost_colony_parent
  1671. add_resource = {
  1672. minerals = 2400
  1673. energy = 2400
  1674. food = 2400
  1675. alloys = 800
  1676. consumer_goods = 1200
  1677. influence = 600
  1678. }
  1679. }
  1680. }
  1681. }
  1682. 50 = {
  1683. create_country = {
  1684. species = event_target:human_species
  1685. name_list = HUMAN2
  1686. type = default
  1687. origin = "origin_default"
  1688. effect = {
  1689. save_event_target_as = lost_colony_parent
  1690. add_resource = {
  1691. minerals = 2400
  1692. energy = 2400
  1693. food = 2400
  1694. alloys = 800
  1695. consumer_goods = 1200
  1696. influence = 600
  1697. }
  1698. }
  1699. }
  1700. }
  1701. }
  1702. create_colony = {
  1703. owner = event_target:lost_colony_parent
  1704. }
  1705. set_planet_size = 20
  1706. generate_earth_deposits_and_blockers = yes
  1707. generate_start_buildings_and_districts = yes
  1708. generate_start_pops = yes
  1709. clear_blockers = yes
  1710. generate_lost_colony_parent_bonus = yes
  1711. event_target:lost_colony_parent = {
  1712. set_country_flag = lost_colony_parent
  1713. set_country_flag = special_intro_for@event_target:human_lost_colony
  1714. set_country_flag = lost_colony_parent_of@event_target:human_lost_colony
  1715. create_starting_leaders = yes
  1716. country_event = { id = game_start.9 }
  1717. country_event = { id = game_start.33 days = 1 } # needs delay for system ownership to settle
  1718. owner_species = { set_species_homeworld = prevprev }
  1719. }
  1720. set_name = "NAME_Earth"
  1721. }
  1722.  
  1723. moon = {
  1724. name = "NAME_Luna"
  1725. class = "pc_barren_cold"
  1726. size = 5
  1727. orbit_distance = 12
  1728. orbit_angle = 40
  1729. has_ring = no
  1730. entity = "cold_barren_planet_luna_entity"
  1731. }
  1732. }
  1733.  
  1734. planet = {
  1735. name = "NAME_Mars"
  1736. class = "pc_barren"
  1737. orbit_distance = 25
  1738. orbit_angle = 60
  1739. size = 13
  1740. has_ring = no
  1741. entity = "barren_planet_mars_entity"
  1742.  
  1743. init_effect = {
  1744. add_modifier = {
  1745. modifier = "terraforming_candidate"
  1746. days = -1
  1747. }
  1748. }
  1749. }
  1750.  
  1751. planet = {
  1752. name = "NAME_1_Ceres"
  1753. class = "pc_asteroid"
  1754. orbit_distance = 30
  1755. orbit_angle = -210
  1756. size = 5
  1757. has_ring = no
  1758. }
  1759.  
  1760. planet = {
  1761. name = "NAME_2_Pallas"
  1762. class = "pc_asteroid"
  1763. orbit_distance = 0
  1764. orbit_angle = -95
  1765. size = 5
  1766. has_ring = no
  1767. }
  1768.  
  1769. planet = {
  1770. name = "NAME_3_Juno"
  1771. class = "pc_asteroid"
  1772. orbit_distance = 0
  1773. orbit_angle = 285
  1774. size = 5
  1775. has_ring = no
  1776. }
  1777.  
  1778. planet = {
  1779. name = "NAME_4_Vesta"
  1780. class = "pc_asteroid"
  1781. orbit_distance = 0
  1782. orbit_angle = -80
  1783. size = 5
  1784. has_ring = no
  1785. }
  1786.  
  1787. planet = {
  1788. name = "NAME_Jupiter"
  1789. class = "pc_gas_giant"
  1790. orbit_distance = 40
  1791. orbit_angle = -160
  1792. size = 35
  1793. has_ring = no
  1794. entity = "gas_giant_jupiter_entity"
  1795. change_orbit = 6
  1796.  
  1797. moon = {
  1798. name = "NAME_Io"
  1799. class = "pc_molten"
  1800. size = 6
  1801. orbit_distance = 10
  1802. orbit_angle = 110
  1803. has_ring = no
  1804. }
  1805. moon = {
  1806. name = "NAME_Europa"
  1807. class = "pc_frozen"
  1808. size = 6
  1809. orbit_distance = 2.5
  1810. orbit_angle = 10
  1811. has_ring = no
  1812. }
  1813. moon = {
  1814. name = "NAME_Ganymede"
  1815. class = "pc_frozen"
  1816. size = 9
  1817. orbit_distance = 2.5
  1818. orbit_angle = 80
  1819. has_ring = no
  1820. }
  1821. moon = {
  1822. name = "NAME_Callisto"
  1823. class = "pc_frozen"
  1824. size = 7
  1825. orbit_distance = 2.5
  1826. orbit_angle = -155
  1827. has_ring = no
  1828. }
  1829. }
  1830.  
  1831. planet = {
  1832. name = "NAME_Saturn"
  1833. class = "pc_gas_giant"
  1834. orbit_distance = 25
  1835. orbit_angle = 170
  1836. size = 30
  1837. has_ring = yes
  1838. entity = "gas_giant_05_entity"
  1839. change_orbit = 7
  1840.  
  1841. moon = {
  1842. name = "NAME_Titan"
  1843. class = "pc_frozen"
  1844. size = 8
  1845. orbit_distance = 12
  1846. orbit_angle = 320
  1847. has_ring = no
  1848. }
  1849. }
  1850.  
  1851. planet = {
  1852. name = "NAME_Uranus"
  1853. class = "pc_gas_giant"
  1854. orbit_distance = 25
  1855. orbit_angle = 125
  1856. size = 20
  1857. has_ring = no
  1858. entity = "gas_giant_03_entity"
  1859. }
  1860.  
  1861. planet = {
  1862. name = "NAME_Neptune"
  1863. class = "pc_gas_giant"
  1864. orbit_distance = 25
  1865. orbit_angle = -195
  1866. size = 20
  1867. has_ring = no
  1868. entity = "gas_giant_02_entity"
  1869. change_orbit = 4
  1870.  
  1871. moon = {
  1872. name = "NAME_Triton"
  1873. class = "pc_frozen"
  1874. size = 6
  1875. orbit_distance = 7
  1876. orbit_angle = 115
  1877. has_ring = no
  1878. }
  1879. }
  1880.  
  1881. planet = {
  1882. name = "NAME_134340_Pluto"
  1883. class = "pc_asteroid"
  1884. orbit_distance = 30
  1885. orbit_angle = -210
  1886. size = 5
  1887. has_ring = no
  1888. }
  1889.  
  1890. planet = {
  1891. name = "NAME_136472_Makemake"
  1892. class = "pc_ice_asteroid"
  1893. orbit_distance = 0
  1894. orbit_angle = -95
  1895. size = 5
  1896. has_ring = no
  1897. }
  1898.  
  1899. planet = {
  1900. name = "NAME_136108_Haumea"
  1901. class = "pc_ice_asteroid"
  1902. orbit_distance = 0
  1903. orbit_angle = 285
  1904. size = 5
  1905. has_ring = no
  1906. }
  1907.  
  1908. planet = {
  1909. name = "NAME_20000_Varuna"
  1910. class = "pc_ice_asteroid"
  1911. orbit_distance = 0
  1912. orbit_angle = -80
  1913. size = 5
  1914. has_ring = no
  1915. }
  1916.  
  1917. init_effect = {
  1918. create_starbase = {
  1919. size = starbase_starport
  1920. module = shipyard
  1921. building = crew_quarters
  1922. owner = event_target:lost_colony_parent
  1923. effect = {
  1924. set_starbase_module = {
  1925. slot = 1
  1926. module = trading_hub
  1927. }
  1928. }
  1929. }
  1930. }
  1931.  
  1932. neighbor_system = {
  1933. hyperlane_jumps = { min = 1 max = @jumps }
  1934. initializer = "lost_colony_sol_neighbor_t1"
  1935. }
  1936. neighbor_system = {
  1937. hyperlane_jumps = { min = 1 max = @jumps }
  1938. initializer = "lost_colony_sol_neighbor_t1_first_colony"
  1939. }
  1940. }
  1941.  
  1942. # Human Lost Colony Neighbor Tier 1 First Colony
  1943. lost_colony_sol_neighbor_t1_first_colony = {
  1944. name = "NAME_Alpha_Centauri"
  1945. class = sc_trinary_1
  1946. flags = { neighbor_t1_first_colony }
  1947.  
  1948. init_effect = {
  1949. every_neighbor_system = { set_star_flag = empire_cluster }
  1950. }
  1951.  
  1952. planet = {
  1953. name = "NAME_Alpha_Centauri_A"
  1954. count = 1
  1955. class = pc_g_star
  1956. orbit_distance = 0
  1957. orbit_angle = 1
  1958. size = 32
  1959. has_ring = no
  1960. }
  1961.  
  1962. planet = {
  1963. name = "NAME_Alpha_Centauri_B"
  1964. count = 1
  1965. class = pc_k_star
  1966. orbit_distance = 260
  1967. orbit_angle = 40
  1968. size = 27
  1969. has_ring = no
  1970.  
  1971. planet = {
  1972. name = "NAME_Alpha_Centauri_B_I"
  1973. class = pc_molten
  1974. size = 18
  1975. orbit_distance = 35
  1976. }
  1977. planet = {
  1978. name = "NAME_Alpha_Centauri_B_II"
  1979. class = pc_barren
  1980. size = 25
  1981. orbit_distance = 25
  1982.  
  1983. }
  1984. planet = {
  1985. name = "NAME_Alpha_Centauri_B_III"
  1986. class = pc_gas_giant
  1987. size = 35
  1988. orbit_angle = 330
  1989. orbit_distance = 25
  1990. }
  1991. }
  1992.  
  1993. planet = {
  1994. name = "NAME_Proxima_Centauri"
  1995. count = 1
  1996. class = pc_m_star
  1997. orbit_angle = 130
  1998. size = 15
  1999. has_ring = no
  2000.  
  2001. planet = {
  2002. name = "NAME_Proxima_Centauri_I"
  2003. class = pc_molten
  2004. size = 22
  2005. orbit_distance = 25
  2006. }
  2007.  
  2008. planet = {
  2009. name = "NAME_Proxima_Centauri_II"
  2010. class = pc_gas_giant
  2011. size = 28
  2012. orbit_distance = 25
  2013. }
  2014. }
  2015.  
  2016. change_orbit = -260
  2017.  
  2018. planet = {
  2019. count = 2
  2020. orbit_distance = 25
  2021.  
  2022. change_orbit = @base_moon_distance
  2023.  
  2024. moon = {
  2025. count = { min = 0 max = 1 }
  2026. orbit_distance = 5
  2027. }
  2028. }
  2029.  
  2030. planet = {
  2031. count = 1
  2032. orbit_distance = 30
  2033. class = "pc_continental"
  2034. orbit_angle = { min = 90 max = 270 }
  2035. size = { min = 12 max = 18 }
  2036.  
  2037. init_effect = {
  2038. create_colony = {
  2039. owner = event_target:lost_colony_parent
  2040. }
  2041. }
  2042. }
  2043.  
  2044. planet = {
  2045. count = 2
  2046. orbit_distance = 25
  2047.  
  2048. change_orbit = @base_moon_distance
  2049.  
  2050. moon = {
  2051. count = { min = 0 max = 1 }
  2052. orbit_distance = 5
  2053. }
  2054. }
  2055.  
  2056. init_effect = {
  2057. random_system = {
  2058. limit = { has_star_flag = lost_colony_sol }
  2059. save_event_target_as = lost_colony_sol
  2060. }
  2061. if = {
  2062. limit = {
  2063. NOT = { has_hyperlane_to = event_target:lost_colony_sol }
  2064. }
  2065. add_hyperlane = { from = this to = event_target:lost_colony_sol }
  2066. }
  2067. create_starbase = {
  2068. size = starbase_outpost
  2069. owner = event_target:lost_colony_parent
  2070. }
  2071. }
  2072.  
  2073. neighbor_system = {
  2074. hyperlane_jumps = { min = 1 max = @jumps }
  2075. initializer = "sol_neighbor_t2"
  2076. }
  2077. }
  2078.  
  2079. # Human Lost Colony Sol Neighbor Tier 1
  2080. lost_colony_sol_neighbor_t1 = {
  2081. name = "NAME_Barnard's_Star"
  2082. class = sc_m
  2083. flags = { lost_colony_barnards_star }
  2084.  
  2085. init_effect = {
  2086. every_neighbor_system = { set_star_flag = empire_cluster }
  2087. }
  2088.  
  2089. planet = {
  2090. count = 1
  2091. class = star
  2092. orbit_distance = 0
  2093. orbit_angle = 1
  2094. size = { min = 20 max = 30 }
  2095. has_ring = no
  2096. }
  2097.  
  2098. change_orbit = 45
  2099.  
  2100. planet = {
  2101. count = { min = 0 max = 2 }
  2102. orbit_distance = 20
  2103. change_orbit = @base_moon_distance
  2104.  
  2105. moon = {
  2106. count = { min = 0 max = 1 }
  2107. orbit_distance = 5
  2108. }
  2109. }
  2110.  
  2111. planet = {
  2112. count = { min = 2 max = 5 }
  2113. orbit_distance = 20
  2114. }
  2115.  
  2116. init_effect = {
  2117. random_system = {
  2118. limit = { has_star_flag = lost_colony_sol }
  2119. save_event_target_as = lost_colony_sol
  2120. }
  2121. if = {
  2122. limit = {
  2123. NOT = { has_hyperlane_to = event_target:lost_colony_sol }
  2124. }
  2125. add_hyperlane = { from = this to = event_target:lost_colony_sol }
  2126. }
  2127. create_starbase = {
  2128. size = starbase_outpost
  2129. owner = event_target:lost_colony_parent
  2130. }
  2131. }
  2132.  
  2133. neighbor_system = {
  2134. hyperlane_jumps = { min = 1 max = @jumps }
  2135. initializer = "lost_colony_sol_neighbor_t2_second_colony"
  2136. }
  2137. neighbor_system = {
  2138. hyperlane_jumps = { min = 1 max = @jumps }
  2139. initializer = "sol_neighbor_t2_no_guaranteed_colony"
  2140. }
  2141. }
  2142.  
  2143. # Human Lost Colony Sol Neighbor Tier 2 Second Colony
  2144. lost_colony_sol_neighbor_t2_second_colony = {
  2145. name = "NAME_Sirius"
  2146. class = sc_binary_9
  2147. flags = { neighbor_t2_second_colony }
  2148.  
  2149. init_effect = {
  2150. every_neighbor_system = { set_star_flag = empire_cluster }
  2151. }
  2152.  
  2153. planet = {
  2154. name = "NAME_Sirius_A"
  2155. count = 1
  2156. class = pc_a_star
  2157. orbit_distance = 30
  2158. orbit_angle = 1
  2159. size = 35
  2160. has_ring = no
  2161. }
  2162.  
  2163. planet = {
  2164. name = "NAME_Sirius_B"
  2165. count = 1
  2166. class = pc_f_star
  2167. orbit_distance = 0
  2168. orbit_angle = 120
  2169. size = 15
  2170. has_ring = no
  2171. }
  2172.  
  2173. change_orbit = 45
  2174.  
  2175. planet = {
  2176. count = 2
  2177. orbit_angle = { min = 90 max = 270 }
  2178. orbit_distance = 20
  2179. }
  2180.  
  2181. planet = {
  2182. count = 1
  2183. orbit_distance = 25
  2184. class = "pc_continental"
  2185. orbit_angle = { min = 90 max = 270 }
  2186. size = { min = 14 max = 24 }
  2187.  
  2188. init_effect = {
  2189. create_colony = {
  2190. owner = event_target:lost_colony_parent
  2191. }
  2192. }
  2193.  
  2194. change_orbit = @base_moon_distance
  2195.  
  2196. moon = {
  2197. count = { min = 0 max = 1 }
  2198. class = random_non_colonizable
  2199. orbit_angle = { min = 90 max = 270 }
  2200. orbit_distance = 5
  2201. }
  2202. }
  2203.  
  2204. planet = {
  2205. count = 2
  2206. orbit_angle = { min = 90 max = 270 }
  2207. orbit_distance = 20
  2208.  
  2209. change_orbit = @base_moon_distance
  2210.  
  2211. moon = {
  2212. count = { min = 0 max = 1 }
  2213. class = random_non_colonizable
  2214. orbit_angle = { min = 90 max = 270 }
  2215. orbit_distance = 5
  2216. }
  2217. }
  2218.  
  2219. planet = {
  2220. count = { min = 0 max = 2 }
  2221. orbit_angle = { min = 90 max = 270 }
  2222. orbit_distance = 20
  2223. }
  2224.  
  2225. init_effect = {
  2226. random_system = {
  2227. limit = { has_star_flag = lost_colony_barnards_star }
  2228. save_event_target_as = lost_colony_barnards_star
  2229. }
  2230. if = {
  2231. limit = {
  2232. NOT = { has_hyperlane_to = event_target:lost_colony_barnards_star }
  2233. }
  2234. add_hyperlane = { from = this to = event_target:lost_colony_barnards_star }
  2235. }
  2236. create_starbase = {
  2237. size = starbase_outpost
  2238. owner = event_target:lost_colony_parent
  2239. }
  2240. }
  2241. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement