Advertisement
Guest User

Untitled

a guest
Feb 7th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 197.44 KB | None | 0 0
  1. @base_moon_distance = 10
  2.  
  3. ### FALLEN EMPIRE HOME SYSTEMS
  4.  
  5. # Home System I
  6. fallen_1_1 = {
  7. usage = fallen_empire_init
  8. name = "Beacon of Infinity"
  9. class = "sc_g"
  10.  
  11. planet = {
  12. class = star
  13. orbit_distance = 0
  14. }
  15.  
  16. change_orbit = 45
  17.  
  18. planet = {
  19. class = "pc_ringworld_habitable"
  20. name = "Palatial District"
  21. orbit_angle = 30
  22. orbit_distance = 0
  23. tile_blockers = none
  24. modifiers = none
  25.  
  26. init_effect = {
  27.  
  28. create_cluster = {
  29. id = fe1_cluster
  30. radius = 80
  31. center = this.solar_system
  32. }
  33.  
  34. set_planet_flag = fallen_empire_world
  35. prevent_anomaly = yes
  36. set_owner = ROOT
  37. set_capital = yes
  38. random_tile = {
  39. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  40. set_building = "building_capital_3"
  41. add_resource = {
  42. resource = minerals
  43. amount = 1
  44. replace = yes
  45. }
  46. add_resource = {
  47. resource = food
  48. amount = 1
  49. }
  50. }
  51. random_tile = {
  52. limit = { has_building = no has_blocker = no }
  53. set_building = "building_agri_processing_complex"
  54. add_resource = {
  55. resource = food
  56. amount = 1
  57. replace = yes
  58. }
  59. }
  60. random_tile = {
  61. limit = { has_building = no has_blocker = no }
  62. set_building = "building_agri_processing_complex"
  63. add_resource = {
  64. resource = food
  65. amount = 1
  66. replace = yes
  67. }
  68. }
  69. random_tile = {
  70. limit = { has_building = no has_blocker = no }
  71. set_building = "building_dark_matter_power_plant"
  72. add_resource = {
  73. resource = food
  74. amount = 1
  75. replace = yes
  76. }
  77. }
  78. random_tile = {
  79. limit = { has_building = no has_blocker = no }
  80. set_building = "building_dark_matter_power_plant"
  81. add_resource = {
  82. resource = energy
  83. amount = 1
  84. replace = yes
  85. }
  86. }
  87. random_tile = {
  88. limit = { has_building = no has_blocker = no }
  89. set_building = "building_dark_matter_power_plant"
  90. add_resource = {
  91. resource = energy
  92. amount = 1
  93. replace = yes
  94. }
  95. }
  96. random_tile = {
  97. limit = { has_building = no has_blocker = no }
  98. set_building = "building_dark_matter_power_plant"
  99. add_resource = {
  100. resource = energy
  101. amount = 1
  102. replace = yes
  103. }
  104. }
  105. random_tile = {
  106. limit = { has_building = no has_blocker = no }
  107. set_building = "building_dark_matter_power_plant"
  108. add_resource = {
  109. resource = energy
  110. amount = 1
  111. replace = yes
  112. }
  113. }
  114. random_tile = {
  115. limit = { has_building = no has_blocker = no }
  116. set_building = "building_dark_matter_power_plant"
  117. add_resource = {
  118. resource = energy
  119. amount = 1
  120. replace = yes
  121. }
  122. }
  123. random_tile = {
  124. limit = { has_building = no has_blocker = no }
  125. set_building = "building_dark_matter_power_plant"
  126. add_resource = {
  127. resource = energy
  128. amount = 1
  129. replace = yes
  130. }
  131. }
  132. random_tile = {
  133. limit = { has_building = no has_blocker = no }
  134. set_building = "building_dark_matter_power_plant"
  135. add_resource = {
  136. resource = energy
  137. amount = 1
  138. replace = yes
  139. }
  140. }
  141. random_tile = {
  142. limit = { has_building = no has_blocker = no }
  143. set_building = "building_dark_matter_power_plant"
  144. add_resource = {
  145. resource = energy
  146. amount = 1
  147. replace = yes
  148. }
  149. }
  150. random_tile = {
  151. limit = { has_building = no has_blocker = no }
  152. set_building = "building_dark_matter_power_plant"
  153. add_resource = {
  154. resource = energy
  155. amount = 1
  156. replace = yes
  157. }
  158. }
  159. random_tile = {
  160. limit = { has_building = no has_blocker = no }
  161. set_building = "building_dark_matter_power_plant"
  162. add_resource = {
  163. resource = energy
  164. amount = 1
  165. replace = yes
  166. }
  167. }
  168. random_tile = {
  169. limit = { has_building = no has_blocker = no }
  170. set_building = "building_ancient_factory"
  171. add_resource = {
  172. resource = minerals
  173. amount = 1
  174. replace = yes
  175. }
  176. }
  177. random_tile = {
  178. limit = { has_building = no has_blocker = no }
  179. set_building = "building_ancient_factory"
  180. add_resource = {
  181. resource = minerals
  182. amount = 1
  183. replace = yes
  184. }
  185. }
  186. random_tile = {
  187. limit = { has_building = no has_blocker = no }
  188. set_building = "building_ancient_factory"
  189. add_resource = {
  190. resource = minerals
  191. amount = 1
  192. replace = yes
  193. }
  194. }
  195. random_tile = {
  196. limit = { has_building = no has_blocker = no }
  197. set_building = "building_ancient_factory"
  198. add_resource = {
  199. resource = minerals
  200. amount = 1
  201. replace = yes
  202. }
  203. }
  204. random_tile = {
  205. limit = { has_building = no has_blocker = no }
  206. set_building = "building_ancient_factory"
  207. add_resource = {
  208. resource = minerals
  209. amount = 1
  210. replace = yes
  211. }
  212. }
  213. random_tile = {
  214. limit = { has_building = no has_blocker = no }
  215. set_building = "building_ancient_factory"
  216. add_resource = {
  217. resource = minerals
  218. amount = 1
  219. replace = yes
  220. }
  221. }
  222. create_pop = {
  223. species = owner_main_species
  224. ethos = owner
  225. }
  226. create_pop = {
  227. species = owner_main_species
  228. ethos = owner
  229. }
  230. create_pop = {
  231. species = owner_main_species
  232. ethos = owner
  233. }
  234. create_pop = {
  235. species = owner_main_species
  236. ethos = owner
  237. }
  238. create_pop = {
  239. species = owner_main_species
  240. ethos = owner
  241. }
  242. create_pop = {
  243. species = owner_main_species
  244. ethos = owner
  245. }
  246. create_pop = {
  247. species = owner_main_species
  248. ethos = owner
  249. }
  250. create_pop = {
  251. species = owner_main_species
  252. ethos = owner
  253. }
  254. create_pop = {
  255. species = owner_main_species
  256. ethos = owner
  257. }
  258. create_pop = {
  259. species = owner_main_species
  260. ethos = owner
  261. }
  262. create_pop = {
  263. species = owner_main_species
  264. ethos = owner
  265. }
  266. create_pop = {
  267. species = owner_main_species
  268. ethos = owner
  269. }
  270. create_pop = {
  271. species = owner_main_species
  272. ethos = owner
  273. }
  274. create_pop = {
  275. species = owner_main_species
  276. ethos = owner
  277. }
  278. create_pop = {
  279. species = owner_main_species
  280. ethos = owner
  281. }
  282. create_pop = {
  283. species = owner_main_species
  284. ethos = owner
  285. }
  286. create_pop = {
  287. species = owner_main_species
  288. ethos = owner
  289. }
  290. create_pop = {
  291. species = owner_main_species
  292. ethos = owner
  293. }
  294. create_pop = {
  295. species = owner_main_species
  296. ethos = owner
  297. }
  298. create_pop = {
  299. species = owner_main_species
  300. ethos = owner
  301. }
  302. every_tile = {
  303. limit = { has_building = no has_blocker = no has_pop = no }
  304. set_blocker = tb_ancient_ruins
  305. }
  306. create_army = {
  307. name = random
  308. owner = ROOT
  309. species = ROOT
  310. type = "gene_warrior_army"
  311. }
  312. create_army = {
  313. name = random
  314. owner = ROOT
  315. species = ROOT
  316. type = "gene_warrior_army"
  317. }
  318. create_army = {
  319. name = random
  320. owner = ROOT
  321. species = ROOT
  322. type = "gene_warrior_army"
  323. }
  324. create_army = {
  325. name = random
  326. owner = ROOT
  327. species = ROOT
  328. type = "gene_warrior_army"
  329. }
  330. create_army = {
  331. name = random
  332. owner = ROOT
  333. species = ROOT
  334. type = "gene_warrior_army"
  335. }
  336. create_army = {
  337. name = random
  338. owner = ROOT
  339. species = ROOT
  340. type = "gene_warrior_army"
  341. }
  342. create_army = {
  343. name = random
  344. owner = ROOT
  345. species = ROOT
  346. type = "defense_army"
  347. }
  348. create_army = {
  349. name = random
  350. owner = ROOT
  351. species = ROOT
  352. type = "defense_army"
  353. }
  354. create_army = {
  355. name = random
  356. owner = ROOT
  357. species = ROOT
  358. type = "defense_army"
  359. }
  360. create_army = {
  361. name = random
  362. owner = ROOT
  363. species = ROOT
  364. type = "defense_army"
  365. }
  366. create_army = {
  367. name = random
  368. owner = ROOT
  369. species = ROOT
  370. type = "defense_army"
  371. }
  372. create_army = {
  373. name = random
  374. owner = ROOT
  375. species = ROOT
  376. type = "defense_army"
  377. }
  378. create_spaceport = {
  379. owner = ROOT
  380. initial_module = "fallen_empire_weapon"
  381. }
  382. spaceport = {
  383. set_spaceport_level = 6
  384. set_spaceport_module = {
  385. slot = 1
  386. module = "crew_quarters"
  387. }
  388. set_spaceport_module = {
  389. slot = 2
  390. module = "fleet_academy"
  391. }
  392. set_spaceport_module = {
  393. slot = 3
  394. module = "synchronized_defenses"
  395. }
  396. set_spaceport_module = {
  397. slot = 4
  398. module = "engineering_bay"
  399. }
  400. }
  401. create_fleet = {
  402. effect = {
  403. set_owner = ROOT
  404. create_ship = {
  405. name = random
  406. design = "Theta"
  407. graphical_culture = root
  408. }
  409. set_location = {
  410. target = PREV
  411. distance = 80
  412. }
  413. }
  414. }
  415. create_fleet = {
  416. effect = {
  417. set_owner = ROOT
  418. create_ship = {
  419. name = random
  420. design = "Theta"
  421. graphical_culture = root
  422. }
  423. set_location = {
  424. target = PREV
  425. distance = 90
  426. }
  427. }
  428. }
  429. create_fleet = {
  430. effect = {
  431. set_owner = ROOT
  432. create_ship = {
  433. name = random
  434. design = "Theta"
  435. graphical_culture = root
  436. }
  437. set_location = {
  438. target = PREV
  439. distance = 100
  440. }
  441. }
  442. }
  443. random = {
  444. chance = 15
  445. create_fleet = {
  446. effect = {
  447. set_owner = ROOT
  448. create_ship = {
  449. name = random
  450. design = "Alpha"
  451. graphical_culture = root
  452. }
  453. set_location = {
  454. target = PREV
  455. distance = 20
  456. angle = random
  457. }
  458. }
  459. }
  460. }
  461. create_fleet = {
  462. effect = {
  463. set_owner = ROOT
  464. create_ship = {
  465. name = random
  466. design = "Beta"
  467. graphical_culture = root
  468. }
  469. create_ship = {
  470. name = random
  471. design = "Beta"
  472. graphical_culture = root
  473. }
  474. create_ship = {
  475. name = random
  476. design = "Beta"
  477. graphical_culture = root
  478. }
  479. create_ship = {
  480. name = random
  481. design = "Beta"
  482. graphical_culture = root
  483. }
  484. create_ship = {
  485. name = random
  486. design = "Beta"
  487. graphical_culture = root
  488. }
  489. create_ship = {
  490. name = random
  491. design = "Beta"
  492. graphical_culture = root
  493. }
  494. create_ship = {
  495. name = random
  496. design = "Beta"
  497. graphical_culture = root
  498. }
  499. create_ship = {
  500. name = random
  501. design = "Beta"
  502. graphical_culture = root
  503. }
  504. create_ship = {
  505. name = random
  506. design = "Beta"
  507. graphical_culture = root
  508. }
  509. create_ship = {
  510. name = random
  511. design = "Beta"
  512. graphical_culture = root
  513. }
  514. create_ship = {
  515. name = random
  516. design = "Gamma"
  517. graphical_culture = root
  518. }
  519. create_ship = {
  520. name = random
  521. design = "Gamma"
  522. graphical_culture = root
  523. }
  524. create_ship = {
  525. name = random
  526. design = "Gamma"
  527. graphical_culture = root
  528. }
  529. create_ship = {
  530. name = random
  531. design = "Gamma"
  532. graphical_culture = root
  533. }
  534. create_ship = {
  535. name = random
  536. design = "Gamma"
  537. graphical_culture = root
  538. }
  539. create_ship = {
  540. name = random
  541. design = "Gamma"
  542. graphical_culture = root
  543. }
  544. create_ship = {
  545. name = random
  546. design = "Gamma"
  547. graphical_culture = root
  548. }
  549. create_ship = {
  550. name = random
  551. design = "Gamma"
  552. graphical_culture = root
  553. }
  554. create_ship = {
  555. name = random
  556. design = "Gamma"
  557. graphical_culture = root
  558. }
  559. create_ship = {
  560. name = random
  561. design = "Gamma"
  562. graphical_culture = root
  563. }
  564. create_ship = {
  565. name = random
  566. design = "Gamma"
  567. graphical_culture = root
  568. }
  569. create_ship = {
  570. name = random
  571. design = "Gamma"
  572. graphical_culture = root
  573. }
  574. create_ship = {
  575. name = random
  576. design = "Gamma"
  577. graphical_culture = root
  578. }
  579. create_ship = {
  580. name = random
  581. design = "Gamma"
  582. graphical_culture = root
  583. }
  584. create_ship = {
  585. name = random
  586. design = "Gamma"
  587. graphical_culture = root
  588. }
  589. create_ship = {
  590. name = random
  591. design = "Gamma"
  592. graphical_culture = root
  593. }
  594. create_ship = {
  595. name = random
  596. design = "Gamma"
  597. graphical_culture = root
  598. }
  599. create_ship = {
  600. name = random
  601. design = "Gamma"
  602. graphical_culture = root
  603. }
  604. create_ship = {
  605. name = random
  606. design = "Gamma"
  607. graphical_culture = root
  608. }
  609. create_ship = {
  610. name = random
  611. design = "Gamma"
  612. graphical_culture = root
  613. }
  614. set_location = {
  615. target = PREV
  616. distance = 90
  617. angle = random
  618. }
  619. }
  620. }
  621. random = {
  622. chance = 33
  623. create_fleet = {
  624. effect = {
  625. set_owner = ROOT
  626. create_ship = {
  627. name = random
  628. design = "Beta"
  629. graphical_culture = root
  630. }
  631. create_ship = {
  632. name = random
  633. design = "Beta"
  634. graphical_culture = root
  635. }
  636. create_ship = {
  637. name = random
  638. design = "Beta"
  639. graphical_culture = root
  640. }
  641. create_ship = {
  642. name = random
  643. design = "Beta"
  644. graphical_culture = root
  645. }
  646. create_ship = {
  647. name = random
  648. design = "Beta"
  649. graphical_culture = root
  650. }
  651. create_ship = {
  652. name = random
  653. design = "Beta"
  654. graphical_culture = root
  655. }
  656. create_ship = {
  657. name = random
  658. design = "Beta"
  659. graphical_culture = root
  660. }
  661. create_ship = {
  662. name = random
  663. design = "Beta"
  664. graphical_culture = root
  665. }
  666. create_ship = {
  667. name = random
  668. design = "Beta"
  669. graphical_culture = root
  670. }
  671. create_ship = {
  672. name = random
  673. design = "Beta"
  674. graphical_culture = root
  675. }
  676. create_ship = {
  677. name = random
  678. design = "Gamma"
  679. graphical_culture = root
  680. }
  681. create_ship = {
  682. name = random
  683. design = "Gamma"
  684. graphical_culture = root
  685. }
  686. create_ship = {
  687. name = random
  688. design = "Gamma"
  689. graphical_culture = root
  690. }
  691. create_ship = {
  692. name = random
  693. design = "Gamma"
  694. graphical_culture = root
  695. }
  696. create_ship = {
  697. name = random
  698. design = "Gamma"
  699. graphical_culture = root
  700. }
  701. create_ship = {
  702. name = random
  703. design = "Gamma"
  704. graphical_culture = root
  705. }
  706. create_ship = {
  707. name = random
  708. design = "Gamma"
  709. graphical_culture = root
  710. }
  711. create_ship = {
  712. name = random
  713. design = "Gamma"
  714. graphical_culture = root
  715. }
  716. create_ship = {
  717. name = random
  718. design = "Gamma"
  719. graphical_culture = root
  720. }
  721. create_ship = {
  722. name = random
  723. design = "Gamma"
  724. graphical_culture = root
  725. }
  726. create_ship = {
  727. name = random
  728. design = "Gamma"
  729. graphical_culture = root
  730. }
  731. create_ship = {
  732. name = random
  733. design = "Gamma"
  734. graphical_culture = root
  735. }
  736. create_ship = {
  737. name = random
  738. design = "Gamma"
  739. graphical_culture = root
  740. }
  741. create_ship = {
  742. name = random
  743. design = "Gamma"
  744. graphical_culture = root
  745. }
  746. create_ship = {
  747. name = random
  748. design = "Gamma"
  749. graphical_culture = root
  750. }
  751. create_ship = {
  752. name = random
  753. design = "Gamma"
  754. graphical_culture = root
  755. }
  756. create_ship = {
  757. name = random
  758. design = "Gamma"
  759. graphical_culture = root
  760. }
  761. create_ship = {
  762. name = random
  763. design = "Gamma"
  764. graphical_culture = root
  765. }
  766. create_ship = {
  767. name = random
  768. design = "Gamma"
  769. graphical_culture = root
  770. }
  771. create_ship = {
  772. name = random
  773. design = "Gamma"
  774. graphical_culture = root
  775. }
  776. set_location = {
  777. target = PREV
  778. distance = 60
  779. angle = random
  780. }
  781. }
  782. }
  783. }
  784. create_fleet = {
  785. effect = {
  786. set_owner = ROOT
  787. create_ship = {
  788. name = random
  789. design = "Omega"
  790. graphical_culture = root
  791. }
  792. set_location = {
  793. target = PREV
  794. distance = 20
  795. angle = 90
  796. }
  797. }
  798. }
  799. create_fleet = {
  800. effect = {
  801. set_owner = ROOT
  802. create_ship = {
  803. name = random
  804. design = "Omega"
  805. graphical_culture = root
  806. }
  807. set_location = {
  808. target = PREV
  809. distance = 20
  810. angle = 180
  811. }
  812. }
  813. }
  814. create_fleet = {
  815. effect = {
  816. set_owner = ROOT
  817. create_ship = {
  818. name = random
  819. design = "Omega"
  820. graphical_culture = root
  821. }
  822. set_location = {
  823. target = PREV
  824. distance = 20
  825. angle = 270
  826. }
  827. }
  828. }
  829. create_fleet = {
  830. effect = {
  831. set_owner = ROOT
  832. create_ship = {
  833. name = random
  834. design = "Omega"
  835. graphical_culture = root
  836. }
  837. set_location = {
  838. target = PREV
  839. distance = 20
  840. angle = 0
  841. }
  842. }
  843. }
  844. }
  845. }
  846. planet = {
  847. class = "pc_ringworld_tech"
  848. name = "Ring Section B"
  849. orbit_angle = 30
  850. orbit_distance = 0
  851. }
  852. planet = {
  853. class = "pc_ringworld_seam"
  854. name = "Ring Section C"
  855. orbit_angle = 30
  856. orbit_distance = 0
  857. }
  858. planet = {
  859. class = "pc_ringworld_habitable"
  860. name = "Trade District"
  861. orbit_angle = 30
  862. orbit_distance = 0
  863. tile_blockers = none
  864. modifiers = none
  865.  
  866. init_effect = {
  867. set_planet_flag = fallen_empire_world
  868. prevent_anomaly = yes
  869. set_owner = ROOT
  870. random_tile = {
  871. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  872. set_building = "building_capital_2"
  873. add_resource = {
  874. resource = minerals
  875. amount = 1
  876. replace = yes
  877. }
  878. add_resource = {
  879. resource = food
  880. amount = 1
  881. }
  882. }
  883. random_tile = {
  884. limit = { has_building = no has_blocker = no }
  885. set_building = "building_agri_processing_complex"
  886. add_resource = {
  887. resource = food
  888. amount = 1
  889. replace = yes
  890. }
  891. }
  892. random_tile = {
  893. limit = { has_building = no has_blocker = no }
  894. set_building = "building_dark_matter_power_plant"
  895. add_resource = {
  896. resource = energy
  897. amount = 1
  898. replace = yes
  899. }
  900. }
  901. random_tile = {
  902. limit = { has_building = no has_blocker = no }
  903. set_building = "building_dark_matter_power_plant"
  904. add_resource = {
  905. resource = energy
  906. amount = 1
  907. replace = yes
  908. }
  909. }
  910. random_tile = {
  911. limit = { has_building = no has_blocker = no }
  912. set_building = "building_dark_matter_power_plant"
  913. add_resource = {
  914. resource = energy
  915. amount = 1
  916. replace = yes
  917. }
  918. }
  919. random_tile = {
  920. limit = { has_building = no has_blocker = no }
  921. set_building = "building_dark_matter_power_plant"
  922. add_resource = {
  923. resource = energy
  924. amount = 1
  925. replace = yes
  926. }
  927. }
  928. random_tile = {
  929. limit = { has_building = no has_blocker = no }
  930. set_building = "building_dark_matter_power_plant"
  931. add_resource = {
  932. resource = energy
  933. amount = 1
  934. replace = yes
  935. }
  936. }
  937. random_tile = {
  938. limit = { has_building = no has_blocker = no }
  939. set_building = "building_dark_matter_power_plant"
  940. add_resource = {
  941. resource = energy
  942. amount = 1
  943. replace = yes
  944. }
  945. }
  946. random_tile = {
  947. limit = { has_building = no has_blocker = no }
  948. set_building = "building_dark_matter_power_plant"
  949. add_resource = {
  950. resource = food
  951. amount = 1
  952. replace = yes
  953. }
  954. }
  955. random_tile = {
  956. limit = { has_building = no has_blocker = no }
  957. set_building = "building_dark_matter_power_plant"
  958. add_resource = {
  959. resource = energy
  960. amount = 1
  961. replace = yes
  962. }
  963. }
  964. create_pop = {
  965. species = owner_main_species
  966. ethos = owner
  967. }
  968. create_pop = {
  969. species = owner_main_species
  970. ethos = owner
  971. }
  972. create_pop = {
  973. species = owner_main_species
  974. ethos = owner
  975. }
  976. create_pop = {
  977. species = owner_main_species
  978. ethos = owner
  979. }
  980. create_pop = {
  981. species = owner_main_species
  982. ethos = owner
  983. }
  984. create_pop = {
  985. species = owner_main_species
  986. ethos = owner
  987. }
  988. create_pop = {
  989. species = owner_main_species
  990. ethos = owner
  991. }
  992. create_pop = {
  993. species = owner_main_species
  994. ethos = owner
  995. }
  996. create_pop = {
  997. species = owner_main_species
  998. ethos = owner
  999. }
  1000. create_pop = {
  1001. species = owner_main_species
  1002. ethos = owner
  1003. }
  1004. create_spaceport = {
  1005. owner = ROOT
  1006. initial_module = "fallen_empire_weapon"
  1007. }
  1008. spaceport = {
  1009. set_spaceport_level = 6
  1010. set_spaceport_module = {
  1011. slot = 1
  1012. module = "crew_quarters"
  1013. }
  1014. set_spaceport_module = {
  1015. slot = 2
  1016. module = "fleet_academy"
  1017. }
  1018. set_spaceport_module = {
  1019. slot = 3
  1020. module = "synchronized_defenses"
  1021. }
  1022. set_spaceport_module = {
  1023. slot = 4
  1024. module = "engineering_bay"
  1025. }
  1026. }
  1027. every_tile = {
  1028. limit = { has_building = no has_blocker = no has_pop = no }
  1029. set_blocker = tb_ancient_ruins
  1030. }
  1031. create_army = {
  1032. name = random
  1033. owner = ROOT
  1034. species = ROOT
  1035. type = "defense_army"
  1036. }
  1037. create_army = {
  1038. name = random
  1039. owner = ROOT
  1040. species = ROOT
  1041. type = "defense_army"
  1042. }
  1043. create_army = {
  1044. name = random
  1045. owner = ROOT
  1046. species = ROOT
  1047. type = "defense_army"
  1048. }
  1049. create_army = {
  1050. name = random
  1051. owner = ROOT
  1052. species = ROOT
  1053. type = "defense_army"
  1054. }
  1055. create_army = {
  1056. name = random
  1057. owner = ROOT
  1058. species = ROOT
  1059. type = "defense_army"
  1060. }
  1061. create_army = {
  1062. name = random
  1063. owner = ROOT
  1064. species = ROOT
  1065. type = "defense_army"
  1066. }
  1067. }
  1068. }
  1069. planet = {
  1070. class = "pc_ringworld_tech"
  1071. name = "Ring Section E"
  1072. orbit_angle = 30
  1073. orbit_distance = 0
  1074. }
  1075. planet = {
  1076. class = "pc_ringworld_seam"
  1077. name = "Ring Section F"
  1078. orbit_angle = 30
  1079. orbit_distance = 0
  1080. }
  1081. planet = {
  1082. class = "pc_ringworld_habitable"
  1083. name = "Industrial District"
  1084. orbit_angle = 30
  1085. orbit_distance = 0
  1086. tile_blockers = none
  1087. modifiers = none
  1088.  
  1089. init_effect = {
  1090. set_planet_flag = fallen_empire_world
  1091. prevent_anomaly = yes
  1092. set_owner = ROOT
  1093. random_tile = {
  1094. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  1095. set_building = "building_capital_2"
  1096. add_resource = {
  1097. resource = minerals
  1098. amount = 1
  1099. replace = yes
  1100. }
  1101. add_resource = {
  1102. resource = food
  1103. amount = 1
  1104. replace = yes
  1105. }
  1106. }
  1107. random_tile = {
  1108. limit = { has_building = no has_blocker = no }
  1109. set_building = "building_agri_processing_complex"
  1110. add_resource = {
  1111. resource = food
  1112. amount = 1
  1113. replace = yes
  1114. }
  1115. }
  1116. random_tile = {
  1117. limit = { has_building = no has_blocker = no }
  1118. set_building = "building_ancient_factory"
  1119. add_resource = {
  1120. resource = minerals
  1121. amount = 1
  1122. replace = yes
  1123. }
  1124. }
  1125. random_tile = {
  1126. limit = { has_building = no has_blocker = no }
  1127. set_building = "building_ancient_factory"
  1128. add_resource = {
  1129. resource = minerals
  1130. amount = 1
  1131. replace = yes
  1132. }
  1133. }
  1134. random_tile = {
  1135. limit = { has_building = no has_blocker = no }
  1136. set_building = "building_ancient_factory"
  1137. add_resource = {
  1138. resource = minerals
  1139. amount = 1
  1140. replace = yes
  1141. }
  1142. }
  1143. random_tile = {
  1144. limit = { has_building = no has_blocker = no }
  1145. set_building = "building_ancient_factory"
  1146. add_resource = {
  1147. resource = minerals
  1148. amount = 1
  1149. replace = yes
  1150. }
  1151. }
  1152. random_tile = {
  1153. limit = { has_building = no has_blocker = no }
  1154. set_building = "building_ancient_factory"
  1155. add_resource = {
  1156. resource = minerals
  1157. amount = 1
  1158. replace = yes
  1159. }
  1160. }
  1161. random_tile = {
  1162. limit = { has_building = no has_blocker = no }
  1163. set_building = "building_ancient_factory"
  1164. add_resource = {
  1165. resource = minerals
  1166. amount = 1
  1167. replace = yes
  1168. }
  1169. }
  1170. random_tile = {
  1171. limit = { has_building = no has_blocker = no }
  1172. set_building = "building_ancient_factory"
  1173. add_resource = {
  1174. resource = minerals
  1175. amount = 1
  1176. replace = yes
  1177. }
  1178. }
  1179. random_tile = {
  1180. limit = { has_building = no has_blocker = no }
  1181. set_building = "building_ancient_factory"
  1182. add_resource = {
  1183. resource = minerals
  1184. amount = 1
  1185. replace = yes
  1186. }
  1187. }
  1188. create_pop = {
  1189. species = owner_main_species
  1190. ethos = owner
  1191. }
  1192. create_pop = {
  1193. species = owner_main_species
  1194. ethos = owner
  1195. }
  1196. create_pop = {
  1197. species = owner_main_species
  1198. ethos = owner
  1199. }
  1200. create_pop = {
  1201. species = owner_main_species
  1202. ethos = owner
  1203. }
  1204. create_pop = {
  1205. species = owner_main_species
  1206. ethos = owner
  1207. }
  1208. create_pop = {
  1209. species = owner_main_species
  1210. ethos = owner
  1211. }
  1212. create_pop = {
  1213. species = owner_main_species
  1214. ethos = owner
  1215. }
  1216. create_pop = {
  1217. species = owner_main_species
  1218. ethos = owner
  1219. }
  1220. create_pop = {
  1221. species = owner_main_species
  1222. ethos = owner
  1223. }
  1224. create_pop = {
  1225. species = owner_main_species
  1226. ethos = owner
  1227. }
  1228. every_tile = {
  1229. limit = { has_building = no has_blocker = no has_pop = no }
  1230. set_blocker = tb_ancient_ruins
  1231. }
  1232. create_army = {
  1233. name = random
  1234. owner = ROOT
  1235. species = ROOT
  1236. type = "defense_army"
  1237. }
  1238. create_army = {
  1239. name = random
  1240. owner = ROOT
  1241. species = ROOT
  1242. type = "defense_army"
  1243. }
  1244. create_army = {
  1245. name = random
  1246. owner = ROOT
  1247. species = ROOT
  1248. type = "defense_army"
  1249. }
  1250. create_army = {
  1251. name = random
  1252. owner = ROOT
  1253. species = ROOT
  1254. type = "defense_army"
  1255. }
  1256. create_army = {
  1257. name = random
  1258. owner = ROOT
  1259. species = ROOT
  1260. type = "defense_army"
  1261. }
  1262. create_army = {
  1263. name = random
  1264. owner = ROOT
  1265. species = ROOT
  1266. type = "defense_army"
  1267. }
  1268. create_spaceport = {
  1269. owner = ROOT
  1270. initial_module = "fallen_empire_weapon"
  1271. }
  1272. spaceport = {
  1273. set_spaceport_level = 6
  1274. set_spaceport_module = {
  1275. slot = 1
  1276. module = "crew_quarters"
  1277. }
  1278. set_spaceport_module = {
  1279. slot = 2
  1280. module = "fleet_academy"
  1281. }
  1282. set_spaceport_module = {
  1283. slot = 3
  1284. module = "synchronized_defenses"
  1285. }
  1286. set_spaceport_module = {
  1287. slot = 4
  1288. module = "engineering_bay"
  1289. }
  1290. }
  1291. }
  1292. }
  1293. planet = {
  1294. class = "pc_ringworld_tech"
  1295. name = "Ring Section H"
  1296. orbit_angle = 30
  1297. orbit_distance = 0
  1298. }
  1299. planet = {
  1300. class = "pc_ringworld_seam"
  1301. name = "Ring Section I"
  1302. orbit_angle = 30
  1303. orbit_distance = 0
  1304. }
  1305. planet = {
  1306. class = "pc_ringworld_habitable"
  1307. name = "Agrarian District"
  1308. orbit_angle = 30
  1309. orbit_distance = 0
  1310. tile_blockers = none
  1311. modifiers = none
  1312.  
  1313. init_effect = {
  1314. set_planet_flag = fallen_empire_world
  1315. prevent_anomaly = yes
  1316. set_owner = ROOT
  1317. random_tile = {
  1318. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  1319. set_building = "building_capital_2"
  1320. add_resource = {
  1321. resource = minerals
  1322. amount = 1
  1323. replace = yes
  1324. }
  1325. add_resource = {
  1326. resource = food
  1327. amount = 1
  1328. }
  1329. }
  1330. random_tile = {
  1331. limit = { has_building = no has_blocker = no }
  1332. set_building = "building_agri_processing_complex"
  1333. add_resource = {
  1334. resource = food
  1335. amount = 1
  1336. replace = yes
  1337. }
  1338. }
  1339. random_tile = {
  1340. limit = { has_building = no has_blocker = no }
  1341. set_building = "building_agri_processing_complex"
  1342. add_resource = {
  1343. resource = food
  1344. amount = 1
  1345. replace = yes
  1346. }
  1347. }
  1348. random_tile = {
  1349. limit = { has_building = no has_blocker = no }
  1350. set_building = "building_agri_processing_complex"
  1351. add_resource = {
  1352. resource = food
  1353. amount = 1
  1354. replace = yes
  1355. }
  1356. }
  1357. random_tile = {
  1358. limit = { has_building = no has_blocker = no }
  1359. set_building = "building_dark_matter_power_plant"
  1360. add_resource = {
  1361. resource = energy
  1362. amount = 1
  1363. replace = yes
  1364. }
  1365. }
  1366. random_tile = {
  1367. limit = { has_building = no has_blocker = no }
  1368. set_building = "building_dark_matter_power_plant"
  1369. add_resource = {
  1370. resource = energy
  1371. amount = 1
  1372. replace = yes
  1373. }
  1374. }
  1375. create_pop = {
  1376. species = owner_main_species
  1377. ethos = owner
  1378. }
  1379. create_pop = {
  1380. species = owner_main_species
  1381. ethos = owner
  1382. }
  1383. create_pop = {
  1384. species = owner_main_species
  1385. ethos = owner
  1386. }
  1387. create_pop = {
  1388. species = owner_main_species
  1389. ethos = owner
  1390. }
  1391. create_pop = {
  1392. species = owner_main_species
  1393. ethos = owner
  1394. }
  1395. create_pop = {
  1396. species = owner_main_species
  1397. ethos = owner
  1398. }
  1399. every_tile = {
  1400. limit = { has_building = no has_blocker = no has_pop = no }
  1401. set_blocker = tb_ancient_ruins
  1402. }
  1403. create_army = {
  1404. name = random
  1405. owner = ROOT
  1406. species = ROOT
  1407. type = "defense_army"
  1408. }
  1409. create_army = {
  1410. name = random
  1411. owner = ROOT
  1412. species = ROOT
  1413. type = "defense_army"
  1414. }
  1415. create_army = {
  1416. name = random
  1417. owner = ROOT
  1418. species = ROOT
  1419. type = "defense_army"
  1420. }
  1421. create_army = {
  1422. name = random
  1423. owner = ROOT
  1424. species = ROOT
  1425. type = "defense_army"
  1426. }
  1427. create_army = {
  1428. name = random
  1429. owner = ROOT
  1430. species = ROOT
  1431. type = "defense_army"
  1432. }
  1433. create_army = {
  1434. name = random
  1435. owner = ROOT
  1436. species = ROOT
  1437. type = "defense_army"
  1438. }
  1439. create_spaceport = {
  1440. owner = ROOT
  1441. initial_module = "fallen_empire_weapon"
  1442. }
  1443. spaceport = {
  1444. set_spaceport_level = 6
  1445. set_spaceport_module = {
  1446. slot = 1
  1447. module = "crew_quarters"
  1448. }
  1449. set_spaceport_module = {
  1450. slot = 2
  1451. module = "fleet_academy"
  1452. }
  1453. set_spaceport_module = {
  1454. slot = 3
  1455. module = "synchronized_defenses"
  1456. }
  1457. set_spaceport_module = {
  1458. slot = 4
  1459. module = "engineering_bay"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. planet = {
  1465. class = "pc_ringworld_tech"
  1466. name = "Ring Section K"
  1467. orbit_angle = 30
  1468. orbit_distance = 0
  1469. }
  1470. planet = {
  1471. class = "pc_ringworld_seam"
  1472. name = "Ring Section L"
  1473. orbit_angle = 30
  1474. orbit_distance = 0
  1475. }
  1476.  
  1477. neighbor_system = {
  1478. distance = { min = 0 max = 50 }
  1479. initializer = "fallen_1_2"
  1480. }
  1481. neighbor_system = {
  1482. distance = { min = 0 max = 50 }
  1483. initializer = "fallen_1_3"
  1484. }
  1485. }
  1486.  
  1487. fallen_1_2 = {
  1488. class = "sc_g"
  1489. name = "Beacon of Perpetuity"
  1490.  
  1491. planet = {
  1492. class = star
  1493. orbit_distance = 0
  1494. }
  1495.  
  1496. change_orbit = 45
  1497.  
  1498. planet = {
  1499. class = "pc_ringworld_habitable_damaged"
  1500. name = "Ring Segment A"
  1501. orbit_angle = 30
  1502. orbit_distance = 0
  1503.  
  1504. init_effect = {
  1505. create_ambient_object = {
  1506. type = "large_debris_object"
  1507. location = THIS
  1508. }
  1509. }
  1510. }
  1511. planet = {
  1512. class = "pc_ringworld_tech_damaged"
  1513. name = "Ring Segment B"
  1514. orbit_angle = 30
  1515. orbit_distance = 0
  1516. }
  1517. planet = {
  1518. class = "pc_ringworld_seam_damaged"
  1519. name = "Ring Segment C"
  1520. orbit_angle = 30
  1521. orbit_distance = 0
  1522.  
  1523. init_effect = {
  1524. create_ambient_object = {
  1525. type = "medium_debris_01_object"
  1526. location = THIS
  1527. }
  1528. }
  1529. }
  1530. planet = {
  1531. class = "pc_ringworld_habitable_damaged"
  1532. name = "Ring Segment D"
  1533. orbit_angle = 30
  1534. orbit_distance = 0
  1535. }
  1536. planet = {
  1537. class = "pc_ringworld_tech_damaged"
  1538. name = "Ring Segment E"
  1539. orbit_angle = 30
  1540. orbit_distance = 0
  1541.  
  1542. init_effect = {
  1543. create_ambient_object = {
  1544. type = "small_debris_object"
  1545. location = THIS
  1546. }
  1547. }
  1548. }
  1549. planet = {
  1550. class = "pc_ringworld_seam_damaged"
  1551. name = "Ring Segment F"
  1552. orbit_angle = 30
  1553. orbit_distance = 0
  1554. }
  1555. planet = {
  1556. class = "pc_ringworld_habitable_damaged"
  1557. name = "Ring Section G"
  1558. orbit_angle = 30
  1559. orbit_distance = 0
  1560.  
  1561. init_effect = {
  1562. create_ambient_object = {
  1563. type = "medium_debris_02_object"
  1564. location = THIS
  1565. }
  1566. }
  1567. }
  1568. planet = {
  1569. class = "pc_ringworld_tech_damaged"
  1570. name = "Ring Segment H"
  1571. orbit_angle = 30
  1572. orbit_distance = 0
  1573. }
  1574. planet = {
  1575. class = "pc_ringworld_seam_damaged"
  1576. name = "Ring Segment I"
  1577. orbit_angle = 30
  1578. orbit_distance = 0
  1579.  
  1580. init_effect = {
  1581. create_ambient_object = {
  1582. type = "large_debris_object"
  1583. location = THIS
  1584. }
  1585. }
  1586. }
  1587. planet = {
  1588. class = "pc_ringworld_habitable_damaged"
  1589. name = "Ring Segment J"
  1590. orbit_angle = 30
  1591. orbit_distance = 0
  1592. }
  1593. planet = {
  1594. class = "pc_ringworld_tech_damaged"
  1595. name = "Ring Segment K"
  1596. orbit_angle = 30
  1597. orbit_distance = 0
  1598.  
  1599. init_effect = {
  1600. create_ambient_object = {
  1601. type = "small_debris_object"
  1602. location = THIS
  1603. }
  1604. }
  1605. }
  1606. planet = {
  1607. class = "pc_ringworld_seam_damaged"
  1608. name = "Ring Segment L"
  1609. orbit_angle = 30
  1610. orbit_distance = 0
  1611. }
  1612.  
  1613. init_effect = {
  1614. create_ambient_object = {
  1615. type = "large_debris_object"
  1616. location = solar_system
  1617. }
  1618. create_ambient_object = {
  1619. type = "large_debris_object"
  1620. location = solar_system
  1621. }
  1622. create_ambient_object = {
  1623. type = "medium_debris_01_object"
  1624. location = solar_system
  1625. }
  1626. create_ambient_object = {
  1627. type = "medium_debris_01_object"
  1628. location = solar_system
  1629. }
  1630. create_ambient_object = {
  1631. type = "medium_debris_02_object"
  1632. location = solar_system
  1633. }
  1634. create_ambient_object = {
  1635. type = "medium_debris_02_object"
  1636. location = solar_system
  1637. }
  1638. create_ambient_object = {
  1639. type = "small_debris_object"
  1640. location = solar_system
  1641. }
  1642. create_ambient_object = {
  1643. type = "small_debris_object"
  1644. location = solar_system
  1645. }
  1646. }
  1647. }
  1648.  
  1649. fallen_1_3 = {
  1650. class = "sc_g"
  1651. name = "Beacon of Stability"
  1652.  
  1653. planet = {
  1654. class = star
  1655. orbit_distance = 0
  1656. }
  1657.  
  1658. change_orbit = 45
  1659.  
  1660. planet = {
  1661. class = "pc_ringworld_habitable_damaged"
  1662. name = "Palace District"
  1663. orbit_angle = 30
  1664. orbit_distance = 0
  1665.  
  1666. init_effect = {
  1667. create_ambient_object = {
  1668. type = "large_debris_object"
  1669. location = THIS
  1670. }
  1671. }
  1672. }
  1673. planet = {
  1674. class = "pc_ringworld_tech_damaged"
  1675. name = "Ring Section B"
  1676. orbit_angle = 30
  1677. orbit_distance = 0
  1678. }
  1679. planet = {
  1680. class = "pc_ringworld_seam"
  1681. name = "Ring Section C"
  1682. orbit_angle = 30
  1683. orbit_distance = 0
  1684. }
  1685. planet = {
  1686. class = "pc_ringworld_habitable"
  1687. name = "Eternal Bastion"
  1688. orbit_angle = 30
  1689. orbit_distance = 0
  1690. tile_blockers = none
  1691. modifiers = none
  1692.  
  1693. init_effect = {
  1694. set_planet_flag = fallen_empire_world
  1695. prevent_anomaly = yes
  1696. set_owner = ROOT
  1697. random_tile = {
  1698. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  1699. set_building = "building_capital_2"
  1700. add_resource = {
  1701. resource = minerals
  1702. amount = 1
  1703. replace = yes
  1704. }
  1705. add_resource = {
  1706. resource = food
  1707. amount = 1
  1708. }
  1709. }
  1710. random_tile = {
  1711. limit = { has_building = no has_blocker = no }
  1712. set_building = "building_agri_processing_complex"
  1713. add_resource = {
  1714. resource = food
  1715. amount = 1
  1716. replace = yes
  1717. }
  1718. }
  1719. random_tile = {
  1720. limit = { has_building = no has_blocker = no }
  1721. set_building = "building_ancient_factory"
  1722. add_resource = {
  1723. resource = minerals
  1724. amount = 1
  1725. replace = yes
  1726. }
  1727. }
  1728. random_tile = {
  1729. limit = { has_building = no has_blocker = no }
  1730. set_building = "building_ancient_factory"
  1731. add_resource = {
  1732. resource = minerals
  1733. amount = 1
  1734. replace = yes
  1735. }
  1736. }
  1737. random_tile = {
  1738. limit = { has_building = no has_blocker = no }
  1739. set_building = "building_ancient_factory"
  1740. add_resource = {
  1741. resource = minerals
  1742. amount = 1
  1743. replace = yes
  1744. }
  1745. }
  1746. random_tile = {
  1747. limit = { has_building = no has_blocker = no }
  1748. set_building = "building_ancient_factory"
  1749. add_resource = {
  1750. resource = minerals
  1751. amount = 1
  1752. replace = yes
  1753. }
  1754. }
  1755. random_tile = {
  1756. limit = { has_building = no has_blocker = no }
  1757. set_building = "building_ancient_factory"
  1758. add_resource = {
  1759. resource = minerals
  1760. amount = 1
  1761. replace = yes
  1762. }
  1763. }
  1764. random_tile = {
  1765. limit = { has_building = no has_blocker = no }
  1766. set_building = "building_ancient_factory"
  1767. add_resource = {
  1768. resource = minerals
  1769. amount = 1
  1770. replace = yes
  1771. }
  1772. }
  1773. random_tile = {
  1774. limit = { has_building = no has_blocker = no }
  1775. set_building = "building_dark_matter_power_plant"
  1776. add_resource = {
  1777. resource = energy
  1778. amount = 1
  1779. replace = yes
  1780. }
  1781. }
  1782. random_tile = {
  1783. limit = { has_building = no has_blocker = no }
  1784. set_building = "building_dark_matter_power_plant"
  1785. add_resource = {
  1786. resource = energy
  1787. amount = 1
  1788. replace = yes
  1789. }
  1790. }
  1791. random_tile = {
  1792. limit = { has_building = no has_blocker = no }
  1793. set_building = "building_dark_matter_power_plant"
  1794. add_resource = {
  1795. resource = energy
  1796. amount = 1
  1797. replace = yes
  1798. }
  1799. }
  1800. random_tile = {
  1801. limit = { has_building = no has_blocker = no }
  1802. set_building = "building_dark_matter_power_plant"
  1803. add_resource = {
  1804. resource = energy
  1805. amount = 1
  1806. replace = yes
  1807. }
  1808. }
  1809. create_pop = {
  1810. species = owner_main_species
  1811. ethos = owner
  1812. }
  1813. create_pop = {
  1814. species = owner_main_species
  1815. ethos = owner
  1816. }
  1817. create_pop = {
  1818. species = owner_main_species
  1819. ethos = owner
  1820. }
  1821. create_pop = {
  1822. species = owner_main_species
  1823. ethos = owner
  1824. }
  1825. create_pop = {
  1826. species = owner_main_species
  1827. ethos = owner
  1828. }
  1829. create_pop = {
  1830. species = owner_main_species
  1831. ethos = owner
  1832. }
  1833. create_pop = {
  1834. species = owner_main_species
  1835. ethos = owner
  1836. }
  1837. create_pop = {
  1838. species = owner_main_species
  1839. ethos = owner
  1840. }
  1841. create_pop = {
  1842. species = owner_main_species
  1843. ethos = owner
  1844. }
  1845. create_pop = {
  1846. species = owner_main_species
  1847. ethos = owner
  1848. }
  1849. create_pop = {
  1850. species = owner_main_species
  1851. ethos = owner
  1852. }
  1853. create_pop = {
  1854. species = owner_main_species
  1855. ethos = owner
  1856. }
  1857. every_tile = {
  1858. limit = { has_building = no has_blocker = no has_pop = no }
  1859. set_blocker = tb_ancient_ruins
  1860. }
  1861. create_spaceport = {
  1862. owner = ROOT
  1863. initial_module = "fallen_empire_weapon"
  1864. }
  1865. spaceport = {
  1866. set_spaceport_level = 6
  1867. set_spaceport_module = {
  1868. slot = 1
  1869. module = "crew_quarters"
  1870. }
  1871. set_spaceport_module = {
  1872. slot = 2
  1873. module = "fleet_academy"
  1874. }
  1875. set_spaceport_module = {
  1876. slot = 3
  1877. module = "synchronized_defenses"
  1878. }
  1879. set_spaceport_module = {
  1880. slot = 4
  1881. module = "engineering_bay"
  1882. }
  1883. }
  1884. create_army = {
  1885. name = random
  1886. owner = ROOT
  1887. species = ROOT
  1888. type = "defense_army"
  1889. }
  1890. create_army = {
  1891. name = random
  1892. owner = ROOT
  1893. species = ROOT
  1894. type = "defense_army"
  1895. }
  1896. create_army = {
  1897. name = random
  1898. owner = ROOT
  1899. species = ROOT
  1900. type = "defense_army"
  1901. }
  1902. create_army = {
  1903. name = random
  1904. owner = ROOT
  1905. species = ROOT
  1906. type = "defense_army"
  1907. }
  1908. create_army = {
  1909. name = random
  1910. owner = ROOT
  1911. species = ROOT
  1912. type = "defense_army"
  1913. }
  1914. create_army = {
  1915. name = random
  1916. owner = ROOT
  1917. species = ROOT
  1918. type = "defense_army"
  1919. }
  1920. create_fleet = {
  1921. effect = {
  1922. set_owner = ROOT
  1923. create_ship = {
  1924. name = random
  1925. design = "Omega"
  1926. graphical_culture = root
  1927. }
  1928. set_location = {
  1929. target = PREV
  1930. distance = 20
  1931. angle = 90
  1932. }
  1933. }
  1934. }
  1935. create_fleet = {
  1936. effect = {
  1937. set_owner = ROOT
  1938. create_ship = {
  1939. name = random
  1940. design = "Omega"
  1941. graphical_culture = root
  1942. }
  1943. set_location = {
  1944. target = PREV
  1945. distance = 20
  1946. angle = 180
  1947. }
  1948. }
  1949. }
  1950. create_fleet = {
  1951. effect = {
  1952. set_owner = ROOT
  1953. create_ship = {
  1954. name = random
  1955. design = "Beta"
  1956. graphical_culture = root
  1957. }
  1958. create_ship = {
  1959. name = random
  1960. design = "Beta"
  1961. graphical_culture = root
  1962. }
  1963. create_ship = {
  1964. name = random
  1965. design = "Beta"
  1966. graphical_culture = root
  1967. }
  1968. create_ship = {
  1969. name = random
  1970. design = "Beta"
  1971. graphical_culture = root
  1972. }
  1973. create_ship = {
  1974. name = random
  1975. design = "Beta"
  1976. graphical_culture = root
  1977. }
  1978. create_ship = {
  1979. name = random
  1980. design = "Beta"
  1981. graphical_culture = root
  1982. }
  1983. create_ship = {
  1984. name = random
  1985. design = "Beta"
  1986. graphical_culture = root
  1987. }
  1988. create_ship = {
  1989. name = random
  1990. design = "Beta"
  1991. graphical_culture = root
  1992. }
  1993. create_ship = {
  1994. name = random
  1995. design = "Beta"
  1996. graphical_culture = root
  1997. }
  1998. create_ship = {
  1999. name = random
  2000. design = "Beta"
  2001. graphical_culture = root
  2002. }
  2003. create_ship = {
  2004. name = random
  2005. design = "Gamma"
  2006. graphical_culture = root
  2007. }
  2008. create_ship = {
  2009. name = random
  2010. design = "Gamma"
  2011. graphical_culture = root
  2012. }
  2013. create_ship = {
  2014. name = random
  2015. design = "Gamma"
  2016. graphical_culture = root
  2017. }
  2018. create_ship = {
  2019. name = random
  2020. design = "Gamma"
  2021. graphical_culture = root
  2022. }
  2023. create_ship = {
  2024. name = random
  2025. design = "Gamma"
  2026. graphical_culture = root
  2027. }
  2028. create_ship = {
  2029. name = random
  2030. design = "Gamma"
  2031. graphical_culture = root
  2032. }
  2033. create_ship = {
  2034. name = random
  2035. design = "Gamma"
  2036. graphical_culture = root
  2037. }
  2038. create_ship = {
  2039. name = random
  2040. design = "Gamma"
  2041. graphical_culture = root
  2042. }
  2043. create_ship = {
  2044. name = random
  2045. design = "Gamma"
  2046. graphical_culture = root
  2047. }
  2048. create_ship = {
  2049. name = random
  2050. design = "Gamma"
  2051. graphical_culture = root
  2052. }
  2053. create_ship = {
  2054. name = random
  2055. design = "Gamma"
  2056. graphical_culture = root
  2057. }
  2058. create_ship = {
  2059. name = random
  2060. design = "Gamma"
  2061. graphical_culture = root
  2062. }
  2063. create_ship = {
  2064. name = random
  2065. design = "Gamma"
  2066. graphical_culture = root
  2067. }
  2068. create_ship = {
  2069. name = random
  2070. design = "Gamma"
  2071. graphical_culture = root
  2072. }
  2073. create_ship = {
  2074. name = random
  2075. design = "Gamma"
  2076. graphical_culture = root
  2077. }
  2078. create_ship = {
  2079. name = random
  2080. design = "Gamma"
  2081. graphical_culture = root
  2082. }
  2083. create_ship = {
  2084. name = random
  2085. design = "Gamma"
  2086. graphical_culture = root
  2087. }
  2088. create_ship = {
  2089. name = random
  2090. design = "Gamma"
  2091. graphical_culture = root
  2092. }
  2093. create_ship = {
  2094. name = random
  2095. design = "Gamma"
  2096. graphical_culture = root
  2097. }
  2098. create_ship = {
  2099. name = random
  2100. design = "Gamma"
  2101. graphical_culture = root
  2102. }
  2103. set_location = {
  2104. target = PREV
  2105. distance = 45
  2106. angle = random
  2107. }
  2108. }
  2109. }
  2110. }
  2111. }
  2112. planet = {
  2113. class = "pc_ringworld_tech"
  2114. name = "Ring Section E"
  2115. orbit_angle = 30
  2116. orbit_distance = 0
  2117. }
  2118. planet = {
  2119. class = "pc_ringworld_seam_damaged"
  2120. name = "Ring Section F"
  2121. orbit_angle = 30
  2122. orbit_distance = 0
  2123. }
  2124. planet = {
  2125. class = "pc_ringworld_habitable_damaged"
  2126. name = "Industrial District"
  2127. orbit_angle = 30
  2128. orbit_distance = 0
  2129.  
  2130. init_effect = {
  2131. create_ambient_object = {
  2132. type = "medium_debris_01_object"
  2133. location = THIS
  2134. }
  2135. }
  2136. }
  2137. planet = {
  2138. class = "pc_ringworld_tech_damaged"
  2139. name = "Ring Section H"
  2140. orbit_angle = 30
  2141. orbit_distance = 0
  2142. }
  2143. planet = {
  2144. class = "pc_ringworld_seam_damaged"
  2145. name = "Ring Section I"
  2146. orbit_angle = 30
  2147. orbit_distance = 0
  2148.  
  2149. init_effect = {
  2150. create_ambient_object = {
  2151. type = "medium_debris_02_object"
  2152. location = THIS
  2153. }
  2154. }
  2155. }
  2156. planet = {
  2157. class = "pc_ringworld_habitable_damaged"
  2158. name = "Agrarian District"
  2159. orbit_angle = 30
  2160. orbit_distance = 0
  2161. }
  2162. planet = {
  2163. class = "pc_ringworld_tech_damaged"
  2164. name = "Ring Section K"
  2165. orbit_angle = 30
  2166. orbit_distance = 0
  2167.  
  2168. init_effect = {
  2169. create_ambient_object = {
  2170. type = "small_debris_object"
  2171. location = THIS
  2172. }
  2173. }
  2174. }
  2175. planet = {
  2176. class = "pc_ringworld_seam_damaged"
  2177. name = "Ring Section L"
  2178. orbit_angle = 30
  2179. orbit_distance = 0
  2180. }
  2181. }
  2182.  
  2183. # Home System II
  2184. fallen_2 = {
  2185. usage = fallen_empire_init
  2186. class = "rl_standard_stars"
  2187. asteroids_distance = 50
  2188.  
  2189. planet = {
  2190. count = 1
  2191. class = star
  2192. orbit_distance = 0
  2193. orbit_angle = 1
  2194. size = { min = 20 max = 30 }
  2195. has_ring = no
  2196. }
  2197.  
  2198. change_orbit = 50
  2199.  
  2200. planet = {
  2201. count = { min = 1 max = 3 }
  2202. class = random_asteroid
  2203. orbit_distance = 0
  2204. orbit_angle = { min = 40 max = 100 }
  2205. }
  2206.  
  2207. planet = {
  2208. count = { min = 0 max = 2 }
  2209. orbit_distance = 20
  2210. class = random_non_colonizable
  2211. orbit_angle = { min = 90 max = 270 }
  2212.  
  2213. change_orbit = @base_moon_distance
  2214.  
  2215. moon = {
  2216. count = { min = 0 max = 1 }
  2217. class = random_non_colonizable
  2218. orbit_angle = { min = 90 max = 270 }
  2219. orbit_distance = 5
  2220. }
  2221. }
  2222.  
  2223. planet = {
  2224. name = "Celestial Throne"
  2225. orbit_distance = 20
  2226. class = pc_gaia
  2227. orbit_angle = { min = 90 max = 270 }
  2228. size = 25
  2229. tile_blockers = none
  2230. modifiers = none
  2231.  
  2232. init_effect = {
  2233.  
  2234. create_cluster = {
  2235. id = fe2_cluster
  2236. radius = 140
  2237. center = this.solar_system
  2238. }
  2239.  
  2240. set_planet_flag = fallen_empire_world
  2241. prevent_anomaly = yes
  2242. set_owner = ROOT
  2243. set_capital = yes
  2244. create_pop = {
  2245. species = owner_main_species
  2246. ethos = owner
  2247. }
  2248. create_pop = {
  2249. species = owner_main_species
  2250. ethos = owner
  2251. }
  2252. create_pop = {
  2253. species = owner_main_species
  2254. ethos = owner
  2255. }
  2256. create_pop = {
  2257. species = owner_main_species
  2258. ethos = owner
  2259. }
  2260. create_pop = {
  2261. species = owner_main_species
  2262. ethos = owner
  2263. }
  2264. create_pop = {
  2265. species = owner_main_species
  2266. ethos = owner
  2267. }
  2268. create_pop = {
  2269. species = owner_main_species
  2270. ethos = owner
  2271. }
  2272. create_pop = {
  2273. species = owner_main_species
  2274. ethos = owner
  2275. }
  2276. create_pop = {
  2277. species = owner_main_species
  2278. ethos = owner
  2279. }
  2280. create_pop = {
  2281. species = owner_main_species
  2282. ethos = owner
  2283. }
  2284. create_pop = {
  2285. species = owner_main_species
  2286. ethos = owner
  2287. }
  2288. create_pop = {
  2289. species = owner_main_species
  2290. ethos = owner
  2291. }
  2292. create_pop = {
  2293. species = owner_main_species
  2294. ethos = owner
  2295. }
  2296. create_pop = {
  2297. species = owner_main_species
  2298. ethos = owner
  2299. }
  2300. create_pop = {
  2301. species = owner_main_species
  2302. ethos = owner
  2303. }
  2304. create_pop = {
  2305. species = owner_main_species
  2306. ethos = owner
  2307. }
  2308. create_pop = {
  2309. species = owner_main_species
  2310. ethos = owner
  2311. }
  2312. create_pop = {
  2313. species = owner_main_species
  2314. ethos = owner
  2315. }
  2316. create_pop = {
  2317. species = owner_main_species
  2318. ethos = owner
  2319. }
  2320. create_pop = {
  2321. species = owner_main_species
  2322. ethos = owner
  2323. }
  2324. create_pop = {
  2325. species = owner_main_species
  2326. ethos = owner
  2327. }
  2328. create_pop = {
  2329. species = owner_main_species
  2330. ethos = owner
  2331. }
  2332. create_pop = {
  2333. species = owner_main_species
  2334. ethos = owner
  2335. }
  2336. create_pop = {
  2337. species = owner_main_species
  2338. ethos = owner
  2339. }
  2340. create_pop = {
  2341. species = owner_main_species
  2342. ethos = owner
  2343. }
  2344. random_tile = {
  2345. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  2346. set_building = "building_capital_3"
  2347. add_resource = {
  2348. resource = minerals
  2349. amount = 1
  2350. replace = yes
  2351. }
  2352. add_resource = {
  2353. resource = food
  2354. amount = 1
  2355. }
  2356. }
  2357. random_tile = {
  2358. limit = { has_building = no has_blocker = no }
  2359. set_building = "building_agri_processing_complex"
  2360. add_resource = {
  2361. resource = food
  2362. amount = 1
  2363. replace = yes
  2364. }
  2365. }
  2366. random_tile = {
  2367. limit = { has_building = no has_blocker = no }
  2368. set_building = "building_agri_processing_complex"
  2369. add_resource = {
  2370. resource = food
  2371. amount = 1
  2372. replace = yes
  2373. }
  2374. }
  2375. random_tile = {
  2376. limit = { has_building = no has_blocker = no }
  2377. set_building = "building_dark_matter_power_plant"
  2378. add_resource = {
  2379. resource = energy
  2380. amount = 1
  2381. replace = yes
  2382. }
  2383. }
  2384. random_tile = {
  2385. limit = { has_building = no has_blocker = no }
  2386. set_building = "building_dark_matter_power_plant"
  2387. add_resource = {
  2388. resource = energy
  2389. amount = 1
  2390. replace = yes
  2391. }
  2392. }
  2393. random_tile = {
  2394. limit = { has_building = no has_blocker = no }
  2395. set_building = "building_dark_matter_power_plant"
  2396. add_resource = {
  2397. resource = energy
  2398. amount = 1
  2399. replace = yes
  2400. }
  2401. }
  2402. random_tile = {
  2403. limit = { has_building = no has_blocker = no }
  2404. set_building = "building_dark_matter_power_plant"
  2405. add_resource = {
  2406. resource = energy
  2407. amount = 1
  2408. replace = yes
  2409. }
  2410. }
  2411. random_tile = {
  2412. limit = { has_building = no has_blocker = no }
  2413. set_building = "building_dark_matter_power_plant"
  2414. add_resource = {
  2415. resource = energy
  2416. amount = 1
  2417. replace = yes
  2418. }
  2419. }
  2420. random_tile = {
  2421. limit = { has_building = no has_blocker = no }
  2422. set_building = "building_dark_matter_power_plant"
  2423. add_resource = {
  2424. resource = energy
  2425. amount = 1
  2426. replace = yes
  2427. }
  2428. }
  2429. random_tile = {
  2430. limit = { has_building = no has_blocker = no }
  2431. set_building = "building_dark_matter_power_plant"
  2432. add_resource = {
  2433. resource = energy
  2434. amount = 1
  2435. replace = yes
  2436. }
  2437. }
  2438. random_tile = {
  2439. limit = { has_building = no has_blocker = no }
  2440. set_building = "building_dark_matter_power_plant"
  2441. add_resource = {
  2442. resource = energy
  2443. amount = 1
  2444. replace = yes
  2445. }
  2446. }
  2447. random_tile = {
  2448. limit = { has_building = no has_blocker = no }
  2449. set_building = "building_dark_matter_power_plant"
  2450. add_resource = {
  2451. resource = energy
  2452. amount = 1
  2453. replace = yes
  2454. }
  2455. }
  2456. random_tile = {
  2457. limit = { has_building = no has_blocker = no }
  2458. set_building = "building_dark_matter_power_plant"
  2459. add_resource = {
  2460. resource = energy
  2461. amount = 1
  2462. replace = yes
  2463. }
  2464. }
  2465. random_tile = {
  2466. limit = { has_building = no has_blocker = no }
  2467. set_building = "building_dark_matter_power_plant"
  2468. add_resource = {
  2469. resource = energy
  2470. amount = 1
  2471. replace = yes
  2472. }
  2473. }
  2474. random_tile = {
  2475. limit = { has_building = no has_blocker = no }
  2476. set_building = "building_dark_matter_power_plant"
  2477. add_resource = {
  2478. resource = energy
  2479. amount = 1
  2480. replace = yes
  2481. }
  2482. }
  2483. random_tile = {
  2484. limit = { has_building = no has_blocker = no }
  2485. set_building = "building_dark_matter_power_plant"
  2486. add_resource = {
  2487. resource = energy
  2488. amount = 1
  2489. replace = yes
  2490. }
  2491. }
  2492. random_tile = {
  2493. limit = { has_building = no has_blocker = no }
  2494. set_building = "building_dark_matter_power_plant"
  2495. add_resource = {
  2496. resource = energy
  2497. amount = 1
  2498. replace = yes
  2499. }
  2500. }
  2501. random_tile = {
  2502. limit = { has_building = no has_blocker = no }
  2503. set_building = "building_dark_matter_power_plant"
  2504. add_resource = {
  2505. resource = energy
  2506. amount = 1
  2507. replace = yes
  2508. }
  2509. }
  2510. random_tile = {
  2511. limit = { has_building = no has_blocker = no }
  2512. set_building = "building_dark_matter_power_plant"
  2513. add_resource = {
  2514. resource = energy
  2515. amount = 1
  2516. replace = yes
  2517. }
  2518. }
  2519. random_tile = {
  2520. limit = { has_building = no has_blocker = no }
  2521. set_building = "building_dark_matter_power_plant"
  2522. add_resource = {
  2523. resource = energy
  2524. amount = 1
  2525. replace = yes
  2526. }
  2527. }
  2528. random_tile = {
  2529. limit = { has_building = no has_blocker = no }
  2530. set_building = "building_ancient_factory"
  2531. add_resource = {
  2532. resource = minerals
  2533. amount = 1
  2534. replace = yes
  2535. }
  2536. }
  2537. random_tile = {
  2538. limit = { has_building = no has_blocker = no }
  2539. set_building = "building_ancient_factory"
  2540. add_resource = {
  2541. resource = minerals
  2542. amount = 1
  2543. replace = yes
  2544. }
  2545. }
  2546. random_tile = {
  2547. limit = { has_building = no has_blocker = no }
  2548. set_building = "building_ancient_factory"
  2549. add_resource = {
  2550. resource = minerals
  2551. amount = 1
  2552. replace = yes
  2553. }
  2554. }
  2555. random_tile = {
  2556. limit = { has_building = no has_blocker = no }
  2557. set_building = "building_ancient_factory"
  2558. add_resource = {
  2559. resource = minerals
  2560. amount = 1
  2561. replace = yes
  2562. }
  2563. }
  2564. random_tile = {
  2565. limit = { has_building = no has_blocker = no }
  2566. set_building = "building_ancient_factory"
  2567. add_resource = {
  2568. resource = minerals
  2569. amount = 1
  2570. replace = yes
  2571. }
  2572. }
  2573. create_army = {
  2574. name = random
  2575. owner = ROOT
  2576. species = ROOT
  2577. type = "psionic_army"
  2578. }
  2579. create_army = {
  2580. name = random
  2581. owner = ROOT
  2582. species = ROOT
  2583. type = "psionic_army"
  2584. }
  2585. create_army = {
  2586. name = random
  2587. owner = ROOT
  2588. species = ROOT
  2589. type = "psionic_army"
  2590. }
  2591. create_army = {
  2592. name = random
  2593. owner = ROOT
  2594. species = ROOT
  2595. type = "psionic_army"
  2596. }
  2597. create_army = {
  2598. name = random
  2599. owner = ROOT
  2600. species = ROOT
  2601. type = "psionic_army"
  2602. }
  2603. create_army = {
  2604. name = random
  2605. owner = ROOT
  2606. species = ROOT
  2607. type = "psionic_army"
  2608. }
  2609. create_army = {
  2610. name = random
  2611. owner = ROOT
  2612. species = ROOT
  2613. type = "defense_army"
  2614. }
  2615. create_army = {
  2616. name = random
  2617. owner = ROOT
  2618. species = ROOT
  2619. type = "defense_army"
  2620. }
  2621. create_army = {
  2622. name = random
  2623. owner = ROOT
  2624. species = ROOT
  2625. type = "defense_army"
  2626. }
  2627. create_army = {
  2628. name = random
  2629. owner = ROOT
  2630. species = ROOT
  2631. type = "defense_army"
  2632. }
  2633. create_army = {
  2634. name = random
  2635. owner = ROOT
  2636. species = ROOT
  2637. type = "defense_army"
  2638. }
  2639. create_army = {
  2640. name = random
  2641. owner = ROOT
  2642. species = ROOT
  2643. type = "defense_army"
  2644. }
  2645. create_spaceport = {
  2646. owner = ROOT
  2647. initial_module = "fallen_empire_weapon"
  2648. }
  2649. spaceport = {
  2650. set_spaceport_level = 6
  2651. set_spaceport_module = {
  2652. slot = 1
  2653. module = "crew_quarters"
  2654. }
  2655. set_spaceport_module = {
  2656. slot = 2
  2657. module = "fleet_academy"
  2658. }
  2659. set_spaceport_module = {
  2660. slot = 3
  2661. module = "synchronized_defenses"
  2662. }
  2663. set_spaceport_module = {
  2664. slot = 4
  2665. module = "engineering_bay"
  2666. }
  2667. }
  2668. create_fleet = {
  2669. effect = {
  2670. set_owner = ROOT
  2671. create_ship = {
  2672. name = random
  2673. design = "Bulwark"
  2674. graphical_culture = root
  2675. }
  2676. set_location = {
  2677. target = PREV
  2678. distance = 20
  2679. angle = 180
  2680. }
  2681. }
  2682. }
  2683. create_fleet = {
  2684. effect = {
  2685. set_owner = ROOT
  2686. create_ship = {
  2687. name = random
  2688. design = "Bulwark"
  2689. graphical_culture = root
  2690. }
  2691. set_location = {
  2692. target = PREV
  2693. distance = 20
  2694. angle = 0
  2695. }
  2696. }
  2697. }
  2698. create_fleet = {
  2699. effect = {
  2700. set_owner = ROOT
  2701. create_ship = {
  2702. name = random
  2703. design = "Penitent"
  2704. graphical_culture = root
  2705. }
  2706. set_location = {
  2707. target = PREV
  2708. distance = 80
  2709. }
  2710. }
  2711. }
  2712. create_fleet = {
  2713. effect = {
  2714. set_owner = ROOT
  2715. create_ship = {
  2716. name = random
  2717. design = "Penitent"
  2718. graphical_culture = root
  2719. }
  2720. set_location = {
  2721. target = PREV
  2722. distance = 90
  2723. }
  2724. }
  2725. }
  2726. create_fleet = {
  2727. effect = {
  2728. set_owner = ROOT
  2729. create_ship = {
  2730. name = random
  2731. design = "Penitent"
  2732. graphical_culture = root
  2733. }
  2734. set_location = {
  2735. target = PREV
  2736. distance = 100
  2737. }
  2738. }
  2739. }
  2740. random = {
  2741. chance = 5
  2742. create_fleet = {
  2743. effect = {
  2744. set_owner = ROOT
  2745. create_ship = {
  2746. name = random
  2747. design = "Eternal"
  2748. graphical_culture = root
  2749. }
  2750. set_location = {
  2751. target = PREV
  2752. distance = 20
  2753. angle = random
  2754. }
  2755. }
  2756. }
  2757. }
  2758. create_fleet = {
  2759. effect = {
  2760. set_owner = ROOT
  2761. create_ship = {
  2762. name = random
  2763. design = "Avatar"
  2764. graphical_culture = root
  2765. }
  2766. create_ship = {
  2767. name = random
  2768. design = "Avatar"
  2769. graphical_culture = root
  2770. }
  2771. create_ship = {
  2772. name = random
  2773. design = "Avatar"
  2774. graphical_culture = root
  2775. }
  2776. create_ship = {
  2777. name = random
  2778. design = "Avatar"
  2779. graphical_culture = root
  2780. }
  2781. create_ship = {
  2782. name = random
  2783. design = "Avatar"
  2784. graphical_culture = root
  2785. }
  2786. create_ship = {
  2787. name = random
  2788. design = "Avatar"
  2789. graphical_culture = root
  2790. }
  2791. create_ship = {
  2792. name = random
  2793. design = "Avatar"
  2794. graphical_culture = root
  2795. }
  2796. create_ship = {
  2797. name = random
  2798. design = "Avatar"
  2799. graphical_culture = root
  2800. }
  2801. create_ship = {
  2802. name = random
  2803. design = "Avatar"
  2804. graphical_culture = root
  2805. }
  2806. create_ship = {
  2807. name = random
  2808. design = "Avatar"
  2809. graphical_culture = root
  2810. }
  2811. create_ship = {
  2812. name = random
  2813. design = "Zealot"
  2814. graphical_culture = root
  2815. }
  2816. create_ship = {
  2817. name = random
  2818. design = "Zealot"
  2819. graphical_culture = root
  2820. }
  2821. create_ship = {
  2822. name = random
  2823. design = "Zealot"
  2824. graphical_culture = root
  2825. }
  2826. create_ship = {
  2827. name = random
  2828. design = "Zealot"
  2829. graphical_culture = root
  2830. }
  2831. create_ship = {
  2832. name = random
  2833. design = "Zealot"
  2834. graphical_culture = root
  2835. }
  2836. create_ship = {
  2837. name = random
  2838. design = "Zealot"
  2839. graphical_culture = root
  2840. }
  2841. create_ship = {
  2842. name = random
  2843. design = "Zealot"
  2844. graphical_culture = root
  2845. }
  2846. create_ship = {
  2847. name = random
  2848. design = "Zealot"
  2849. graphical_culture = root
  2850. }
  2851. create_ship = {
  2852. name = random
  2853. design = "Zealot"
  2854. graphical_culture = root
  2855. }
  2856. create_ship = {
  2857. name = random
  2858. design = "Zealot"
  2859. graphical_culture = root
  2860. }
  2861. create_ship = {
  2862. name = random
  2863. design = "Zealot"
  2864. graphical_culture = root
  2865. }
  2866. create_ship = {
  2867. name = random
  2868. design = "Zealot"
  2869. graphical_culture = root
  2870. }
  2871. create_ship = {
  2872. name = random
  2873. design = "Zealot"
  2874. graphical_culture = root
  2875. }
  2876. create_ship = {
  2877. name = random
  2878. design = "Zealot"
  2879. graphical_culture = root
  2880. }
  2881. create_ship = {
  2882. name = random
  2883. design = "Zealot"
  2884. graphical_culture = root
  2885. }
  2886. create_ship = {
  2887. name = random
  2888. design = "Zealot"
  2889. graphical_culture = root
  2890. }
  2891. create_ship = {
  2892. name = random
  2893. design = "Zealot"
  2894. graphical_culture = root
  2895. }
  2896. create_ship = {
  2897. name = random
  2898. design = "Zealot"
  2899. graphical_culture = root
  2900. }
  2901. create_ship = {
  2902. name = random
  2903. design = "Zealot"
  2904. graphical_culture = root
  2905. }
  2906. create_ship = {
  2907. name = random
  2908. design = "Zealot"
  2909. graphical_culture = root
  2910. }
  2911. set_location = {
  2912. target = PREV
  2913. distance = 70
  2914. angle = random
  2915. }
  2916. }
  2917. }
  2918. create_fleet = {
  2919. effect = {
  2920. set_owner = ROOT
  2921. create_ship = {
  2922. name = random
  2923. design = "Avatar"
  2924. graphical_culture = root
  2925. }
  2926. create_ship = {
  2927. name = random
  2928. design = "Avatar"
  2929. graphical_culture = root
  2930. }
  2931. create_ship = {
  2932. name = random
  2933. design = "Avatar"
  2934. graphical_culture = root
  2935. }
  2936. create_ship = {
  2937. name = random
  2938. design = "Avatar"
  2939. graphical_culture = root
  2940. }
  2941. create_ship = {
  2942. name = random
  2943. design = "Avatar"
  2944. graphical_culture = root
  2945. }
  2946. create_ship = {
  2947. name = random
  2948. design = "Avatar"
  2949. graphical_culture = root
  2950. }
  2951. create_ship = {
  2952. name = random
  2953. design = "Avatar"
  2954. graphical_culture = root
  2955. }
  2956. create_ship = {
  2957. name = random
  2958. design = "Avatar"
  2959. graphical_culture = root
  2960. }
  2961. create_ship = {
  2962. name = random
  2963. design = "Avatar"
  2964. graphical_culture = root
  2965. }
  2966. create_ship = {
  2967. name = random
  2968. design = "Avatar"
  2969. graphical_culture = root
  2970. }
  2971. create_ship = {
  2972. name = random
  2973. design = "Zealot"
  2974. graphical_culture = root
  2975. }
  2976. create_ship = {
  2977. name = random
  2978. design = "Zealot"
  2979. graphical_culture = root
  2980. }
  2981. create_ship = {
  2982. name = random
  2983. design = "Zealot"
  2984. graphical_culture = root
  2985. }
  2986. create_ship = {
  2987. name = random
  2988. design = "Zealot"
  2989. graphical_culture = root
  2990. }
  2991. create_ship = {
  2992. name = random
  2993. design = "Zealot"
  2994. graphical_culture = root
  2995. }
  2996. create_ship = {
  2997. name = random
  2998. design = "Zealot"
  2999. graphical_culture = root
  3000. }
  3001. create_ship = {
  3002. name = random
  3003. design = "Zealot"
  3004. graphical_culture = root
  3005. }
  3006. create_ship = {
  3007. name = random
  3008. design = "Zealot"
  3009. graphical_culture = root
  3010. }
  3011. create_ship = {
  3012. name = random
  3013. design = "Zealot"
  3014. graphical_culture = root
  3015. }
  3016. create_ship = {
  3017. name = random
  3018. design = "Zealot"
  3019. graphical_culture = root
  3020. }
  3021. create_ship = {
  3022. name = random
  3023. design = "Zealot"
  3024. graphical_culture = root
  3025. }
  3026. create_ship = {
  3027. name = random
  3028. design = "Zealot"
  3029. graphical_culture = root
  3030. }
  3031. create_ship = {
  3032. name = random
  3033. design = "Zealot"
  3034. graphical_culture = root
  3035. }
  3036. create_ship = {
  3037. name = random
  3038. design = "Zealot"
  3039. graphical_culture = root
  3040. }
  3041. create_ship = {
  3042. name = random
  3043. design = "Zealot"
  3044. graphical_culture = root
  3045. }
  3046. create_ship = {
  3047. name = random
  3048. design = "Zealot"
  3049. graphical_culture = root
  3050. }
  3051. create_ship = {
  3052. name = random
  3053. design = "Zealot"
  3054. graphical_culture = root
  3055. }
  3056. create_ship = {
  3057. name = random
  3058. design = "Zealot"
  3059. graphical_culture = root
  3060. }
  3061. create_ship = {
  3062. name = random
  3063. design = "Zealot"
  3064. graphical_culture = root
  3065. }
  3066. set_location = {
  3067. target = PREV
  3068. distance = 90
  3069. angle = random
  3070. }
  3071. }
  3072. }
  3073. random = {
  3074. chance = 33
  3075. create_fleet = {
  3076. effect = {
  3077. set_owner = ROOT
  3078. create_ship = {
  3079. name = random
  3080. design = "Avatar"
  3081. graphical_culture = root
  3082. }
  3083. create_ship = {
  3084. name = random
  3085. design = "Avatar"
  3086. graphical_culture = root
  3087. }
  3088. create_ship = {
  3089. name = random
  3090. design = "Avatar"
  3091. graphical_culture = root
  3092. }
  3093. create_ship = {
  3094. name = random
  3095. design = "Avatar"
  3096. graphical_culture = root
  3097. }
  3098. create_ship = {
  3099. name = random
  3100. design = "Avatar"
  3101. graphical_culture = root
  3102. }
  3103. create_ship = {
  3104. name = random
  3105. design = "Avatar"
  3106. graphical_culture = root
  3107. }
  3108. create_ship = {
  3109. name = random
  3110. design = "Avatar"
  3111. graphical_culture = root
  3112. }
  3113. create_ship = {
  3114. name = random
  3115. design = "Avatar"
  3116. graphical_culture = root
  3117. }
  3118. create_ship = {
  3119. name = random
  3120. design = "Avatar"
  3121. graphical_culture = root
  3122. }
  3123. create_ship = {
  3124. name = random
  3125. design = "Avatar"
  3126. graphical_culture = root
  3127. }
  3128. create_ship = {
  3129. name = random
  3130. design = "Zealot"
  3131. graphical_culture = root
  3132. }
  3133. create_ship = {
  3134. name = random
  3135. design = "Zealot"
  3136. graphical_culture = root
  3137. }
  3138. create_ship = {
  3139. name = random
  3140. design = "Zealot"
  3141. graphical_culture = root
  3142. }
  3143. create_ship = {
  3144. name = random
  3145. design = "Zealot"
  3146. graphical_culture = root
  3147. }
  3148. create_ship = {
  3149. name = random
  3150. design = "Zealot"
  3151. graphical_culture = root
  3152. }
  3153. create_ship = {
  3154. name = random
  3155. design = "Zealot"
  3156. graphical_culture = root
  3157. }
  3158. create_ship = {
  3159. name = random
  3160. design = "Zealot"
  3161. graphical_culture = root
  3162. }
  3163. create_ship = {
  3164. name = random
  3165. design = "Zealot"
  3166. graphical_culture = root
  3167. }
  3168. create_ship = {
  3169. name = random
  3170. design = "Zealot"
  3171. graphical_culture = root
  3172. }
  3173. create_ship = {
  3174. name = random
  3175. design = "Zealot"
  3176. graphical_culture = root
  3177. }
  3178. create_ship = {
  3179. name = random
  3180. design = "Zealot"
  3181. graphical_culture = root
  3182. }
  3183. create_ship = {
  3184. name = random
  3185. design = "Zealot"
  3186. graphical_culture = root
  3187. }
  3188. create_ship = {
  3189. name = random
  3190. design = "Zealot"
  3191. graphical_culture = root
  3192. }
  3193. create_ship = {
  3194. name = random
  3195. design = "Zealot"
  3196. graphical_culture = root
  3197. }
  3198. create_ship = {
  3199. name = random
  3200. design = "Zealot"
  3201. graphical_culture = root
  3202. }
  3203. create_ship = {
  3204. name = random
  3205. design = "Zealot"
  3206. graphical_culture = root
  3207. }
  3208. create_ship = {
  3209. name = random
  3210. design = "Zealot"
  3211. graphical_culture = root
  3212. }
  3213. create_ship = {
  3214. name = random
  3215. design = "Zealot"
  3216. graphical_culture = root
  3217. }
  3218. create_ship = {
  3219. name = random
  3220. design = "Zealot"
  3221. graphical_culture = root
  3222. }
  3223. create_ship = {
  3224. name = random
  3225. design = "Zealot"
  3226. graphical_culture = root
  3227. }
  3228. set_location = {
  3229. target = PREV
  3230. distance = 45
  3231. angle = random
  3232. }
  3233. }
  3234. }
  3235. }
  3236. }
  3237.  
  3238. change_orbit = @base_moon_distance
  3239.  
  3240. moon = {
  3241. name = "The Mistake"
  3242. class = "pc_barren"
  3243. entity = "barren_planet_01_destroyed_entity"
  3244. orbit_angle = { min = 90 max = 270 }
  3245. orbit_distance = 5
  3246. modifiers = none
  3247.  
  3248. init_effect = { prevent_anomaly = yes }
  3249. }
  3250. }
  3251.  
  3252. planet = {
  3253. name = "Sky Temple"
  3254. orbit_distance = 30
  3255. class = pc_gaia
  3256. orbit_angle = { min = 90 max = 270 }
  3257. size = 15
  3258. tile_blockers = none
  3259. modifiers = none
  3260.  
  3261. init_effect = {
  3262. set_planet_flag = fallen_empire_world
  3263. prevent_anomaly = yes
  3264. set_owner = ROOT
  3265. create_pop = {
  3266. species = owner_main_species
  3267. ethos = owner
  3268. }
  3269. create_pop = {
  3270. species = owner_main_species
  3271. ethos = owner
  3272. }
  3273. create_pop = {
  3274. species = owner_main_species
  3275. ethos = owner
  3276. }
  3277. create_pop = {
  3278. species = owner_main_species
  3279. ethos = owner
  3280. }
  3281. create_pop = {
  3282. species = owner_main_species
  3283. ethos = owner
  3284. }
  3285. create_pop = {
  3286. species = owner_main_species
  3287. ethos = owner
  3288. }
  3289. create_pop = {
  3290. species = owner_main_species
  3291. ethos = owner
  3292. }
  3293. create_pop = {
  3294. species = owner_main_species
  3295. ethos = owner
  3296. }
  3297. create_pop = {
  3298. species = owner_main_species
  3299. ethos = owner
  3300. }
  3301. create_pop = {
  3302. species = owner_main_species
  3303. ethos = owner
  3304. }
  3305. create_pop = {
  3306. species = owner_main_species
  3307. ethos = owner
  3308. }
  3309. create_pop = {
  3310. species = owner_main_species
  3311. ethos = owner
  3312. }
  3313. create_pop = {
  3314. species = owner_main_species
  3315. ethos = owner
  3316. }
  3317. create_pop = {
  3318. species = owner_main_species
  3319. ethos = owner
  3320. }
  3321. create_pop = {
  3322. species = owner_main_species
  3323. ethos = owner
  3324. }
  3325. random_tile = {
  3326. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  3327. set_building = "building_capital_2"
  3328. add_resource = {
  3329. resource = minerals
  3330. amount = 1
  3331. replace = yes
  3332. }
  3333. add_resource = {
  3334. resource = food
  3335. amount = 1
  3336. }
  3337. }
  3338. random_tile = {
  3339. limit = { has_building = no has_blocker = no }
  3340. set_building = "building_agri_processing_complex"
  3341. add_resource = {
  3342. resource = food
  3343. amount = 1
  3344. replace = yes
  3345. }
  3346. }
  3347. random_tile = {
  3348. limit = { has_building = no has_blocker = no }
  3349. set_building = "building_dark_matter_power_plant"
  3350. add_resource = {
  3351. resource = energy
  3352. amount = 1
  3353. replace = yes
  3354. }
  3355. }
  3356. random_tile = {
  3357. limit = { has_building = no has_blocker = no }
  3358. set_building = "building_dark_matter_power_plant"
  3359. add_resource = {
  3360. resource = energy
  3361. amount = 1
  3362. replace = yes
  3363. }
  3364. }
  3365. random_tile = {
  3366. limit = { has_building = no has_blocker = no }
  3367. set_building = "building_dark_matter_power_plant"
  3368. add_resource = {
  3369. resource = energy
  3370. amount = 1
  3371. replace = yes
  3372. }
  3373. }
  3374. random_tile = {
  3375. limit = { has_building = no has_blocker = no }
  3376. set_building = "building_dark_matter_power_plant"
  3377. add_resource = {
  3378. resource = energy
  3379. amount = 1
  3380. replace = yes
  3381. }
  3382. }
  3383. random_tile = {
  3384. limit = { has_building = no has_blocker = no }
  3385. set_building = "building_dark_matter_power_plant"
  3386. add_resource = {
  3387. resource = energy
  3388. amount = 1
  3389. replace = yes
  3390. }
  3391. }
  3392. random_tile = {
  3393. limit = { has_building = no has_blocker = no }
  3394. set_building = "building_dark_matter_power_plant"
  3395. add_resource = {
  3396. resource = energy
  3397. amount = 1
  3398. replace = yes
  3399. }
  3400. }
  3401. random_tile = {
  3402. limit = { has_building = no has_blocker = no }
  3403. set_building = "building_dark_matter_power_plant"
  3404. add_resource = {
  3405. resource = energy
  3406. amount = 1
  3407. replace = yes
  3408. }
  3409. }
  3410. random_tile = {
  3411. limit = { has_building = no has_blocker = no }
  3412. set_building = "building_ancient_factory"
  3413. add_resource = {
  3414. resource = minerals
  3415. amount = 1
  3416. replace = yes
  3417. }
  3418. }
  3419. random_tile = {
  3420. limit = { has_building = no has_blocker = no }
  3421. set_building = "building_ancient_factory"
  3422. add_resource = {
  3423. resource = minerals
  3424. amount = 1
  3425. replace = yes
  3426. }
  3427. }
  3428. random_tile = {
  3429. limit = { has_building = no has_blocker = no }
  3430. set_building = "building_ancient_factory"
  3431. add_resource = {
  3432. resource = minerals
  3433. amount = 1
  3434. replace = yes
  3435. }
  3436. }
  3437. random_tile = {
  3438. limit = { has_building = no has_blocker = no }
  3439. set_building = "building_ancient_factory"
  3440. add_resource = {
  3441. resource = minerals
  3442. amount = 1
  3443. replace = yes
  3444. }
  3445. }
  3446. random_tile = {
  3447. limit = { has_building = no has_blocker = no }
  3448. set_building = "building_ancient_factory"
  3449. add_resource = {
  3450. resource = minerals
  3451. amount = 1
  3452. replace = yes
  3453. }
  3454. }
  3455. random_tile = {
  3456. limit = { has_building = no has_blocker = no }
  3457. set_building = "building_ancient_factory"
  3458. add_resource = {
  3459. resource = minerals
  3460. amount = 1
  3461. replace = yes
  3462. }
  3463. }
  3464. random_tile = {
  3465. limit = { has_building = no has_blocker = no }
  3466. set_building = "building_ancient_factory"
  3467. add_resource = {
  3468. resource = minerals
  3469. amount = 1
  3470. replace = yes
  3471. }
  3472. }
  3473. create_army = {
  3474. name = random
  3475. owner = ROOT
  3476. species = ROOT
  3477. type = "defense_army"
  3478. }
  3479. create_army = {
  3480. name = random
  3481. owner = ROOT
  3482. species = ROOT
  3483. type = "defense_army"
  3484. }
  3485. create_army = {
  3486. name = random
  3487. owner = ROOT
  3488. species = ROOT
  3489. type = "defense_army"
  3490. }
  3491. create_army = {
  3492. name = random
  3493. owner = ROOT
  3494. species = ROOT
  3495. type = "defense_army"
  3496. }
  3497. create_army = {
  3498. name = random
  3499. owner = ROOT
  3500. species = ROOT
  3501. type = "defense_army"
  3502. }
  3503. create_army = {
  3504. name = random
  3505. owner = ROOT
  3506. species = ROOT
  3507. type = "defense_army"
  3508. }
  3509. create_spaceport = {
  3510. owner = ROOT
  3511. initial_module = "fallen_empire_weapon"
  3512. }
  3513. spaceport = {
  3514. set_spaceport_level = 6
  3515. set_spaceport_module = {
  3516. slot = 1
  3517. module = "crew_quarters"
  3518. }
  3519. set_spaceport_module = {
  3520. slot = 2
  3521. module = "fleet_academy"
  3522. }
  3523. set_spaceport_module = {
  3524. slot = 3
  3525. module = "synchronized_defenses"
  3526. }
  3527. set_spaceport_module = {
  3528. slot = 4
  3529. module = "engineering_bay"
  3530. }
  3531. }
  3532. create_fleet = {
  3533. effect = {
  3534. set_owner = ROOT
  3535. create_ship = {
  3536. name = random
  3537. design = "Bulwark"
  3538. graphical_culture = root
  3539. }
  3540. set_location = {
  3541. target = PREV
  3542. distance = 20
  3543. angle = 90
  3544. }
  3545. }
  3546. }
  3547. create_fleet = {
  3548. effect = {
  3549. set_owner = ROOT
  3550. create_ship = {
  3551. name = random
  3552. design = "Bulwark"
  3553. graphical_culture = root
  3554. }
  3555. set_location = {
  3556. target = PREV
  3557. distance = 20
  3558. angle = 270
  3559. }
  3560. }
  3561. }
  3562. }
  3563. }
  3564.  
  3565. planet = {
  3566. count = { min = 2 max = 4 }
  3567. orbit_distance = 20
  3568. class = random_non_colonizable
  3569. orbit_angle = { min = 90 max = 270 }
  3570.  
  3571. change_orbit = @base_moon_distance
  3572.  
  3573. moon = {
  3574. count = { min = 0 max = 1 }
  3575. class = random_non_colonizable
  3576. orbit_angle = { min = 90 max = 270 }
  3577. orbit_distance = 5
  3578. }
  3579. }
  3580.  
  3581. planet = {
  3582. count = { min = 1 max = 2 }
  3583. orbit_distance = 20
  3584. class = pc_gas_giant
  3585. orbit_angle = { min = 90 max = 270 }
  3586.  
  3587. change_orbit = @base_moon_distance
  3588.  
  3589. moon = {
  3590. count = { min = 0 max = 3 }
  3591. class = random_non_colonizable
  3592. orbit_angle = { min = 90 max = 270 }
  3593. orbit_distance = 5
  3594. }
  3595. }
  3596.  
  3597. init_effect = {
  3598. random_system_planet = {
  3599. limit = { has_deposit_for = shipclass_mining_station }
  3600. create_mining_station = {
  3601. owner = ROOT
  3602. }
  3603. create_fleet = {
  3604. effect = {
  3605. set_owner = ROOT
  3606. create_ship = {
  3607. name = random
  3608. design = "Faith"
  3609. graphical_culture = root
  3610. }
  3611. set_location = {
  3612. target = PREV
  3613. distance = 20
  3614. angle = 90
  3615. }
  3616. }
  3617. }
  3618. }
  3619. random_system_planet = {
  3620. limit = {
  3621. has_deposit_for = shipclass_mining_station
  3622. has_mining_station = no
  3623. }
  3624. create_mining_station = {
  3625. owner = ROOT
  3626. }
  3627. }
  3628. random_system_planet = {
  3629. limit = { has_deposit_for = shipclass_research_station }
  3630. create_research_station = {
  3631. owner = ROOT
  3632. }
  3633. create_fleet = {
  3634. effect = {
  3635. set_owner = ROOT
  3636. create_ship = {
  3637. name = random
  3638. design = "Faith"
  3639. graphical_culture = root
  3640. }
  3641. set_location = {
  3642. target = PREV
  3643. distance = 20
  3644. angle = 90
  3645. }
  3646. }
  3647. }
  3648. }
  3649. random_system_planet = {
  3650. limit = {
  3651. has_deposit_for = shipclass_research_station
  3652. has_research_station = no
  3653. }
  3654. create_research_station = {
  3655. owner = ROOT
  3656. }
  3657. }
  3658. }
  3659.  
  3660. neighbor_system = {
  3661. distance = { min = 0 max = 50 }
  3662. initializer = "fallen_orbitals_1"
  3663. }
  3664. neighbor_system = {
  3665. distance = { min = 0 max = 50 }
  3666. initializer = "fallen_orbitals_2"
  3667. }
  3668. neighbor_system = {
  3669. distance = { min = 30 max = 100 }
  3670. initializer = "fallen_holy_01"
  3671. }
  3672. neighbor_system = {
  3673. distance = { min = 50 max = 150 }
  3674. initializer = "fallen_holy_02"
  3675. }
  3676. neighbor_system = {
  3677. distance = { min = 80 max = 200 }
  3678. initializer = "fallen_holy_03"
  3679. }
  3680. neighbor_system = {
  3681. distance = { min = 120 max = 250 }
  3682. initializer = "fallen_holy_04"
  3683. }
  3684. }
  3685.  
  3686. # Home System III
  3687. fallen_3 = {
  3688. usage = fallen_empire_init
  3689. class = "rl_standard_stars"
  3690. asteroids_distance = 50
  3691.  
  3692. planet = {
  3693. count = 1
  3694. class = star
  3695. orbit_distance = 0
  3696. orbit_angle = 1
  3697. size = { min = 20 max = 30 }
  3698. has_ring = no
  3699. }
  3700.  
  3701. change_orbit = 50
  3702.  
  3703. planet = {
  3704. count = { min = 1 max = 3 }
  3705. class = random_asteroid
  3706. orbit_distance = 0
  3707. orbit_angle = { min = 40 max = 100 }
  3708. }
  3709.  
  3710. planet = {
  3711. name = "Sky Father"
  3712. class = "pc_gas_giant"
  3713. orbit_distance = 60
  3714. orbit_angle = 200
  3715. size = 40
  3716. has_ring = no
  3717.  
  3718. change_orbit = @base_moon_distance
  3719.  
  3720. moon = {
  3721. name = "Cradle"
  3722. class = "pc_gaia"
  3723. size = 20
  3724. orbit_distance = 5
  3725. orbit_angle = 20
  3726. tile_blockers = none
  3727. modifiers = none
  3728.  
  3729. init_effect = {
  3730.  
  3731. create_cluster = {
  3732. id = fe3_cluster
  3733. radius = 120
  3734. center = this.solar_system
  3735. }
  3736.  
  3737. set_planet_flag = fallen_empire_world
  3738. prevent_anomaly = yes
  3739. set_owner = ROOT
  3740. set_capital = yes
  3741. create_pop = {
  3742. species = owner_main_species
  3743. ethos = owner
  3744. }
  3745. create_pop = {
  3746. species = owner_main_species
  3747. ethos = owner
  3748. }
  3749. create_pop = {
  3750. species = owner_main_species
  3751. ethos = owner
  3752. }
  3753. create_pop = {
  3754. species = owner_main_species
  3755. ethos = owner
  3756. }
  3757. create_pop = {
  3758. species = owner_main_species
  3759. ethos = owner
  3760. }
  3761. create_pop = {
  3762. species = owner_main_species
  3763. ethos = owner
  3764. }
  3765. create_pop = {
  3766. species = owner_main_species
  3767. ethos = owner
  3768. }
  3769. create_pop = {
  3770. species = owner_main_species
  3771. ethos = owner
  3772. }
  3773. create_pop = {
  3774. species = owner_main_species
  3775. ethos = owner
  3776. }
  3777. create_pop = {
  3778. species = owner_main_species
  3779. ethos = owner
  3780. }
  3781. create_pop = {
  3782. species = owner_main_species
  3783. ethos = owner
  3784. }
  3785. create_pop = {
  3786. species = owner_main_species
  3787. ethos = owner
  3788. }
  3789. create_pop = {
  3790. species = owner_main_species
  3791. ethos = owner
  3792. }
  3793. create_pop = {
  3794. species = owner_main_species
  3795. ethos = owner
  3796. }
  3797. create_pop = {
  3798. species = owner_main_species
  3799. ethos = owner
  3800. }
  3801. create_pop = {
  3802. species = owner_main_species
  3803. ethos = owner
  3804. }
  3805. create_pop = {
  3806. species = owner_main_species
  3807. ethos = owner
  3808. }
  3809. create_pop = {
  3810. species = owner_main_species
  3811. ethos = owner
  3812. }
  3813. create_pop = {
  3814. species = owner_main_species
  3815. ethos = owner
  3816. }
  3817. create_pop = {
  3818. species = owner_main_species
  3819. ethos = owner
  3820. }
  3821. random_tile = {
  3822. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  3823. set_building = "building_capital_3"
  3824. add_resource = {
  3825. resource = minerals
  3826. amount = 1
  3827. replace = yes
  3828. }
  3829. add_resource = {
  3830. resource = food
  3831. amount = 1
  3832. }
  3833. }
  3834. random_tile = {
  3835. limit = { has_building = no has_blocker = no }
  3836. set_building = "building_agri_processing_complex"
  3837. add_resource = {
  3838. resource = food
  3839. amount = 1
  3840. replace = yes
  3841. }
  3842. }
  3843. random_tile = {
  3844. limit = { has_building = no has_blocker = no }
  3845. set_building = "building_agri_processing_complex"
  3846. add_resource = {
  3847. resource = food
  3848. amount = 1
  3849. replace = yes
  3850. }
  3851. }
  3852. random_tile = {
  3853. limit = { has_building = no has_blocker = no }
  3854. set_building = "building_ancient_factory"
  3855. add_resource = {
  3856. resource = minerals
  3857. amount = 1
  3858. replace = yes
  3859. }
  3860. }
  3861. random_tile = {
  3862. limit = { has_building = no has_blocker = no }
  3863. set_building = "building_ancient_factory"
  3864. add_resource = {
  3865. resource = minerals
  3866. amount = 1
  3867. replace = yes
  3868. }
  3869. }
  3870. random_tile = {
  3871. limit = { has_building = no has_blocker = no }
  3872. set_building = "building_dark_matter_power_plant"
  3873. add_resource = {
  3874. resource = energy
  3875. amount = 1
  3876. replace = yes
  3877. }
  3878. }
  3879. random_tile = {
  3880. limit = { has_building = no has_blocker = no }
  3881. set_building = "building_dark_matter_power_plant"
  3882. add_resource = {
  3883. resource = energy
  3884. amount = 1
  3885. replace = yes
  3886. }
  3887. }
  3888. random_tile = {
  3889. limit = { has_building = no has_blocker = no }
  3890. set_building = "building_dark_matter_power_plant"
  3891. add_resource = {
  3892. resource = energy
  3893. amount = 1
  3894. replace = yes
  3895. }
  3896. }
  3897. random_tile = {
  3898. limit = { has_building = no has_blocker = no }
  3899. set_building = "building_dark_matter_power_plant"
  3900. add_resource = {
  3901. resource = energy
  3902. amount = 1
  3903. replace = yes
  3904. }
  3905. }
  3906. random_tile = {
  3907. limit = { has_building = no has_blocker = no }
  3908. set_building = "building_dark_matter_power_plant"
  3909. add_resource = {
  3910. resource = energy
  3911. amount = 1
  3912. replace = yes
  3913. }
  3914. }
  3915. random_tile = {
  3916. limit = { has_building = no has_blocker = no }
  3917. set_building = "building_dark_matter_power_plant"
  3918. add_resource = {
  3919. resource = energy
  3920. amount = 1
  3921. replace = yes
  3922. }
  3923. }
  3924. random_tile = {
  3925. limit = { has_building = no has_blocker = no }
  3926. set_building = "building_dark_matter_power_plant"
  3927. add_resource = {
  3928. resource = energy
  3929. amount = 1
  3930. replace = yes
  3931. }
  3932. }
  3933. random_tile = {
  3934. limit = { has_building = no has_blocker = no }
  3935. set_building = "building_dark_matter_power_plant"
  3936. add_resource = {
  3937. resource = energy
  3938. amount = 1
  3939. replace = yes
  3940. }
  3941. }
  3942. random_tile = {
  3943. limit = { has_building = no has_blocker = no }
  3944. set_building = "building_dark_matter_power_plant"
  3945. add_resource = {
  3946. resource = energy
  3947. amount = 1
  3948. replace = yes
  3949. }
  3950. }
  3951. random_tile = {
  3952. limit = { has_building = no has_blocker = no }
  3953. set_building = "building_dark_matter_power_plant"
  3954. add_resource = {
  3955. resource = energy
  3956. amount = 1
  3957. replace = yes
  3958. }
  3959. }
  3960. random_tile = {
  3961. limit = { has_building = no has_blocker = no }
  3962. set_building = "building_dark_matter_power_plant"
  3963. add_resource = {
  3964. resource = energy
  3965. amount = 1
  3966. replace = yes
  3967. }
  3968. }
  3969. random_tile = {
  3970. limit = { has_building = no has_blocker = no }
  3971. set_building = "building_dark_matter_power_plant"
  3972. add_resource = {
  3973. resource = energy
  3974. amount = 1
  3975. replace = yes
  3976. }
  3977. }
  3978. random_tile = {
  3979. limit = { has_building = no has_blocker = no }
  3980. set_building = "building_ancient_factory"
  3981. add_resource = {
  3982. resource = minerals
  3983. amount = 1
  3984. replace = yes
  3985. }
  3986. }
  3987. random_tile = {
  3988. limit = { has_building = no has_blocker = no }
  3989. set_building = "building_ancient_factory"
  3990. add_resource = {
  3991. resource = minerals
  3992. amount = 1
  3993. replace = yes
  3994. }
  3995. }
  3996. random_tile = {
  3997. limit = { has_building = no has_blocker = no }
  3998. set_building = "building_ancient_factory"
  3999. add_resource = {
  4000. resource = minerals
  4001. amount = 1
  4002. replace = yes
  4003. }
  4004. }
  4005. random_tile = {
  4006. limit = { has_building = no has_blocker = no }
  4007. set_building = "building_ancient_factory"
  4008. add_resource = {
  4009. resource = minerals
  4010. amount = 1
  4011. replace = yes
  4012. }
  4013. }
  4014. create_army = {
  4015. name = random
  4016. owner = ROOT
  4017. species = ROOT
  4018. type = "xenomorph_army"
  4019. }
  4020. create_army = {
  4021. name = random
  4022. owner = ROOT
  4023. species = ROOT
  4024. type = "xenomorph_army"
  4025. }
  4026. create_army = {
  4027. name = random
  4028. owner = ROOT
  4029. species = ROOT
  4030. type = "xenomorph_army"
  4031. }
  4032. create_army = {
  4033. name = random
  4034. owner = ROOT
  4035. species = ROOT
  4036. type = "xenomorph_army"
  4037. }
  4038. create_army = {
  4039. name = random
  4040. owner = ROOT
  4041. species = ROOT
  4042. type = "xenomorph_army"
  4043. }
  4044. create_army = {
  4045. name = random
  4046. owner = ROOT
  4047. species = ROOT
  4048. type = "xenomorph_army"
  4049. }
  4050. create_army = {
  4051. name = random
  4052. owner = ROOT
  4053. species = ROOT
  4054. type = "defense_army"
  4055. }
  4056. create_army = {
  4057. name = random
  4058. owner = ROOT
  4059. species = ROOT
  4060. type = "defense_army"
  4061. }
  4062. create_army = {
  4063. name = random
  4064. owner = ROOT
  4065. species = ROOT
  4066. type = "defense_army"
  4067. }
  4068. create_army = {
  4069. name = random
  4070. owner = ROOT
  4071. species = ROOT
  4072. type = "defense_army"
  4073. }
  4074. create_army = {
  4075. name = random
  4076. owner = ROOT
  4077. species = ROOT
  4078. type = "defense_army"
  4079. }
  4080. create_army = {
  4081. name = random
  4082. owner = ROOT
  4083. species = ROOT
  4084. type = "defense_army"
  4085. }
  4086. create_spaceport = {
  4087. owner = ROOT
  4088. initial_module = "fallen_empire_weapon"
  4089. }
  4090. spaceport = {
  4091. set_spaceport_level = 6
  4092. set_spaceport_module = {
  4093. slot = 1
  4094. module = "crew_quarters"
  4095. }
  4096. set_spaceport_module = {
  4097. slot = 2
  4098. module = "fleet_academy"
  4099. }
  4100. set_spaceport_module = {
  4101. slot = 3
  4102. module = "synchronized_defenses"
  4103. }
  4104. set_spaceport_module = {
  4105. slot = 4
  4106. module = "engineering_bay"
  4107. }
  4108. }
  4109. create_fleet = {
  4110. effect = {
  4111. set_owner = ROOT
  4112. create_ship = {
  4113. name = random
  4114. design = "Builder"
  4115. graphical_culture = root
  4116. }
  4117. set_location = {
  4118. target = PREV
  4119. distance = 80
  4120. }
  4121. }
  4122. }
  4123. create_fleet = {
  4124. effect = {
  4125. set_owner = ROOT
  4126. create_ship = {
  4127. name = random
  4128. design = "Builder"
  4129. graphical_culture = root
  4130. }
  4131. set_location = {
  4132. target = PREV
  4133. distance = 90
  4134. }
  4135. }
  4136. }
  4137. create_fleet = {
  4138. effect = {
  4139. set_owner = ROOT
  4140. create_ship = {
  4141. name = random
  4142. design = "Builder"
  4143. graphical_culture = root
  4144. }
  4145. set_location = {
  4146. target = PREV
  4147. distance = 100
  4148. }
  4149. }
  4150. }
  4151. random = {
  4152. chance = 5
  4153. create_fleet = {
  4154. effect = {
  4155. set_owner = ROOT
  4156. create_ship = {
  4157. name = random
  4158. design = "Keeper"
  4159. graphical_culture = root
  4160. }
  4161. set_location = {
  4162. target = PREV
  4163. distance = 20
  4164. angle = random
  4165. }
  4166. }
  4167. }
  4168. }
  4169. create_fleet = {
  4170. effect = {
  4171. set_owner = ROOT
  4172. create_ship = {
  4173. name = random
  4174. design = "Custodian"
  4175. graphical_culture = root
  4176. }
  4177. create_ship = {
  4178. name = random
  4179. design = "Custodian"
  4180. graphical_culture = root
  4181. }
  4182. create_ship = {
  4183. name = random
  4184. design = "Custodian"
  4185. graphical_culture = root
  4186. }
  4187. create_ship = {
  4188. name = random
  4189. design = "Custodian"
  4190. graphical_culture = root
  4191. }
  4192. create_ship = {
  4193. name = random
  4194. design = "Custodian"
  4195. graphical_culture = root
  4196. }
  4197. create_ship = {
  4198. name = random
  4199. design = "Custodian"
  4200. graphical_culture = root
  4201. }
  4202. create_ship = {
  4203. name = random
  4204. design = "Custodian"
  4205. graphical_culture = root
  4206. }
  4207. create_ship = {
  4208. name = random
  4209. design = "Custodian"
  4210. graphical_culture = root
  4211. }
  4212. create_ship = {
  4213. name = random
  4214. design = "Custodian"
  4215. graphical_culture = root
  4216. }
  4217. create_ship = {
  4218. name = random
  4219. design = "Custodian"
  4220. graphical_culture = root
  4221. }
  4222. create_ship = {
  4223. name = random
  4224. design = "Warden"
  4225. graphical_culture = root
  4226. }
  4227. create_ship = {
  4228. name = random
  4229. design = "Warden"
  4230. graphical_culture = root
  4231. }
  4232. create_ship = {
  4233. name = random
  4234. design = "Warden"
  4235. graphical_culture = root
  4236. }
  4237. create_ship = {
  4238. name = random
  4239. design = "Warden"
  4240. graphical_culture = root
  4241. }
  4242. create_ship = {
  4243. name = random
  4244. design = "Warden"
  4245. graphical_culture = root
  4246. }
  4247. create_ship = {
  4248. name = random
  4249. design = "Warden"
  4250. graphical_culture = root
  4251. }
  4252. create_ship = {
  4253. name = random
  4254. design = "Warden"
  4255. graphical_culture = root
  4256. }
  4257. create_ship = {
  4258. name = random
  4259. design = "Warden"
  4260. graphical_culture = root
  4261. }
  4262. create_ship = {
  4263. name = random
  4264. design = "Warden"
  4265. graphical_culture = root
  4266. }
  4267. create_ship = {
  4268. name = random
  4269. design = "Warden"
  4270. graphical_culture = root
  4271. }
  4272. create_ship = {
  4273. name = random
  4274. design = "Warden"
  4275. graphical_culture = root
  4276. }
  4277. create_ship = {
  4278. name = random
  4279. design = "Warden"
  4280. graphical_culture = root
  4281. }
  4282. create_ship = {
  4283. name = random
  4284. design = "Warden"
  4285. graphical_culture = root
  4286. }
  4287. create_ship = {
  4288. name = random
  4289. design = "Warden"
  4290. graphical_culture = root
  4291. }
  4292. create_ship = {
  4293. name = random
  4294. design = "Warden"
  4295. graphical_culture = root
  4296. }
  4297. create_ship = {
  4298. name = random
  4299. design = "Warden"
  4300. graphical_culture = root
  4301. }
  4302. create_ship = {
  4303. name = random
  4304. design = "Warden"
  4305. graphical_culture = root
  4306. }
  4307. create_ship = {
  4308. name = random
  4309. design = "Warden"
  4310. graphical_culture = root
  4311. }
  4312. create_ship = {
  4313. name = random
  4314. design = "Warden"
  4315. graphical_culture = root
  4316. }
  4317. create_ship = {
  4318. name = random
  4319. design = "Warden"
  4320. graphical_culture = root
  4321. }
  4322. set_location = {
  4323. target = PREV
  4324. distance = 70
  4325. angle = random
  4326. }
  4327. }
  4328. }
  4329. create_fleet = {
  4330. effect = {
  4331. set_owner = ROOT
  4332. create_ship = {
  4333. name = random
  4334. design = "Custodian"
  4335. graphical_culture = root
  4336. }
  4337. create_ship = {
  4338. name = random
  4339. design = "Custodian"
  4340. graphical_culture = root
  4341. }
  4342. create_ship = {
  4343. name = random
  4344. design = "Custodian"
  4345. graphical_culture = root
  4346. }
  4347. create_ship = {
  4348. name = random
  4349. design = "Custodian"
  4350. graphical_culture = root
  4351. }
  4352. create_ship = {
  4353. name = random
  4354. design = "Custodian"
  4355. graphical_culture = root
  4356. }
  4357. create_ship = {
  4358. name = random
  4359. design = "Custodian"
  4360. graphical_culture = root
  4361. }
  4362. create_ship = {
  4363. name = random
  4364. design = "Custodian"
  4365. graphical_culture = root
  4366. }
  4367. create_ship = {
  4368. name = random
  4369. design = "Custodian"
  4370. graphical_culture = root
  4371. }
  4372. create_ship = {
  4373. name = random
  4374. design = "Custodian"
  4375. graphical_culture = root
  4376. }
  4377. create_ship = {
  4378. name = random
  4379. design = "Custodian"
  4380. graphical_culture = root
  4381. }
  4382. create_ship = {
  4383. name = random
  4384. design = "Warden"
  4385. graphical_culture = root
  4386. }
  4387. create_ship = {
  4388. name = random
  4389. design = "Warden"
  4390. graphical_culture = root
  4391. }
  4392. create_ship = {
  4393. name = random
  4394. design = "Warden"
  4395. graphical_culture = root
  4396. }
  4397. create_ship = {
  4398. name = random
  4399. design = "Warden"
  4400. graphical_culture = root
  4401. }
  4402. create_ship = {
  4403. name = random
  4404. design = "Warden"
  4405. graphical_culture = root
  4406. }
  4407. create_ship = {
  4408. name = random
  4409. design = "Warden"
  4410. graphical_culture = root
  4411. }
  4412. create_ship = {
  4413. name = random
  4414. design = "Warden"
  4415. graphical_culture = root
  4416. }
  4417. create_ship = {
  4418. name = random
  4419. design = "Warden"
  4420. graphical_culture = root
  4421. }
  4422. create_ship = {
  4423. name = random
  4424. design = "Warden"
  4425. graphical_culture = root
  4426. }
  4427. create_ship = {
  4428. name = random
  4429. design = "Warden"
  4430. graphical_culture = root
  4431. }
  4432. create_ship = {
  4433. name = random
  4434. design = "Warden"
  4435. graphical_culture = root
  4436. }
  4437. create_ship = {
  4438. name = random
  4439. design = "Warden"
  4440. graphical_culture = root
  4441. }
  4442. create_ship = {
  4443. name = random
  4444. design = "Warden"
  4445. graphical_culture = root
  4446. }
  4447. create_ship = {
  4448. name = random
  4449. design = "Warden"
  4450. graphical_culture = root
  4451. }
  4452. create_ship = {
  4453. name = random
  4454. design = "Warden"
  4455. graphical_culture = root
  4456. }
  4457. create_ship = {
  4458. name = random
  4459. design = "Warden"
  4460. graphical_culture = root
  4461. }
  4462. create_ship = {
  4463. name = random
  4464. design = "Warden"
  4465. graphical_culture = root
  4466. }
  4467. create_ship = {
  4468. name = random
  4469. design = "Warden"
  4470. graphical_culture = root
  4471. }
  4472. create_ship = {
  4473. name = random
  4474. design = "Warden"
  4475. graphical_culture = root
  4476. }
  4477. create_ship = {
  4478. name = random
  4479. design = "Warden"
  4480. graphical_culture = root
  4481. }
  4482. set_location = {
  4483. target = PREV
  4484. distance = 90
  4485. angle = random
  4486. }
  4487. }
  4488. }
  4489. random = {
  4490. chance = 33
  4491. create_fleet = {
  4492. effect = {
  4493. set_owner = ROOT
  4494. create_ship = {
  4495. name = random
  4496. design = "Custodian"
  4497. graphical_culture = root
  4498. }
  4499. create_ship = {
  4500. name = random
  4501. design = "Custodian"
  4502. graphical_culture = root
  4503. }
  4504. create_ship = {
  4505. name = random
  4506. design = "Custodian"
  4507. graphical_culture = root
  4508. }
  4509. create_ship = {
  4510. name = random
  4511. design = "Custodian"
  4512. graphical_culture = root
  4513. }
  4514. create_ship = {
  4515. name = random
  4516. design = "Custodian"
  4517. graphical_culture = root
  4518. }
  4519. create_ship = {
  4520. name = random
  4521. design = "Custodian"
  4522. graphical_culture = root
  4523. }
  4524. create_ship = {
  4525. name = random
  4526. design = "Custodian"
  4527. graphical_culture = root
  4528. }
  4529. create_ship = {
  4530. name = random
  4531. design = "Custodian"
  4532. graphical_culture = root
  4533. }
  4534. create_ship = {
  4535. name = random
  4536. design = "Custodian"
  4537. graphical_culture = root
  4538. }
  4539. create_ship = {
  4540. name = random
  4541. design = "Custodian"
  4542. graphical_culture = root
  4543. }
  4544. create_ship = {
  4545. name = random
  4546. design = "Warden"
  4547. graphical_culture = root
  4548. }
  4549. create_ship = {
  4550. name = random
  4551. design = "Warden"
  4552. graphical_culture = root
  4553. }
  4554. create_ship = {
  4555. name = random
  4556. design = "Warden"
  4557. graphical_culture = root
  4558. }
  4559. create_ship = {
  4560. name = random
  4561. design = "Warden"
  4562. graphical_culture = root
  4563. }
  4564. create_ship = {
  4565. name = random
  4566. design = "Warden"
  4567. graphical_culture = root
  4568. }
  4569. create_ship = {
  4570. name = random
  4571. design = "Warden"
  4572. graphical_culture = root
  4573. }
  4574. create_ship = {
  4575. name = random
  4576. design = "Warden"
  4577. graphical_culture = root
  4578. }
  4579. create_ship = {
  4580. name = random
  4581. design = "Warden"
  4582. graphical_culture = root
  4583. }
  4584. create_ship = {
  4585. name = random
  4586. design = "Warden"
  4587. graphical_culture = root
  4588. }
  4589. create_ship = {
  4590. name = random
  4591. design = "Warden"
  4592. graphical_culture = root
  4593. }
  4594. create_ship = {
  4595. name = random
  4596. design = "Warden"
  4597. graphical_culture = root
  4598. }
  4599. create_ship = {
  4600. name = random
  4601. design = "Warden"
  4602. graphical_culture = root
  4603. }
  4604. create_ship = {
  4605. name = random
  4606. design = "Warden"
  4607. graphical_culture = root
  4608. }
  4609. create_ship = {
  4610. name = random
  4611. design = "Warden"
  4612. graphical_culture = root
  4613. }
  4614. create_ship = {
  4615. name = random
  4616. design = "Warden"
  4617. graphical_culture = root
  4618. }
  4619. create_ship = {
  4620. name = random
  4621. design = "Warden"
  4622. graphical_culture = root
  4623. }
  4624. create_ship = {
  4625. name = random
  4626. design = "Warden"
  4627. graphical_culture = root
  4628. }
  4629. create_ship = {
  4630. name = random
  4631. design = "Warden"
  4632. graphical_culture = root
  4633. }
  4634. create_ship = {
  4635. name = random
  4636. design = "Warden"
  4637. graphical_culture = root
  4638. }
  4639. create_ship = {
  4640. name = random
  4641. design = "Warden"
  4642. graphical_culture = root
  4643. }
  4644. set_location = {
  4645. target = PREV
  4646. distance = 45
  4647. angle = random
  4648. }
  4649. }
  4650. }
  4651. }
  4652. create_fleet = {
  4653. effect = {
  4654. set_owner = ROOT
  4655. create_ship = {
  4656. name = random
  4657. design = "Sentinel"
  4658. graphical_culture = root
  4659. }
  4660. set_location = {
  4661. target = PREV
  4662. distance = 20
  4663. angle = 90
  4664. }
  4665. }
  4666. }
  4667. create_fleet = {
  4668. effect = {
  4669. set_owner = ROOT
  4670. create_ship = {
  4671. name = random
  4672. design = "Sentinel"
  4673. graphical_culture = root
  4674. }
  4675. set_location = {
  4676. target = PREV
  4677. distance = 20
  4678. angle = 180
  4679. }
  4680. }
  4681. }
  4682. create_fleet = {
  4683. effect = {
  4684. set_owner = ROOT
  4685. create_ship = {
  4686. name = random
  4687. design = "Sentinel"
  4688. graphical_culture = root
  4689. }
  4690. set_location = {
  4691. target = PREV
  4692. distance = 20
  4693. angle = 270
  4694. }
  4695. }
  4696. }
  4697. create_fleet = {
  4698. effect = {
  4699. set_owner = ROOT
  4700. create_ship = {
  4701. name = random
  4702. design = "Sentinel"
  4703. graphical_culture = root
  4704. }
  4705. set_location = {
  4706. target = PREV
  4707. distance = 20
  4708. angle = 0
  4709. }
  4710. }
  4711. }
  4712. }
  4713. }
  4714.  
  4715. moon = {
  4716. name = "Sister"
  4717. class = "pc_barren"
  4718. entity = "barren_planet_01_destroyed_entity"
  4719. size = 13
  4720. orbit_distance = 5
  4721. orbit_angle = 50
  4722. }
  4723.  
  4724. moon = {
  4725. name = "Brother"
  4726. class = "pc_gaia"
  4727. size = 10
  4728. orbit_distance = 8
  4729. orbit_angle = 10
  4730. tile_blockers = none
  4731. modifiers = none
  4732.  
  4733. init_effect = {
  4734. set_planet_flag = fallen_empire_world
  4735. prevent_anomaly = yes
  4736. set_owner = ROOT
  4737. random_tile = {
  4738. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  4739. set_building = "building_capital_2"
  4740. add_resource = {
  4741. resource = minerals
  4742. amount = 1
  4743. replace = yes
  4744. }
  4745. add_resource = {
  4746. resource = food
  4747. amount = 1
  4748. }
  4749. }
  4750. random_tile = {
  4751. limit = { has_building = no has_blocker = no }
  4752. set_building = "building_agri_processing_complex"
  4753. add_resource = {
  4754. resource = food
  4755. amount = 1
  4756. replace = yes
  4757. }
  4758. }
  4759. random_tile = {
  4760. limit = { has_building = no has_blocker = no }
  4761. set_building = "building_agri_processing_complex"
  4762. add_resource = {
  4763. resource = food
  4764. amount = 1
  4765. replace = yes
  4766. }
  4767. }
  4768. random_tile = {
  4769. limit = { has_building = no has_blocker = no }
  4770. set_building = "building_dark_matter_power_plant"
  4771. add_resource = {
  4772. resource = energy
  4773. amount = 1
  4774. replace = yes
  4775. }
  4776. }
  4777. random_tile = {
  4778. limit = { has_building = no has_blocker = no }
  4779. set_building = "building_dark_matter_power_plant"
  4780. add_resource = {
  4781. resource = energy
  4782. amount = 1
  4783. replace = yes
  4784. }
  4785. }
  4786. random_tile = {
  4787. limit = { has_building = no has_blocker = no }
  4788. set_building = "building_dark_matter_power_plant"
  4789. add_resource = {
  4790. resource = energy
  4791. amount = 1
  4792. replace = yes
  4793. }
  4794. }
  4795. random_tile = {
  4796. limit = { has_building = no has_blocker = no }
  4797. set_building = "building_dark_matter_power_plant"
  4798. add_resource = {
  4799. resource = energy
  4800. amount = 1
  4801. replace = yes
  4802. }
  4803. }
  4804. random_tile = {
  4805. limit = { has_building = no has_blocker = no }
  4806. set_building = "building_ancient_factory"
  4807. add_resource = {
  4808. resource = energy
  4809. amount = 1
  4810. replace = yes
  4811. }
  4812. }
  4813. random_tile = {
  4814. limit = { has_building = no has_blocker = no }
  4815. set_building = "building_ancient_factory"
  4816. add_resource = {
  4817. resource = energy
  4818. amount = 1
  4819. replace = yes
  4820. }
  4821. }
  4822. random_tile = {
  4823. limit = { has_building = no has_blocker = no }
  4824. set_building = "building_ancient_factory"
  4825. add_resource = {
  4826. resource = energy
  4827. amount = 1
  4828. replace = yes
  4829. }
  4830. }
  4831. create_pop = {
  4832. species = owner_main_species
  4833. ethos = owner
  4834. }
  4835. create_pop = {
  4836. species = owner_main_species
  4837. ethos = owner
  4838. }
  4839. create_pop = {
  4840. species = owner_main_species
  4841. ethos = owner
  4842. }
  4843. create_pop = {
  4844. species = owner_main_species
  4845. ethos = owner
  4846. }
  4847. create_pop = {
  4848. species = owner_main_species
  4849. ethos = owner
  4850. }
  4851. create_pop = {
  4852. species = owner_main_species
  4853. ethos = owner
  4854. }
  4855. create_pop = {
  4856. species = owner_main_species
  4857. ethos = owner
  4858. }
  4859. create_pop = {
  4860. species = owner_main_species
  4861. ethos = owner
  4862. }
  4863. create_pop = {
  4864. species = owner_main_species
  4865. ethos = owner
  4866. }
  4867. create_pop = {
  4868. species = owner_main_species
  4869. ethos = owner
  4870. }
  4871. create_army = {
  4872. name = random
  4873. owner = ROOT
  4874. species = ROOT
  4875. type = "defense_army"
  4876. }
  4877. create_army = {
  4878. name = random
  4879. owner = ROOT
  4880. species = ROOT
  4881. type = "defense_army"
  4882. }
  4883. create_army = {
  4884. name = random
  4885. owner = ROOT
  4886. species = ROOT
  4887. type = "defense_army"
  4888. }
  4889. create_army = {
  4890. name = random
  4891. owner = ROOT
  4892. species = ROOT
  4893. type = "defense_army"
  4894. }
  4895. create_spaceport = {
  4896. owner = ROOT
  4897. initial_module = "fallen_empire_weapon"
  4898. }
  4899. spaceport = {
  4900. set_spaceport_level = 6
  4901. set_spaceport_module = {
  4902. slot = 1
  4903. module = "crew_quarters"
  4904. }
  4905. set_spaceport_module = {
  4906. slot = 2
  4907. module = "fleet_academy"
  4908. }
  4909. set_spaceport_module = {
  4910. slot = 3
  4911. module = "synchronized_defenses"
  4912. }
  4913. set_spaceport_module = {
  4914. slot = 4
  4915. module = "engineering_bay"
  4916. }
  4917. }
  4918. }
  4919. }
  4920.  
  4921. moon = {
  4922. name = "Mother"
  4923. class = "pc_gaia"
  4924. size = 12
  4925. orbit_distance = 5
  4926. orbit_angle = 190
  4927. tile_blockers = none
  4928. modifiers = none
  4929.  
  4930. init_effect = {
  4931. set_planet_flag = fallen_empire_world
  4932. prevent_anomaly = yes
  4933. set_owner = ROOT
  4934. random_tile = {
  4935. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  4936. set_building = "building_capital_2"
  4937. add_resource = {
  4938. resource = minerals
  4939. amount = 1
  4940. replace = yes
  4941. }
  4942. add_resource = {
  4943. resource = food
  4944. amount = 1
  4945. }
  4946. }
  4947. random_tile = {
  4948. limit = { has_building = no has_blocker = no }
  4949. set_building = "building_agri_processing_complex"
  4950. add_resource = {
  4951. resource = food
  4952. amount = 1
  4953. replace = yes
  4954. }
  4955. }
  4956. random_tile = {
  4957. limit = { has_building = no has_blocker = no }
  4958. set_building = "building_agri_processing_complex"
  4959. add_resource = {
  4960. resource = food
  4961. amount = 1
  4962. replace = yes
  4963. }
  4964. }
  4965. random_tile = {
  4966. limit = { has_building = no has_blocker = no }
  4967. set_building = "building_ancient_factory"
  4968. add_resource = {
  4969. resource = energy
  4970. amount = 1
  4971. replace = yes
  4972. }
  4973. }
  4974. random_tile = {
  4975. limit = { has_building = no has_blocker = no }
  4976. set_building = "building_ancient_factory"
  4977. add_resource = {
  4978. resource = energy
  4979. amount = 1
  4980. replace = yes
  4981. }
  4982. }
  4983. random_tile = {
  4984. limit = { has_building = no has_blocker = no }
  4985. set_building = "building_dark_matter_power_plant"
  4986. add_resource = {
  4987. resource = energy
  4988. amount = 1
  4989. replace = yes
  4990. }
  4991. }
  4992. random_tile = {
  4993. limit = { has_building = no has_blocker = no }
  4994. set_building = "building_dark_matter_power_plant"
  4995. add_resource = {
  4996. resource = energy
  4997. amount = 1
  4998. replace = yes
  4999. }
  5000. }
  5001. random_tile = {
  5002. limit = { has_building = no has_blocker = no }
  5003. set_building = "building_dark_matter_power_plant"
  5004. add_resource = {
  5005. resource = energy
  5006. amount = 1
  5007. replace = yes
  5008. }
  5009. }
  5010. random_tile = {
  5011. limit = { has_building = no has_blocker = no }
  5012. set_building = "building_dark_matter_power_plant"
  5013. add_resource = {
  5014. resource = energy
  5015. amount = 1
  5016. replace = yes
  5017. }
  5018. }
  5019. random_tile = {
  5020. limit = { has_building = no has_blocker = no }
  5021. set_building = "building_dark_matter_power_plant"
  5022. add_resource = {
  5023. resource = energy
  5024. amount = 1
  5025. replace = yes
  5026. }
  5027. }
  5028. random_tile = {
  5029. limit = { has_building = no has_blocker = no }
  5030. set_building = "building_ancient_factory"
  5031. add_resource = {
  5032. resource = energy
  5033. amount = 1
  5034. replace = yes
  5035. }
  5036. }
  5037. random_tile = {
  5038. limit = { has_building = no has_blocker = no }
  5039. set_building = "building_ancient_factory"
  5040. add_resource = {
  5041. resource = energy
  5042. amount = 1
  5043. replace = yes
  5044. }
  5045. }
  5046. create_pop = {
  5047. species = owner_main_species
  5048. ethos = owner
  5049. }
  5050. create_pop = {
  5051. species = owner_main_species
  5052. ethos = owner
  5053. }
  5054. create_pop = {
  5055. species = owner_main_species
  5056. ethos = owner
  5057. }
  5058. create_pop = {
  5059. species = owner_main_species
  5060. ethos = owner
  5061. }
  5062. create_pop = {
  5063. species = owner_main_species
  5064. ethos = owner
  5065. }
  5066. create_pop = {
  5067. species = owner_main_species
  5068. ethos = owner
  5069. }
  5070. create_pop = {
  5071. species = owner_main_species
  5072. ethos = owner
  5073. }
  5074. create_pop = {
  5075. species = owner_main_species
  5076. ethos = owner
  5077. }
  5078. create_pop = {
  5079. species = owner_main_species
  5080. ethos = owner
  5081. }
  5082. create_pop = {
  5083. species = owner_main_species
  5084. ethos = owner
  5085. }
  5086. create_pop = {
  5087. species = owner_main_species
  5088. ethos = owner
  5089. }
  5090. create_pop = {
  5091. species = owner_main_species
  5092. ethos = owner
  5093. }
  5094. create_army = {
  5095. name = random
  5096. owner = ROOT
  5097. species = ROOT
  5098. type = "defense_army"
  5099. }
  5100. create_army = {
  5101. name = random
  5102. owner = ROOT
  5103. species = ROOT
  5104. type = "defense_army"
  5105. }
  5106. create_army = {
  5107. name = random
  5108. owner = ROOT
  5109. species = ROOT
  5110. type = "defense_army"
  5111. }
  5112. create_army = {
  5113. name = random
  5114. owner = ROOT
  5115. species = ROOT
  5116. type = "defense_army"
  5117. }
  5118. create_spaceport = {
  5119. owner = ROOT
  5120. initial_module = "fallen_empire_weapon"
  5121. }
  5122. spaceport = {
  5123. set_spaceport_level = 6
  5124. set_spaceport_module = {
  5125. slot = 1
  5126. module = "crew_quarters"
  5127. }
  5128. set_spaceport_module = {
  5129. slot = 2
  5130. module = "fleet_academy"
  5131. }
  5132. set_spaceport_module = {
  5133. slot = 3
  5134. module = "synchronized_defenses"
  5135. }
  5136. set_spaceport_module = {
  5137. slot = 4
  5138. module = "engineering_bay"
  5139. }
  5140. }
  5141. }
  5142. }
  5143. }
  5144.  
  5145. neighbor_system = {
  5146. distance = { min = 0 max = 50 }
  5147. initializer = "fallen_xeno_zoo"
  5148. }
  5149. neighbor_system = {
  5150. distance = { min = 0 max = 50 }
  5151. initializer = "fallen_orbitals_1"
  5152. }
  5153. neighbor_system = {
  5154. distance = { min = 0 max = 50 }
  5155. initializer = "fallen_orbitals_2"
  5156. }
  5157. }
  5158.  
  5159. # Home System IV
  5160. fallen_4 = {
  5161. usage = fallen_empire_init
  5162. class = "rl_standard_stars"
  5163. asteroids_distance = 50
  5164.  
  5165. planet = {
  5166. count = 1
  5167. class = star
  5168. orbit_distance = 0
  5169. orbit_angle = 1
  5170. size = { min = 20 max = 30 }
  5171. has_ring = no
  5172. }
  5173.  
  5174. change_orbit = 50
  5175.  
  5176. planet = {
  5177. count = { min = 0 max = 3 }
  5178. class = random_asteroid
  5179. orbit_distance = 0
  5180. orbit_angle = { min = 40 max = 100 }
  5181. }
  5182.  
  5183. planet = {
  5184. count = { min = 0 max = 3 }
  5185. orbit_distance = 20
  5186. class = random_non_colonizable
  5187. orbit_angle = { min = 90 max = 270 }
  5188.  
  5189. change_orbit = @base_moon_distance
  5190.  
  5191. moon = {
  5192. count = { min = 0 max = 1 }
  5193. class = random_non_colonizable
  5194. orbit_angle = { min = 90 max = 270 }
  5195. orbit_distance = 5
  5196. }
  5197. }
  5198.  
  5199. planet = {
  5200. name = "The Core"
  5201. orbit_distance = 20
  5202. class = pc_gaia
  5203. orbit_angle = { min = 90 max = 270 }
  5204. size = 25
  5205. tile_blockers = none
  5206. modifiers = none
  5207. has_ring = no
  5208.  
  5209. init_effect = {
  5210.  
  5211. create_cluster = {
  5212. id = fe4_cluster
  5213. radius = 100
  5214. center = this.solar_system
  5215. }
  5216.  
  5217. set_planet_flag = fallen_empire_world
  5218. prevent_anomaly = yes
  5219. set_owner = ROOT
  5220. set_capital = yes
  5221. create_pop = {
  5222. species = owner_main_species
  5223. ethos = owner
  5224. }
  5225. create_pop = {
  5226. species = owner_main_species
  5227. ethos = owner
  5228. }
  5229. create_pop = {
  5230. species = owner_main_species
  5231. ethos = owner
  5232. }
  5233. create_pop = {
  5234. species = owner_main_species
  5235. ethos = owner
  5236. }
  5237. create_pop = {
  5238. species = owner_main_species
  5239. ethos = owner
  5240. }
  5241. create_pop = {
  5242. species = owner_main_species
  5243. ethos = owner
  5244. }
  5245. create_pop = {
  5246. species = owner_main_species
  5247. ethos = owner
  5248. }
  5249. create_pop = {
  5250. species = owner_main_species
  5251. ethos = owner
  5252. }
  5253. create_pop = {
  5254. species = owner_main_species
  5255. ethos = owner
  5256. }
  5257. create_pop = {
  5258. species = owner_main_species
  5259. ethos = owner
  5260. }
  5261. create_pop = {
  5262. species = owner_main_species
  5263. ethos = owner
  5264. }
  5265. create_pop = {
  5266. species = owner_main_species
  5267. ethos = owner
  5268. }
  5269. create_pop = {
  5270. species = owner_main_species
  5271. ethos = owner
  5272. }
  5273. create_pop = {
  5274. species = owner_main_species
  5275. ethos = owner
  5276. }
  5277. create_pop = {
  5278. species = owner_main_species
  5279. ethos = owner
  5280. }
  5281. create_pop = {
  5282. species = ROBOT_POP_SPECIES_3
  5283. ethos = owner
  5284. }
  5285. create_pop = {
  5286. species = ROBOT_POP_SPECIES_3
  5287. ethos = owner
  5288. }
  5289. create_pop = {
  5290. species = ROBOT_POP_SPECIES_3
  5291. ethos = owner
  5292. }
  5293. create_pop = {
  5294. species = ROBOT_POP_SPECIES_3
  5295. ethos = owner
  5296. }
  5297. create_pop = {
  5298. species = ROBOT_POP_SPECIES_3
  5299. ethos = owner
  5300. }
  5301. create_pop = {
  5302. species = ROBOT_POP_SPECIES_3
  5303. ethos = owner
  5304. }
  5305. create_pop = {
  5306. species = ROBOT_POP_SPECIES_3
  5307. ethos = owner
  5308. }
  5309. create_pop = {
  5310. species = ROBOT_POP_SPECIES_3
  5311. ethos = owner
  5312. }
  5313. create_pop = {
  5314. species = ROBOT_POP_SPECIES_3
  5315. ethos = owner
  5316. }
  5317. create_pop = {
  5318. species = ROBOT_POP_SPECIES_3
  5319. ethos = owner
  5320. }
  5321. random_tile = {
  5322. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  5323. set_building = "building_capital_3"
  5324. add_resource = {
  5325. resource = minerals
  5326. amount = 1
  5327. replace = yes
  5328. }
  5329. add_resource = {
  5330. resource = food
  5331. amount = 1
  5332. }
  5333. }
  5334. random_tile = {
  5335. limit = { has_building = no has_blocker = no }
  5336. set_building = "building_agri_processing_complex"
  5337. add_resource = {
  5338. resource = food
  5339. amount = 1
  5340. replace = yes
  5341. }
  5342. }
  5343. random_tile = {
  5344. limit = { has_building = no has_blocker = no }
  5345. set_building = "building_dark_matter_power_plant"
  5346. add_resource = {
  5347. resource = food
  5348. amount = 1
  5349. replace = yes
  5350. }
  5351. }
  5352. random_tile = {
  5353. limit = { has_building = no has_blocker = no }
  5354. set_building = "building_dark_matter_power_plant"
  5355. add_resource = {
  5356. resource = energy
  5357. amount = 1
  5358. replace = yes
  5359. }
  5360. }
  5361. random_tile = {
  5362. limit = { has_building = no has_blocker = no }
  5363. set_building = "building_dark_matter_power_plant"
  5364. add_resource = {
  5365. resource = energy
  5366. amount = 1
  5367. replace = yes
  5368. }
  5369. }
  5370. random_tile = {
  5371. limit = { has_building = no has_blocker = no }
  5372. set_building = "building_dark_matter_power_plant"
  5373. add_resource = {
  5374. resource = energy
  5375. amount = 1
  5376. replace = yes
  5377. }
  5378. }
  5379. random_tile = {
  5380. limit = { has_building = no has_blocker = no }
  5381. set_building = "building_dark_matter_power_plant"
  5382. add_resource = {
  5383. resource = energy
  5384. amount = 1
  5385. replace = yes
  5386. }
  5387. }
  5388. random_tile = {
  5389. limit = { has_building = no has_blocker = no }
  5390. set_building = "building_dark_matter_power_plant"
  5391. add_resource = {
  5392. resource = energy
  5393. amount = 1
  5394. replace = yes
  5395. }
  5396. }
  5397. random_tile = {
  5398. limit = { has_building = no has_blocker = no }
  5399. set_building = "building_dark_matter_power_plant"
  5400. add_resource = {
  5401. resource = energy
  5402. amount = 1
  5403. replace = yes
  5404. }
  5405. }
  5406. random_tile = {
  5407. limit = { has_building = no has_blocker = no }
  5408. set_building = "building_dark_matter_power_plant"
  5409. add_resource = {
  5410. resource = energy
  5411. amount = 1
  5412. replace = yes
  5413. }
  5414. }
  5415. random_tile = {
  5416. limit = { has_building = no has_blocker = no }
  5417. set_building = "building_dark_matter_power_plant"
  5418. add_resource = {
  5419. resource = energy
  5420. amount = 1
  5421. replace = yes
  5422. }
  5423. }
  5424. random_tile = {
  5425. limit = { has_building = no has_blocker = no }
  5426. set_building = "building_dark_matter_power_plant"
  5427. add_resource = {
  5428. resource = energy
  5429. amount = 1
  5430. replace = yes
  5431. }
  5432. }
  5433. random_tile = {
  5434. limit = { has_building = no has_blocker = no }
  5435. set_building = "building_dark_matter_power_plant"
  5436. add_resource = {
  5437. resource = energy
  5438. amount = 1
  5439. replace = yes
  5440. }
  5441. }
  5442. random_tile = {
  5443. limit = { has_building = no has_blocker = no }
  5444. set_building = "building_dark_matter_power_plant"
  5445. add_resource = {
  5446. resource = energy
  5447. amount = 1
  5448. replace = yes
  5449. }
  5450. }
  5451. random_tile = {
  5452. limit = { has_building = no has_blocker = no }
  5453. set_building = "building_dark_matter_power_plant"
  5454. add_resource = {
  5455. resource = energy
  5456. amount = 1
  5457. replace = yes
  5458. }
  5459. }
  5460. random_tile = {
  5461. limit = { has_building = no has_blocker = no }
  5462. set_building = "building_dark_matter_power_plant"
  5463. add_resource = {
  5464. resource = energy
  5465. amount = 1
  5466. replace = yes
  5467. }
  5468. }
  5469. random_tile = {
  5470. limit = { has_building = no has_blocker = no }
  5471. set_building = "building_dark_matter_power_plant"
  5472. add_resource = {
  5473. resource = energy
  5474. amount = 1
  5475. replace = yes
  5476. }
  5477. }
  5478. random_tile = {
  5479. limit = { has_building = no has_blocker = no }
  5480. set_building = "building_dark_matter_power_plant"
  5481. add_resource = {
  5482. resource = energy
  5483. amount = 1
  5484. replace = yes
  5485. }
  5486. }
  5487. random_tile = {
  5488. limit = { has_building = no has_blocker = no }
  5489. set_building = "building_ancient_factory"
  5490. add_resource = {
  5491. resource = minerals
  5492. amount = 1
  5493. replace = yes
  5494. }
  5495. }
  5496. random_tile = {
  5497. limit = { has_building = no has_blocker = no }
  5498. set_building = "building_ancient_factory"
  5499. add_resource = {
  5500. resource = minerals
  5501. amount = 1
  5502. replace = yes
  5503. }
  5504. }
  5505. random_tile = {
  5506. limit = { has_building = no has_blocker = no }
  5507. set_building = "building_ancient_factory"
  5508. add_resource = {
  5509. resource = minerals
  5510. amount = 1
  5511. replace = yes
  5512. }
  5513. }
  5514. random_tile = {
  5515. limit = { has_building = no has_blocker = no }
  5516. set_building = "building_ancient_factory"
  5517. add_resource = {
  5518. resource = minerals
  5519. amount = 1
  5520. replace = yes
  5521. }
  5522. }
  5523. random_tile = {
  5524. limit = { has_building = no has_blocker = no }
  5525. set_building = "building_ancient_factory"
  5526. add_resource = {
  5527. resource = minerals
  5528. amount = 1
  5529. replace = yes
  5530. }
  5531. }
  5532. random_tile = {
  5533. limit = { has_building = no has_blocker = no }
  5534. set_building = "building_ancient_factory"
  5535. add_resource = {
  5536. resource = minerals
  5537. amount = 1
  5538. replace = yes
  5539. }
  5540. }
  5541. random_tile = {
  5542. limit = { has_building = no has_blocker = no }
  5543. set_building = "building_ancient_factory"
  5544. add_resource = {
  5545. resource = minerals
  5546. amount = 1
  5547. replace = yes
  5548. }
  5549. }
  5550. create_army = {
  5551. name = random
  5552. owner = ROOT
  5553. species = ROOT
  5554. type = "android_army"
  5555. }
  5556. create_army = {
  5557. name = random
  5558. owner = ROOT
  5559. species = ROOT
  5560. type = "android_army"
  5561. }
  5562. create_army = {
  5563. name = random
  5564. owner = ROOT
  5565. species = ROOT
  5566. type = "android_army"
  5567. }
  5568. create_army = {
  5569. name = random
  5570. owner = ROOT
  5571. species = ROOT
  5572. type = "android_army"
  5573. }
  5574. create_army = {
  5575. name = random
  5576. owner = ROOT
  5577. species = ROOT
  5578. type = "android_army"
  5579. }
  5580. create_army = {
  5581. name = random
  5582. owner = ROOT
  5583. species = ROOT
  5584. type = "android_army"
  5585. }
  5586. create_army = {
  5587. name = random
  5588. owner = ROOT
  5589. species = ROOT
  5590. type = "defense_army"
  5591. }
  5592. create_army = {
  5593. name = random
  5594. owner = ROOT
  5595. species = ROOT
  5596. type = "defense_army"
  5597. }
  5598. create_army = {
  5599. name = random
  5600. owner = ROOT
  5601. species = ROOT
  5602. type = "defense_army"
  5603. }
  5604. create_army = {
  5605. name = random
  5606. owner = ROOT
  5607. species = ROOT
  5608. type = "defense_army"
  5609. }
  5610. create_army = {
  5611. name = random
  5612. owner = ROOT
  5613. species = ROOT
  5614. type = "defense_army"
  5615. }
  5616. create_army = {
  5617. name = random
  5618. owner = ROOT
  5619. species = ROOT
  5620. type = "defense_army"
  5621. }
  5622. create_spaceport = {
  5623. owner = ROOT
  5624. initial_module = "fallen_empire_weapon"
  5625. }
  5626. spaceport = {
  5627. set_spaceport_level = 6
  5628. set_spaceport_module = {
  5629. slot = 1
  5630. module = "crew_quarters"
  5631. }
  5632. set_spaceport_module = {
  5633. slot = 2
  5634. module = "fleet_academy"
  5635. }
  5636. set_spaceport_module = {
  5637. slot = 3
  5638. module = "synchronized_defenses"
  5639. }
  5640. set_spaceport_module = {
  5641. slot = 4
  5642. module = "engineering_bay"
  5643. }
  5644. }
  5645. create_fleet = {
  5646. effect = {
  5647. set_owner = ROOT
  5648. create_ship = {
  5649. name = random
  5650. design = "Reaper"
  5651. graphical_culture = root
  5652. }
  5653. set_location = {
  5654. target = PREV
  5655. distance = 20
  5656. angle = 90
  5657. }
  5658. }
  5659. }
  5660. create_fleet = {
  5661. effect = {
  5662. set_owner = ROOT
  5663. create_ship = {
  5664. name = random
  5665. design = "Reaper"
  5666. graphical_culture = root
  5667. }
  5668. set_location = {
  5669. target = PREV
  5670. distance = 20
  5671. angle = 180
  5672. }
  5673. }
  5674. }
  5675. create_fleet = {
  5676. effect = {
  5677. set_owner = ROOT
  5678. create_ship = {
  5679. name = random
  5680. design = "Reaper"
  5681. graphical_culture = root
  5682. }
  5683. set_location = {
  5684. target = PREV
  5685. distance = 20
  5686. angle = 270
  5687. }
  5688. }
  5689. }
  5690. create_fleet = {
  5691. effect = {
  5692. set_owner = ROOT
  5693. create_ship = {
  5694. name = random
  5695. design = "Reaper"
  5696. graphical_culture = root
  5697. }
  5698. set_location = {
  5699. target = PREV
  5700. distance = 20
  5701. angle = 0
  5702. }
  5703. }
  5704. }
  5705. create_fleet = {
  5706. effect = {
  5707. set_owner = ROOT
  5708. create_ship = {
  5709. name = random
  5710. design = "Servitor"
  5711. graphical_culture = root
  5712. }
  5713. set_location = {
  5714. target = PREV
  5715. distance = 80
  5716. }
  5717. }
  5718. }
  5719. create_fleet = {
  5720. effect = {
  5721. set_owner = ROOT
  5722. create_ship = {
  5723. name = random
  5724. design = "Servitor"
  5725. graphical_culture = root
  5726. }
  5727. set_location = {
  5728. target = PREV
  5729. distance = 90
  5730. }
  5731. }
  5732. }
  5733. create_fleet = {
  5734. effect = {
  5735. set_owner = ROOT
  5736. create_ship = {
  5737. name = random
  5738. design = "Servitor"
  5739. graphical_culture = root
  5740. }
  5741. set_location = {
  5742. target = PREV
  5743. distance = 100
  5744. }
  5745. }
  5746. }
  5747. random = {
  5748. chance = 10
  5749. create_fleet = {
  5750. effect = {
  5751. set_owner = ROOT
  5752. create_ship = {
  5753. name = random
  5754. design = "Imperium"
  5755. graphical_culture = root
  5756. }
  5757. set_location = {
  5758. target = PREV
  5759. distance = 20
  5760. angle = random
  5761. }
  5762. }
  5763. }
  5764. }
  5765. create_fleet = {
  5766. effect = {
  5767. set_owner = ROOT
  5768. create_ship = {
  5769. name = random
  5770. design = "Supremacy"
  5771. graphical_culture = root
  5772. }
  5773. create_ship = {
  5774. name = random
  5775. design = "Supremacy"
  5776. graphical_culture = root
  5777. }
  5778. create_ship = {
  5779. name = random
  5780. design = "Supremacy"
  5781. graphical_culture = root
  5782. }
  5783. create_ship = {
  5784. name = random
  5785. design = "Supremacy"
  5786. graphical_culture = root
  5787. }
  5788. create_ship = {
  5789. name = random
  5790. design = "Supremacy"
  5791. graphical_culture = root
  5792. }
  5793. create_ship = {
  5794. name = random
  5795. design = "Supremacy"
  5796. graphical_culture = root
  5797. }
  5798. create_ship = {
  5799. name = random
  5800. design = "Supremacy"
  5801. graphical_culture = root
  5802. }
  5803. create_ship = {
  5804. name = random
  5805. design = "Supremacy"
  5806. graphical_culture = root
  5807. }
  5808. create_ship = {
  5809. name = random
  5810. design = "Supremacy"
  5811. graphical_culture = root
  5812. }
  5813. create_ship = {
  5814. name = random
  5815. design = "Supremacy"
  5816. graphical_culture = root
  5817. }
  5818. create_ship = {
  5819. name = random
  5820. design = "Glory"
  5821. graphical_culture = root
  5822. }
  5823. create_ship = {
  5824. name = random
  5825. design = "Glory"
  5826. graphical_culture = root
  5827. }
  5828. create_ship = {
  5829. name = random
  5830. design = "Glory"
  5831. graphical_culture = root
  5832. }
  5833. create_ship = {
  5834. name = random
  5835. design = "Glory"
  5836. graphical_culture = root
  5837. }
  5838. create_ship = {
  5839. name = random
  5840. design = "Glory"
  5841. graphical_culture = root
  5842. }
  5843. create_ship = {
  5844. name = random
  5845. design = "Glory"
  5846. graphical_culture = root
  5847. }
  5848. create_ship = {
  5849. name = random
  5850. design = "Glory"
  5851. graphical_culture = root
  5852. }
  5853. create_ship = {
  5854. name = random
  5855. design = "Glory"
  5856. graphical_culture = root
  5857. }
  5858. create_ship = {
  5859. name = random
  5860. design = "Glory"
  5861. graphical_culture = root
  5862. }
  5863. create_ship = {
  5864. name = random
  5865. design = "Glory"
  5866. graphical_culture = root
  5867. }
  5868. create_ship = {
  5869. name = random
  5870. design = "Glory"
  5871. graphical_culture = root
  5872. }
  5873. create_ship = {
  5874. name = random
  5875. design = "Glory"
  5876. graphical_culture = root
  5877. }
  5878. create_ship = {
  5879. name = random
  5880. design = "Glory"
  5881. graphical_culture = root
  5882. }
  5883. create_ship = {
  5884. name = random
  5885. design = "Glory"
  5886. graphical_culture = root
  5887. }
  5888. create_ship = {
  5889. name = random
  5890. design = "Glory"
  5891. graphical_culture = root
  5892. }
  5893. create_ship = {
  5894. name = random
  5895. design = "Glory"
  5896. graphical_culture = root
  5897. }
  5898. create_ship = {
  5899. name = random
  5900. design = "Glory"
  5901. graphical_culture = root
  5902. }
  5903. create_ship = {
  5904. name = random
  5905. design = "Glory"
  5906. graphical_culture = root
  5907. }
  5908. create_ship = {
  5909. name = random
  5910. design = "Glory"
  5911. graphical_culture = root
  5912. }
  5913. create_ship = {
  5914. name = random
  5915. design = "Glory"
  5916. graphical_culture = root
  5917. }
  5918. set_location = {
  5919. target = PREV
  5920. distance = 70
  5921. angle = random
  5922. }
  5923. }
  5924. }
  5925. create_fleet = {
  5926. effect = {
  5927. set_owner = ROOT
  5928. create_ship = {
  5929. name = random
  5930. design = "Supremacy"
  5931. graphical_culture = root
  5932. }
  5933. create_ship = {
  5934. name = random
  5935. design = "Supremacy"
  5936. graphical_culture = root
  5937. }
  5938. create_ship = {
  5939. name = random
  5940. design = "Supremacy"
  5941. graphical_culture = root
  5942. }
  5943. create_ship = {
  5944. name = random
  5945. design = "Supremacy"
  5946. graphical_culture = root
  5947. }
  5948. create_ship = {
  5949. name = random
  5950. design = "Supremacy"
  5951. graphical_culture = root
  5952. }
  5953. create_ship = {
  5954. name = random
  5955. design = "Supremacy"
  5956. graphical_culture = root
  5957. }
  5958. create_ship = {
  5959. name = random
  5960. design = "Supremacy"
  5961. graphical_culture = root
  5962. }
  5963. create_ship = {
  5964. name = random
  5965. design = "Supremacy"
  5966. graphical_culture = root
  5967. }
  5968. create_ship = {
  5969. name = random
  5970. design = "Supremacy"
  5971. graphical_culture = root
  5972. }
  5973. create_ship = {
  5974. name = random
  5975. design = "Supremacy"
  5976. graphical_culture = root
  5977. }
  5978. create_ship = {
  5979. name = random
  5980. design = "Glory"
  5981. graphical_culture = root
  5982. }
  5983. create_ship = {
  5984. name = random
  5985. design = "Glory"
  5986. graphical_culture = root
  5987. }
  5988. create_ship = {
  5989. name = random
  5990. design = "Glory"
  5991. graphical_culture = root
  5992. }
  5993. create_ship = {
  5994. name = random
  5995. design = "Glory"
  5996. graphical_culture = root
  5997. }
  5998. create_ship = {
  5999. name = random
  6000. design = "Glory"
  6001. graphical_culture = root
  6002. }
  6003. create_ship = {
  6004. name = random
  6005. design = "Glory"
  6006. graphical_culture = root
  6007. }
  6008. create_ship = {
  6009. name = random
  6010. design = "Glory"
  6011. graphical_culture = root
  6012. }
  6013. create_ship = {
  6014. name = random
  6015. design = "Glory"
  6016. graphical_culture = root
  6017. }
  6018. create_ship = {
  6019. name = random
  6020. design = "Glory"
  6021. graphical_culture = root
  6022. }
  6023. create_ship = {
  6024. name = random
  6025. design = "Glory"
  6026. graphical_culture = root
  6027. }
  6028. create_ship = {
  6029. name = random
  6030. design = "Glory"
  6031. graphical_culture = root
  6032. }
  6033. create_ship = {
  6034. name = random
  6035. design = "Glory"
  6036. graphical_culture = root
  6037. }
  6038. create_ship = {
  6039. name = random
  6040. design = "Glory"
  6041. graphical_culture = root
  6042. }
  6043. create_ship = {
  6044. name = random
  6045. design = "Glory"
  6046. graphical_culture = root
  6047. }
  6048. create_ship = {
  6049. name = random
  6050. design = "Glory"
  6051. graphical_culture = root
  6052. }
  6053. create_ship = {
  6054. name = random
  6055. design = "Glory"
  6056. graphical_culture = root
  6057. }
  6058. create_ship = {
  6059. name = random
  6060. design = "Glory"
  6061. graphical_culture = root
  6062. }
  6063. create_ship = {
  6064. name = random
  6065. design = "Glory"
  6066. graphical_culture = root
  6067. }
  6068. create_ship = {
  6069. name = random
  6070. design = "Glory"
  6071. graphical_culture = root
  6072. }
  6073. create_ship = {
  6074. name = random
  6075. design = "Glory"
  6076. graphical_culture = root
  6077. }
  6078. set_location = {
  6079. target = PREV
  6080. distance = 90
  6081. angle = random
  6082. }
  6083. }
  6084. }
  6085. random = {
  6086. chance = 33
  6087. create_fleet = {
  6088. effect = {
  6089. set_owner = ROOT
  6090. create_ship = {
  6091. name = random
  6092. design = "Supremacy"
  6093. graphical_culture = root
  6094. }
  6095. create_ship = {
  6096. name = random
  6097. design = "Supremacy"
  6098. graphical_culture = root
  6099. }
  6100. create_ship = {
  6101. name = random
  6102. design = "Supremacy"
  6103. graphical_culture = root
  6104. }
  6105. create_ship = {
  6106. name = random
  6107. design = "Supremacy"
  6108. graphical_culture = root
  6109. }
  6110. create_ship = {
  6111. name = random
  6112. design = "Supremacy"
  6113. graphical_culture = root
  6114. }
  6115. create_ship = {
  6116. name = random
  6117. design = "Supremacy"
  6118. graphical_culture = root
  6119. }
  6120. create_ship = {
  6121. name = random
  6122. design = "Supremacy"
  6123. graphical_culture = root
  6124. }
  6125. create_ship = {
  6126. name = random
  6127. design = "Supremacy"
  6128. graphical_culture = root
  6129. }
  6130. create_ship = {
  6131. name = random
  6132. design = "Supremacy"
  6133. graphical_culture = root
  6134. }
  6135. create_ship = {
  6136. name = random
  6137. design = "Supremacy"
  6138. graphical_culture = root
  6139. }
  6140. create_ship = {
  6141. name = random
  6142. design = "Glory"
  6143. graphical_culture = root
  6144. }
  6145. create_ship = {
  6146. name = random
  6147. design = "Glory"
  6148. graphical_culture = root
  6149. }
  6150. create_ship = {
  6151. name = random
  6152. design = "Glory"
  6153. graphical_culture = root
  6154. }
  6155. create_ship = {
  6156. name = random
  6157. design = "Glory"
  6158. graphical_culture = root
  6159. }
  6160. create_ship = {
  6161. name = random
  6162. design = "Glory"
  6163. graphical_culture = root
  6164. }
  6165. create_ship = {
  6166. name = random
  6167. design = "Glory"
  6168. graphical_culture = root
  6169. }
  6170. create_ship = {
  6171. name = random
  6172. design = "Glory"
  6173. graphical_culture = root
  6174. }
  6175. create_ship = {
  6176. name = random
  6177. design = "Glory"
  6178. graphical_culture = root
  6179. }
  6180. create_ship = {
  6181. name = random
  6182. design = "Glory"
  6183. graphical_culture = root
  6184. }
  6185. create_ship = {
  6186. name = random
  6187. design = "Glory"
  6188. graphical_culture = root
  6189. }
  6190. create_ship = {
  6191. name = random
  6192. design = "Glory"
  6193. graphical_culture = root
  6194. }
  6195. create_ship = {
  6196. name = random
  6197. design = "Glory"
  6198. graphical_culture = root
  6199. }
  6200. create_ship = {
  6201. name = random
  6202. design = "Glory"
  6203. graphical_culture = root
  6204. }
  6205. create_ship = {
  6206. name = random
  6207. design = "Glory"
  6208. graphical_culture = root
  6209. }
  6210. create_ship = {
  6211. name = random
  6212. design = "Glory"
  6213. graphical_culture = root
  6214. }
  6215. create_ship = {
  6216. name = random
  6217. design = "Glory"
  6218. graphical_culture = root
  6219. }
  6220. create_ship = {
  6221. name = random
  6222. design = "Glory"
  6223. graphical_culture = root
  6224. }
  6225. create_ship = {
  6226. name = random
  6227. design = "Glory"
  6228. graphical_culture = root
  6229. }
  6230. create_ship = {
  6231. name = random
  6232. design = "Glory"
  6233. graphical_culture = root
  6234. }
  6235. create_ship = {
  6236. name = random
  6237. design = "Glory"
  6238. graphical_culture = root
  6239. }
  6240. set_location = {
  6241. target = PREV
  6242. distance = 45
  6243. angle = random
  6244. }
  6245. }
  6246. }
  6247. }
  6248. }
  6249.  
  6250. moon = {
  6251. name = "Boundary"
  6252. class = "pc_gaia"
  6253. size = 12
  6254. orbit_distance = 14
  6255. orbit_angle = 10
  6256. tile_blockers = none
  6257. modifiers = none
  6258.  
  6259. init_effect = {
  6260. set_planet_flag = fallen_empire_world
  6261. prevent_anomaly = yes
  6262. set_owner = ROOT
  6263. random_tile = {
  6264. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  6265. set_building = "building_capital_2"
  6266. add_resource = {
  6267. resource = minerals
  6268. amount = 1
  6269. replace = yes
  6270. }
  6271. add_resource = {
  6272. resource = food
  6273. amount = 1
  6274. }
  6275. }
  6276. random_tile = {
  6277. limit = { has_building = no has_blocker = no }
  6278. set_building = "building_agri_processing_complex"
  6279. add_resource = {
  6280. resource = food
  6281. amount = 1
  6282. replace = yes
  6283. }
  6284. }
  6285. random_tile = {
  6286. limit = { has_building = no has_blocker = no }
  6287. set_building = "building_dark_matter_power_plant"
  6288. add_resource = {
  6289. resource = food
  6290. amount = 1
  6291. replace = yes
  6292. }
  6293. }
  6294. random_tile = {
  6295. limit = { has_building = no has_blocker = no }
  6296. set_building = "building_dark_matter_power_plant"
  6297. add_resource = {
  6298. resource = energy
  6299. amount = 1
  6300. replace = yes
  6301. }
  6302. }
  6303. random_tile = {
  6304. limit = { has_building = no has_blocker = no }
  6305. set_building = "building_dark_matter_power_plant"
  6306. add_resource = {
  6307. resource = energy
  6308. amount = 1
  6309. replace = yes
  6310. }
  6311. }
  6312. random_tile = {
  6313. limit = { has_building = no has_blocker = no }
  6314. set_building = "building_dark_matter_power_plant"
  6315. add_resource = {
  6316. resource = energy
  6317. amount = 1
  6318. replace = yes
  6319. }
  6320. }
  6321. random_tile = {
  6322. limit = { has_building = no has_blocker = no }
  6323. set_building = "building_dark_matter_power_plant"
  6324. add_resource = {
  6325. resource = energy
  6326. amount = 1
  6327. replace = yes
  6328. }
  6329. }
  6330. random_tile = {
  6331. limit = { has_building = no has_blocker = no }
  6332. set_building = "building_ancient_factory"
  6333. add_resource = {
  6334. resource = energy
  6335. amount = 1
  6336. replace = yes
  6337. }
  6338. }
  6339. random_tile = {
  6340. limit = { has_building = no has_blocker = no }
  6341. set_building = "building_ancient_factory"
  6342. add_resource = {
  6343. resource = energy
  6344. amount = 1
  6345. replace = yes
  6346. }
  6347. }
  6348. random_tile = {
  6349. limit = { has_building = no has_blocker = no }
  6350. set_building = "building_ancient_factory"
  6351. add_resource = {
  6352. resource = energy
  6353. amount = 1
  6354. replace = yes
  6355. }
  6356. }
  6357. random_tile = {
  6358. limit = { has_building = no has_blocker = no }
  6359. set_building = "building_ancient_factory"
  6360. add_resource = {
  6361. resource = energy
  6362. amount = 1
  6363. replace = yes
  6364. }
  6365. }
  6366. random_tile = {
  6367. limit = { has_building = no has_blocker = no }
  6368. set_building = "building_ancient_factory"
  6369. add_resource = {
  6370. resource = energy
  6371. amount = 1
  6372. replace = yes
  6373. }
  6374. }
  6375. create_pop = {
  6376. species = owner_main_species
  6377. ethos = owner
  6378. }
  6379. create_pop = {
  6380. species = owner_main_species
  6381. ethos = owner
  6382. }
  6383. create_pop = {
  6384. species = owner_main_species
  6385. ethos = owner
  6386. }
  6387. create_pop = {
  6388. species = owner_main_species
  6389. ethos = owner
  6390. }
  6391. create_pop = {
  6392. species = owner_main_species
  6393. ethos = owner
  6394. }
  6395. create_pop = {
  6396. species = owner_main_species
  6397. ethos = owner
  6398. }
  6399. create_pop = {
  6400. species = owner_main_species
  6401. ethos = owner
  6402. }
  6403. create_pop = {
  6404. species = ROBOT_POP_SPECIES_3
  6405. ethos = owner
  6406. }
  6407. create_pop = {
  6408. species = ROBOT_POP_SPECIES_3
  6409. ethos = owner
  6410. }
  6411. create_pop = {
  6412. species = ROBOT_POP_SPECIES_3
  6413. ethos = owner
  6414. }
  6415. create_pop = {
  6416. species = ROBOT_POP_SPECIES_3
  6417. ethos = owner
  6418. }
  6419. create_pop = {
  6420. species = ROBOT_POP_SPECIES_3
  6421. ethos = owner
  6422. }
  6423. create_army = {
  6424. name = random
  6425. owner = ROOT
  6426. species = ROOT
  6427. type = "defense_army"
  6428. }
  6429. create_army = {
  6430. name = random
  6431. owner = ROOT
  6432. species = ROOT
  6433. type = "defense_army"
  6434. }
  6435. create_army = {
  6436. name = random
  6437. owner = ROOT
  6438. species = ROOT
  6439. type = "defense_army"
  6440. }
  6441. create_army = {
  6442. name = random
  6443. owner = ROOT
  6444. species = ROOT
  6445. type = "defense_army"
  6446. }
  6447. create_spaceport = {
  6448. owner = ROOT
  6449. initial_module = "fallen_empire_weapon"
  6450. }
  6451. spaceport = {
  6452. set_spaceport_level = 6
  6453. set_spaceport_module = {
  6454. slot = 1
  6455. module = "crew_quarters"
  6456. }
  6457. set_spaceport_module = {
  6458. slot = 2
  6459. module = "fleet_academy"
  6460. }
  6461. set_spaceport_module = {
  6462. slot = 3
  6463. module = "synchronized_defenses"
  6464. }
  6465. set_spaceport_module = {
  6466. slot = 4
  6467. module = "engineering_bay"
  6468. }
  6469. }
  6470. }
  6471. }
  6472. }
  6473.  
  6474. planet = {
  6475. count = { min = 2 max = 4 }
  6476. orbit_distance = 20
  6477. class = random_non_colonizable
  6478. orbit_angle = { min = 90 max = 270 }
  6479.  
  6480. change_orbit = @base_moon_distance
  6481.  
  6482. moon = {
  6483. count = { min = 0 max = 1 }
  6484. class = random_non_colonizable
  6485. orbit_angle = { min = 90 max = 270 }
  6486. orbit_distance = 5
  6487. }
  6488. }
  6489.  
  6490. planet = {
  6491. count = { min = 1 max = 2 }
  6492. orbit_distance = 20
  6493. class = pc_gas_giant
  6494. orbit_angle = { min = 90 max = 270 }
  6495.  
  6496. change_orbit = @base_moon_distance
  6497.  
  6498. moon = {
  6499. count = { min = 0 max = 3 }
  6500. class = random_non_colonizable
  6501. orbit_angle = { min = 90 max = 270 }
  6502. orbit_distance = 5
  6503. }
  6504. }
  6505.  
  6506. init_effect = {
  6507. random_system_planet = {
  6508. limit = { has_deposit_for = shipclass_mining_station }
  6509. create_mining_station = {
  6510. owner = ROOT
  6511. }
  6512. create_fleet = {
  6513. effect = {
  6514. set_owner = ROOT
  6515. create_ship = {
  6516. name = random
  6517. design = "Devastator"
  6518. graphical_culture = root
  6519. }
  6520. set_location = {
  6521. target = PREV
  6522. distance = 20
  6523. angle = 90
  6524. }
  6525. }
  6526. }
  6527. }
  6528. random_system_planet = {
  6529. limit = {
  6530. has_deposit_for = shipclass_mining_station
  6531. has_mining_station = no
  6532. }
  6533. create_mining_station = {
  6534. owner = ROOT
  6535. }
  6536. }
  6537. random_system_planet = {
  6538. limit = { has_deposit_for = shipclass_research_station }
  6539. create_research_station = {
  6540. owner = ROOT
  6541. }
  6542. create_fleet = {
  6543. effect = {
  6544. set_owner = ROOT
  6545. create_ship = {
  6546. name = random
  6547. design = "Devastator"
  6548. graphical_culture = root
  6549. }
  6550. set_location = {
  6551. target = PREV
  6552. distance = 20
  6553. angle = 90
  6554. }
  6555. }
  6556. }
  6557. }
  6558. random_system_planet = {
  6559. limit = {
  6560. has_deposit_for = shipclass_research_station
  6561. has_research_station = no
  6562. }
  6563. create_research_station = {
  6564. owner = ROOT
  6565. }
  6566. }
  6567. }
  6568.  
  6569. neighbor_system = {
  6570. distance = { min = 0 max = 50 }
  6571. initializer = "fallen_orbitals_1"
  6572. }
  6573. neighbor_system = {
  6574. distance = { min = 0 max = 50 }
  6575. initializer = "fallen_orbitals_2"
  6576. }
  6577. neighbor_system = {
  6578. distance = { min = 0 max = 50 }
  6579. initializer = "fallen_shielded_1"
  6580. }
  6581. neighbor_system = {
  6582. distance = { min = 0 max = 50 }
  6583. initializer = "fallen_shielded_2"
  6584. }
  6585. neighbor_system = {
  6586. distance = { min = 0 max = 50 }
  6587. initializer = "fallen_shielded_3"
  6588. }
  6589. }
  6590.  
  6591. ### STANDARD FALLEN EMPIRE SYSTEMS
  6592.  
  6593. fallen_col_1 = {
  6594. class = "rl_standard_stars"
  6595. asteroids_distance = 50
  6596.  
  6597. planet = {
  6598. count = 1
  6599. class = star
  6600. orbit_distance = 0
  6601. orbit_angle = 1
  6602. size = { min = 20 max = 30 }
  6603. has_ring = no
  6604. }
  6605.  
  6606. change_orbit = 50
  6607.  
  6608. planet = {
  6609. count = { min = 1 max = 3 }
  6610. class = random_asteroid
  6611. orbit_distance = 0
  6612. orbit_angle = { min = 40 max = 100 }
  6613. }
  6614.  
  6615. planet = {
  6616. count = { min = 0 max = 2 }
  6617. orbit_distance = 20
  6618. class = random_non_colonizable
  6619. orbit_angle = { min = 90 max = 270 }
  6620.  
  6621. change_orbit = @base_moon_distance
  6622.  
  6623. moon = {
  6624. count = { min = 0 max = 1 }
  6625. class = random_non_colonizable
  6626. orbit_angle = { min = 90 max = 270 }
  6627. orbit_distance = 5
  6628. }
  6629. }
  6630.  
  6631. planet = {
  6632. count = 1
  6633. orbit_distance = 20
  6634. home_planet = yes
  6635. class = ideal_planet_class
  6636. orbit_angle = { min = 90 max = 270 }
  6637. size = 16
  6638. tile_blockers = none
  6639. modifiers = none
  6640.  
  6641. init_effect = {
  6642. set_planet_flag = fallen_empire_world
  6643. prevent_anomaly = yes
  6644. set_owner = ROOT
  6645. random_tile = {
  6646. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  6647. set_building = "building_capital_2"
  6648. add_resource = {
  6649. resource = minerals
  6650. amount = 1
  6651. replace = yes
  6652. }
  6653. add_resource = {
  6654. resource = food
  6655. amount = 1
  6656. }
  6657. }
  6658. random_tile = {
  6659. limit = {
  6660. has_building = no
  6661. has_blocker = no
  6662. }
  6663. set_building = "building_hydroponics_farm_4"
  6664. add_resource = {
  6665. resource = food
  6666. amount = 1
  6667. replace = yes
  6668. }
  6669. }
  6670. random_tile = {
  6671. limit = {
  6672. has_building = no
  6673. has_blocker = no
  6674. }
  6675. set_building = "building_power_plant_4"
  6676. add_resource = {
  6677. resource = energy
  6678. amount = 1
  6679. replace = yes
  6680. }
  6681. }
  6682. random_tile = {
  6683. limit = {
  6684. has_building = no
  6685. has_blocker = no
  6686. }
  6687. set_building = "building_power_plant_4"
  6688. add_resource = {
  6689. resource = energy
  6690. amount = 1
  6691. replace = yes
  6692. }
  6693. }
  6694. random_tile = {
  6695. limit = {
  6696. has_building = no
  6697. has_blocker = no
  6698. }
  6699. set_building = "building_power_plant_4"
  6700. add_resource = {
  6701. resource = energy
  6702. amount = 1
  6703. replace = yes
  6704. }
  6705. }
  6706. random_tile = {
  6707. limit = {
  6708. has_building = no
  6709. has_blocker = no
  6710. }
  6711. set_building = "building_mining_network_4"
  6712. add_resource = {
  6713. resource = minerals
  6714. amount = 1
  6715. replace = yes
  6716. }
  6717. }
  6718. random_tile = {
  6719. limit = {
  6720. has_building = no
  6721. has_blocker = no
  6722. }
  6723. set_building = "building_mining_network_4"
  6724. add_resource = {
  6725. resource = minerals
  6726. amount = 1
  6727. replace = yes
  6728. }
  6729. }
  6730. create_pop = {
  6731. species = owner_main_species
  6732. ethos = owner
  6733. }
  6734. create_pop = {
  6735. species = owner_main_species
  6736. ethos = owner
  6737. }
  6738. create_pop = {
  6739. species = owner_main_species
  6740. ethos = owner
  6741. }
  6742. create_pop = {
  6743. species = owner_main_species
  6744. ethos = owner
  6745. }
  6746. create_pop = {
  6747. species = owner_main_species
  6748. ethos = owner
  6749. }
  6750. create_pop = {
  6751. species = owner_main_species
  6752. ethos = owner
  6753. }
  6754. create_pop = {
  6755. species = owner_main_species
  6756. ethos = owner
  6757. }
  6758. create_army = {
  6759. name = random
  6760. owner = ROOT
  6761. species = ROOT
  6762. type = "defense_army"
  6763. }
  6764. create_army = {
  6765. name = random
  6766. owner = ROOT
  6767. species = ROOT
  6768. type = "defense_army"
  6769. }
  6770. create_army = {
  6771. name = random
  6772. owner = ROOT
  6773. species = ROOT
  6774. type = "defense_army"
  6775. }
  6776. create_army = {
  6777. name = random
  6778. owner = ROOT
  6779. species = ROOT
  6780. type = "defense_army"
  6781. }
  6782. create_spaceport = {
  6783. owner = ROOT
  6784. initial_module = "fallen_empire_weapon"
  6785. }
  6786. spaceport = {
  6787. set_spaceport_level = 6
  6788. set_spaceport_module = {
  6789. slot = 1
  6790. module = "crew_quarters"
  6791. }
  6792. set_spaceport_module = {
  6793. slot = 2
  6794. module = "fleet_academy"
  6795. }
  6796. set_spaceport_module = {
  6797. slot = 3
  6798. module = "synchronized_defenses"
  6799. }
  6800. set_spaceport_module = {
  6801. slot = 4
  6802. module = "engineering_bay"
  6803. }
  6804. }
  6805. }
  6806.  
  6807. change_orbit = @base_moon_distance
  6808.  
  6809. moon = {
  6810. count = { min = 0 max = 1 }
  6811. class = random_non_colonizable
  6812. orbit_angle = { min = 90 max = 270 }
  6813. orbit_distance = 5
  6814. }
  6815. }
  6816.  
  6817. planet = {
  6818. count = { min = 2 max = 4 }
  6819. orbit_distance = 20
  6820. class = random_non_colonizable
  6821. orbit_angle = { min = 90 max = 270 }
  6822.  
  6823. change_orbit = @base_moon_distance
  6824.  
  6825. moon = {
  6826. count = { min = 0 max = 1 }
  6827. class = random_non_colonizable
  6828. orbit_angle = { min = 90 max = 270 }
  6829. orbit_distance = 5
  6830. }
  6831. }
  6832.  
  6833. planet = {
  6834. count = { min = 1 max = 2 }
  6835. orbit_distance = 20
  6836. class = pc_gas_giant
  6837. orbit_angle = { min = 90 max = 270 }
  6838.  
  6839. change_orbit = @base_moon_distance
  6840.  
  6841. moon = {
  6842. count = { min = 0 max = 3 }
  6843. class = random_non_colonizable
  6844. orbit_angle = { min = 90 max = 270 }
  6845. orbit_distance = 5
  6846. }
  6847. }
  6848.  
  6849. init_effect = {
  6850. random_system_planet = {
  6851. limit = { has_deposit_for = shipclass_mining_station }
  6852. create_mining_station = {
  6853. owner = ROOT
  6854. }
  6855. create_fleet = {
  6856. effect = {
  6857. set_owner = ROOT
  6858. if = {
  6859. limit = {
  6860. ROOT = { has_ethic = ethic_fanatic_materialist }
  6861. }
  6862. create_ship = {
  6863. name = random
  6864. design = "Sigma"
  6865. graphical_culture = root
  6866. }
  6867. }
  6868. if = {
  6869. limit = {
  6870. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  6871. }
  6872. create_ship = {
  6873. name = random
  6874. design = "Faith"
  6875. graphical_culture = root
  6876. }
  6877. }
  6878. if = {
  6879. limit = {
  6880. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  6881. }
  6882. create_ship = {
  6883. name = random
  6884. design = "Devastator"
  6885. graphical_culture = root
  6886. }
  6887. }
  6888. if = {
  6889. limit = {
  6890. ROOT = { has_ethic = ethic_fanatic_xenophile }
  6891. }
  6892. create_ship = {
  6893. name = random
  6894. design = "Watcher"
  6895. graphical_culture = root
  6896. }
  6897. }
  6898. set_location = {
  6899. target = PREV
  6900. distance = 20
  6901. angle = 90
  6902. }
  6903. }
  6904. }
  6905. }
  6906. random_system_planet = {
  6907. limit = {
  6908. has_deposit_for = shipclass_mining_station
  6909. has_mining_station = no
  6910. }
  6911. create_mining_station = {
  6912. owner = ROOT
  6913. }
  6914. }
  6915. random_system_planet = {
  6916. limit = { has_deposit_for = shipclass_research_station }
  6917. create_research_station = {
  6918. owner = ROOT
  6919. }
  6920. create_fleet = {
  6921. effect = {
  6922. set_owner = ROOT
  6923. if = {
  6924. limit = {
  6925. ROOT = { has_ethic = ethic_fanatic_materialist }
  6926. }
  6927. create_ship = {
  6928. name = random
  6929. design = "Sigma"
  6930. graphical_culture = root
  6931. }
  6932. }
  6933. if = {
  6934. limit = {
  6935. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  6936. }
  6937. create_ship = {
  6938. name = random
  6939. design = "Faith"
  6940. graphical_culture = root
  6941. }
  6942. }
  6943. if = {
  6944. limit = {
  6945. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  6946. }
  6947. create_ship = {
  6948. name = random
  6949. design = "Devastator"
  6950. graphical_culture = root
  6951. }
  6952. }
  6953. if = {
  6954. limit = {
  6955. ROOT = { has_ethic = ethic_fanatic_xenophile }
  6956. }
  6957. create_ship = {
  6958. name = random
  6959. design = "Watcher"
  6960. graphical_culture = root
  6961. }
  6962. }
  6963. set_location = {
  6964. target = PREV
  6965. distance = 20
  6966. angle = 90
  6967. }
  6968. }
  6969. }
  6970. }
  6971. random_system_planet = {
  6972. limit = {
  6973. has_deposit_for = shipclass_research_station
  6974. has_research_station = no
  6975. }
  6976. create_research_station = {
  6977. owner = ROOT
  6978. }
  6979. }
  6980. random_system_planet = {
  6981. limit = {
  6982. has_research_station = no
  6983. has_mining_station = no
  6984. }
  6985. create_fleet = {
  6986. effect = {
  6987. set_owner = ROOT
  6988. if = {
  6989. limit = {
  6990. ROOT = { has_ethic = ethic_fanatic_materialist }
  6991. }
  6992. create_ship = {
  6993. name = random
  6994. design = "Sigma"
  6995. graphical_culture = root
  6996. }
  6997. }
  6998. if = {
  6999. limit = {
  7000. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7001. }
  7002. create_ship = {
  7003. name = random
  7004. design = "Faith"
  7005. graphical_culture = root
  7006. }
  7007. }
  7008. if = {
  7009. limit = {
  7010. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7011. }
  7012. create_ship = {
  7013. name = random
  7014. design = "Devastator"
  7015. graphical_culture = root
  7016. }
  7017. }
  7018. if = {
  7019. limit = {
  7020. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7021. }
  7022. create_ship = {
  7023. name = random
  7024. design = "Watcher"
  7025. graphical_culture = root
  7026. }
  7027. }
  7028. set_location = PREV
  7029. }
  7030. }
  7031. }
  7032. }
  7033. }
  7034.  
  7035. fallen_col_2 = {
  7036. class = "rl_standard_stars"
  7037. asteroids_distance = 115
  7038.  
  7039. planet = {
  7040. count = 1
  7041. class = star
  7042. orbit_distance = 0
  7043. orbit_angle = 1
  7044. size = { min = 20 max = 30 }
  7045. has_ring = no
  7046. }
  7047.  
  7048. change_orbit = 50
  7049.  
  7050. planet = {
  7051. count = 1
  7052. home_planet = yes
  7053. class = ideal_planet_class
  7054. orbit_distance = 0
  7055. orbit_angle = { min = 90 max = 270 }
  7056. size = { min = 16 max = 16 }
  7057. tile_blockers = none
  7058. modifiers = none
  7059.  
  7060. init_effect = {
  7061. set_planet_flag = fallen_empire_world
  7062. prevent_anomaly = yes
  7063. set_owner = ROOT
  7064. random_tile = {
  7065. limit = { has_building = no has_blocker = no num_adjacent_tiles > 3 }
  7066. set_building = "building_capital_2"
  7067. add_resource = {
  7068. resource = minerals
  7069. amount = 1
  7070. replace = yes
  7071. }
  7072. add_resource = {
  7073. resource = food
  7074. amount = 1
  7075. }
  7076. }
  7077. random_tile = {
  7078. limit = {
  7079. has_building = no
  7080. has_blocker = no
  7081. }
  7082. set_building = "building_hydroponics_farm_4"
  7083. add_resource = {
  7084. resource = food
  7085. amount = 1
  7086. replace = yes
  7087. }
  7088. }
  7089. random_tile = {
  7090. limit = {
  7091. has_building = no
  7092. has_blocker = no
  7093. }
  7094. set_building = "building_power_plant_4"
  7095. add_resource = {
  7096. resource = energy
  7097. amount = 1
  7098. replace = yes
  7099. }
  7100. }
  7101. random_tile = {
  7102. limit = {
  7103. has_building = no
  7104. has_blocker = no
  7105. }
  7106. set_building = "building_power_plant_4"
  7107. add_resource = {
  7108. resource = energy
  7109. amount = 1
  7110. replace = yes
  7111. }
  7112. }
  7113. random_tile = {
  7114. limit = {
  7115. has_building = no
  7116. has_blocker = no
  7117. }
  7118. set_building = "building_power_plant_4"
  7119. add_resource = {
  7120. resource = energy
  7121. amount = 1
  7122. replace = yes
  7123. }
  7124. }
  7125. random_tile = {
  7126. limit = {
  7127. has_building = no
  7128. has_blocker = no
  7129. }
  7130. set_building = "building_mining_network_4"
  7131. add_resource = {
  7132. resource = minerals
  7133. amount = 1
  7134. replace = yes
  7135. }
  7136. }
  7137. random_tile = {
  7138. limit = {
  7139. has_building = no
  7140. has_blocker = no
  7141. }
  7142. set_building = "building_mining_network_4"
  7143. add_resource = {
  7144. resource = minerals
  7145. amount = 1
  7146. replace = yes
  7147. }
  7148. }
  7149. create_pop = {
  7150. species = owner_main_species
  7151. ethos = owner
  7152. }
  7153. create_pop = {
  7154. species = owner_main_species
  7155. ethos = owner
  7156. }
  7157. create_pop = {
  7158. species = owner_main_species
  7159. ethos = owner
  7160. }
  7161. create_pop = {
  7162. species = owner_main_species
  7163. ethos = owner
  7164. }
  7165. create_pop = {
  7166. species = owner_main_species
  7167. ethos = owner
  7168. }
  7169. create_pop = {
  7170. species = owner_main_species
  7171. ethos = owner
  7172. }
  7173. create_pop = {
  7174. species = owner_main_species
  7175. ethos = owner
  7176. }
  7177. create_army = {
  7178. name = random
  7179. owner = ROOT
  7180. species = ROOT
  7181. type = "defense_army"
  7182. }
  7183. create_army = {
  7184. name = random
  7185. owner = ROOT
  7186. species = ROOT
  7187. type = "defense_army"
  7188. }
  7189. create_army = {
  7190. name = random
  7191. owner = ROOT
  7192. species = ROOT
  7193. type = "defense_army"
  7194. }
  7195. create_army = {
  7196. name = random
  7197. owner = ROOT
  7198. species = ROOT
  7199. type = "defense_army"
  7200. }
  7201. create_spaceport = {
  7202. owner = ROOT
  7203. initial_module = "fallen_empire_weapon"
  7204. }
  7205. spaceport = {
  7206. set_spaceport_level = 6
  7207. set_spaceport_module = {
  7208. slot = 1
  7209. module = "crew_quarters"
  7210. }
  7211. set_spaceport_module = {
  7212. slot = 2
  7213. module = "fleet_academy"
  7214. }
  7215. set_spaceport_module = {
  7216. slot = 3
  7217. module = "synchronized_defenses"
  7218. }
  7219. set_spaceport_module = {
  7220. slot = 4
  7221. module = "engineering_bay"
  7222. }
  7223. }
  7224. }
  7225.  
  7226. change_orbit = @base_moon_distance
  7227.  
  7228. moon = {
  7229. count = { min = 0 max = 1 }
  7230. class = random_non_colonizable
  7231. orbit_angle = { min = 90 max = 270 }
  7232. orbit_distance = 5
  7233. }
  7234. }
  7235.  
  7236. planet = {
  7237. count = 2
  7238. orbit_distance = 20
  7239. class = random_non_colonizable
  7240. orbit_angle = { min = 90 max = 270 }
  7241. change_orbit = @base_moon_distance
  7242.  
  7243. moon = {
  7244. count = { min = 0 max = 1 }
  7245. class = random_non_colonizable
  7246. orbit_angle = { min = 90 max = 270 }
  7247. orbit_distance = 5
  7248. }
  7249. }
  7250.  
  7251. change_orbit = 25
  7252.  
  7253. planet = {
  7254. count = { min = 2 max = 3 }
  7255. class = random_asteroid
  7256. orbit_distance = 0
  7257. orbit_angle = { min = 40 max = 110 }
  7258. }
  7259.  
  7260. planet = {
  7261. count = { min = 2 max = 4 }
  7262. orbit_distance = 25
  7263. class = random_non_colonizable
  7264. orbit_angle = { min = 90 max = 270 }
  7265.  
  7266. change_orbit = @base_moon_distance
  7267.  
  7268. moon = {
  7269. count = { min = 0 max = 1 }
  7270. class = random_non_colonizable
  7271. orbit_angle = { min = 90 max = 270 }
  7272. orbit_distance = 5
  7273. }
  7274. }
  7275.  
  7276. planet = {
  7277. count = { min = 1 max = 2 }
  7278. orbit_distance = 20
  7279. class = pc_gas_giant
  7280. orbit_angle = { min = 90 max = 270 }
  7281.  
  7282. change_orbit = @base_moon_distance
  7283.  
  7284. moon = {
  7285. count = { min = 0 max = 3 }
  7286. class = random_non_colonizable
  7287. orbit_angle = { min = 90 max = 270 }
  7288. orbit_distance = 5
  7289. }
  7290. }
  7291.  
  7292. planet = {
  7293. count = { min = 0 max = 2 }
  7294. orbit_distance = 20
  7295. class = random_non_colonizable
  7296. orbit_angle = { min = 90 max = 270 }
  7297. }
  7298.  
  7299. init_effect = {
  7300. random_system_planet = {
  7301. limit = { has_deposit_for = shipclass_mining_station }
  7302. create_mining_station = {
  7303. owner = ROOT
  7304. }
  7305. create_fleet = {
  7306. effect = {
  7307. set_owner = ROOT
  7308. if = {
  7309. limit = {
  7310. ROOT = { has_ethic = ethic_fanatic_materialist }
  7311. }
  7312. create_ship = {
  7313. name = random
  7314. design = "Sigma"
  7315. graphical_culture = root
  7316. }
  7317. }
  7318. if = {
  7319. limit = {
  7320. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7321. }
  7322. create_ship = {
  7323. name = random
  7324. design = "Faith"
  7325. graphical_culture = root
  7326. }
  7327. }
  7328. if = {
  7329. limit = {
  7330. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7331. }
  7332. create_ship = {
  7333. name = random
  7334. design = "Devastator"
  7335. graphical_culture = root
  7336. }
  7337. }
  7338. if = {
  7339. limit = {
  7340. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7341. }
  7342. create_ship = {
  7343. name = random
  7344. design = "Watcher"
  7345. graphical_culture = root
  7346. }
  7347. }
  7348. set_location = {
  7349. target = PREV
  7350. distance = 20
  7351. angle = 90
  7352. }
  7353. }
  7354. }
  7355. }
  7356. random_system_planet = {
  7357. limit = {
  7358. has_deposit_for = shipclass_mining_station
  7359. has_mining_station = no
  7360. }
  7361. create_mining_station = {
  7362. owner = ROOT
  7363. }
  7364. }
  7365. random_system_planet = {
  7366. limit = { has_deposit_for = shipclass_research_station }
  7367. create_research_station = {
  7368. owner = ROOT
  7369. }
  7370. create_fleet = {
  7371. effect = {
  7372. set_owner = ROOT
  7373. if = {
  7374. limit = {
  7375. ROOT = { has_ethic = ethic_fanatic_materialist }
  7376. }
  7377. create_ship = {
  7378. name = random
  7379. design = "Sigma"
  7380. graphical_culture = root
  7381. }
  7382. }
  7383. if = {
  7384. limit = {
  7385. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7386. }
  7387. create_ship = {
  7388. name = random
  7389. design = "Faith"
  7390. graphical_culture = root
  7391. }
  7392. }
  7393. if = {
  7394. limit = {
  7395. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7396. }
  7397. create_ship = {
  7398. name = random
  7399. design = "Devastator"
  7400. graphical_culture = root
  7401. }
  7402. }
  7403. if = {
  7404. limit = {
  7405. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7406. }
  7407. create_ship = {
  7408. name = random
  7409. design = "Watcher"
  7410. graphical_culture = root
  7411. }
  7412. }
  7413. set_location = {
  7414. target = PREV
  7415. distance = 20
  7416. angle = 90
  7417. }
  7418. }
  7419. }
  7420. }
  7421. random_system_planet = {
  7422. limit = {
  7423. has_deposit_for = shipclass_research_station
  7424. has_research_station = no
  7425. }
  7426. create_research_station = {
  7427. owner = ROOT
  7428. }
  7429. }
  7430. random_system_planet = {
  7431. limit = {
  7432. has_research_station = no
  7433. has_mining_station = no
  7434. }
  7435. create_fleet = {
  7436. effect = {
  7437. set_owner = ROOT
  7438. if = {
  7439. limit = {
  7440. ROOT = { has_ethic = ethic_fanatic_materialist }
  7441. }
  7442. create_ship = {
  7443. name = random
  7444. design = "Sigma"
  7445. graphical_culture = root
  7446. }
  7447. }
  7448. if = {
  7449. limit = {
  7450. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7451. }
  7452. create_ship = {
  7453. name = random
  7454. design = "Faith"
  7455. graphical_culture = root
  7456. }
  7457. }
  7458. if = {
  7459. limit = {
  7460. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7461. }
  7462. create_ship = {
  7463. name = random
  7464. design = "Devastator"
  7465. graphical_culture = root
  7466. }
  7467. }
  7468. if = {
  7469. limit = {
  7470. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7471. }
  7472. create_ship = {
  7473. name = random
  7474. design = "Watcher"
  7475. graphical_culture = root
  7476. }
  7477. }
  7478. set_location = PREV
  7479. }
  7480. }
  7481. }
  7482. }
  7483. }
  7484.  
  7485.  
  7486. fallen_orbitals_1 = {
  7487. planet = {
  7488. count = 1
  7489. class = star
  7490. orbit_distance = 0
  7491. orbit_angle = 1
  7492. size = { min = 20 max = 30 }
  7493. has_ring = no
  7494. }
  7495.  
  7496. change_orbit = 45
  7497.  
  7498. planet = {
  7499. count = { min = 2 max = 10 }
  7500. orbit_distance = 20
  7501. orbit_angle = { min = 90 max = 270 }
  7502.  
  7503. change_orbit = @base_moon_distance
  7504.  
  7505. moon = {
  7506. count = { min = 0 max = 1 }
  7507. orbit_angle = { min = 90 max = 270 }
  7508. orbit_distance = 5
  7509. }
  7510. }
  7511.  
  7512. init_effect = {
  7513. random_system_planet = {
  7514. limit = {
  7515. is_ideal_planet_class = {
  7516. who = ROOT
  7517. status = yes
  7518. }
  7519. is_colony = no
  7520. }
  7521. set_planet_flag = fallen_empire_world
  7522. prevent_anomaly = yes
  7523. set_owner = ROOT
  7524. random_tile = {
  7525. limit = {
  7526. has_building = no
  7527. has_blocker = no
  7528. num_adjacent_tiles > 3
  7529. }
  7530. set_building = "building_capital_2"
  7531. add_resource = {
  7532. resource = minerals
  7533. amount = 1
  7534. replace = yes
  7535. }
  7536. add_resource = {
  7537. resource = food
  7538. amount = 1
  7539. }
  7540. }
  7541. random_tile = {
  7542. limit = {
  7543. has_building = no
  7544. has_blocker = no
  7545. }
  7546. set_building = "building_hydroponics_farm_4"
  7547. add_resource = {
  7548. resource = food
  7549. amount = 1
  7550. replace = yes
  7551. }
  7552. }
  7553. random_tile = {
  7554. limit = {
  7555. has_building = no
  7556. has_blocker = no
  7557. }
  7558. set_building = "building_power_plant_4"
  7559. add_resource = {
  7560. resource = energy
  7561. amount = 1
  7562. replace = yes
  7563. }
  7564. }
  7565. random_tile = {
  7566. limit = {
  7567. has_building = no
  7568. has_blocker = no
  7569. }
  7570. set_building = "building_power_plant_4"
  7571. add_resource = {
  7572. resource = energy
  7573. amount = 1
  7574. replace = yes
  7575. }
  7576. }
  7577. random_tile = {
  7578. limit = {
  7579. has_building = no
  7580. has_blocker = no
  7581. }
  7582. set_building = "building_power_plant_4"
  7583. add_resource = {
  7584. resource = energy
  7585. amount = 1
  7586. replace = yes
  7587. }
  7588. }
  7589. random_tile = {
  7590. limit = {
  7591. has_building = no
  7592. has_blocker = no
  7593. }
  7594. set_building = "building_mining_network_4"
  7595. add_resource = {
  7596. resource = minerals
  7597. amount = 1
  7598. replace = yes
  7599. }
  7600. }
  7601. random_tile = {
  7602. limit = {
  7603. has_building = no
  7604. has_blocker = no
  7605. }
  7606. set_building = "building_mining_network_4"
  7607. add_resource = {
  7608. resource = minerals
  7609. amount = 1
  7610. replace = yes
  7611. }
  7612. }
  7613. random_tile = {
  7614. limit = {
  7615. has_blocker = no
  7616. has_grown_pop = no
  7617. has_growing_pop = no
  7618. }
  7619. create_pop = {
  7620. species = owner_main_species
  7621. ethos = owner
  7622. }
  7623. }
  7624. random_tile = {
  7625. limit = {
  7626. has_blocker = no
  7627. has_grown_pop = no
  7628. has_growing_pop = no
  7629. }
  7630. create_pop = {
  7631. species = owner_main_species
  7632. ethos = owner
  7633. }
  7634. }
  7635. random_tile = {
  7636. limit = {
  7637. has_blocker = no
  7638. has_grown_pop = no
  7639. has_growing_pop = no
  7640. }
  7641. create_pop = {
  7642. species = owner_main_species
  7643. ethos = owner
  7644. }
  7645. }
  7646. random_tile = {
  7647. limit = {
  7648. has_blocker = no
  7649. has_grown_pop = no
  7650. has_growing_pop = no
  7651. }
  7652. create_pop = {
  7653. species = owner_main_species
  7654. ethos = owner
  7655. }
  7656. }
  7657. random_tile = {
  7658. limit = {
  7659. has_blocker = no
  7660. has_grown_pop = no
  7661. has_growing_pop = no
  7662. }
  7663. create_pop = {
  7664. species = owner_main_species
  7665. ethos = owner
  7666. }
  7667. }
  7668. random_tile = {
  7669. limit = {
  7670. has_blocker = no
  7671. has_grown_pop = no
  7672. has_growing_pop = no
  7673. }
  7674. create_pop = {
  7675. species = owner_main_species
  7676. ethos = owner
  7677. }
  7678. }
  7679. random_tile = {
  7680. limit = {
  7681. has_blocker = no
  7682. has_grown_pop = no
  7683. has_growing_pop = no
  7684. }
  7685. create_pop = {
  7686. species = owner_main_species
  7687. ethos = owner
  7688. }
  7689. }
  7690. create_army = {
  7691. name = random
  7692. owner = ROOT
  7693. species = ROOT
  7694. type = "defense_army"
  7695. }
  7696. create_army = {
  7697. name = random
  7698. owner = ROOT
  7699. species = ROOT
  7700. type = "defense_army"
  7701. }
  7702. create_army = {
  7703. name = random
  7704. owner = ROOT
  7705. species = ROOT
  7706. type = "defense_army"
  7707. }
  7708. create_army = {
  7709. name = random
  7710. owner = ROOT
  7711. species = ROOT
  7712. type = "defense_army"
  7713. }
  7714. }
  7715. random_system_planet = {
  7716. limit = { has_deposit_for = shipclass_mining_station }
  7717. create_mining_station = {
  7718. owner = ROOT
  7719. }
  7720. create_fleet = {
  7721. effect = {
  7722. set_owner = ROOT
  7723. if = {
  7724. limit = {
  7725. ROOT = { has_ethic = ethic_fanatic_materialist }
  7726. }
  7727. create_ship = {
  7728. name = random
  7729. design = "Sigma"
  7730. graphical_culture = root
  7731. }
  7732. }
  7733. if = {
  7734. limit = {
  7735. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7736. }
  7737. create_ship = {
  7738. name = random
  7739. design = "Faith"
  7740. graphical_culture = root
  7741. }
  7742. }
  7743. if = {
  7744. limit = {
  7745. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7746. }
  7747. create_ship = {
  7748. name = random
  7749. design = "Devastator"
  7750. graphical_culture = root
  7751. }
  7752. }
  7753. if = {
  7754. limit = {
  7755. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7756. }
  7757. create_ship = {
  7758. name = random
  7759. design = "Watcher"
  7760. graphical_culture = root
  7761. }
  7762. }
  7763. set_location = {
  7764. target = PREV
  7765. distance = 20
  7766. angle = 90
  7767. }
  7768. }
  7769. }
  7770. }
  7771. random_system_planet = {
  7772. limit = {
  7773. has_deposit_for = shipclass_mining_station
  7774. has_mining_station = no
  7775. }
  7776. create_mining_station = {
  7777. owner = ROOT
  7778. }
  7779. }
  7780. random_system_planet = {
  7781. limit = { has_deposit_for = shipclass_research_station }
  7782. create_research_station = {
  7783. owner = ROOT
  7784. }
  7785. create_fleet = {
  7786. effect = {
  7787. set_owner = ROOT
  7788. if = {
  7789. limit = {
  7790. ROOT = { has_ethic = ethic_fanatic_materialist }
  7791. }
  7792. create_ship = {
  7793. name = random
  7794. design = "Sigma"
  7795. graphical_culture = root
  7796. }
  7797. }
  7798. if = {
  7799. limit = {
  7800. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7801. }
  7802. create_ship = {
  7803. name = random
  7804. design = "Faith"
  7805. graphical_culture = root
  7806. }
  7807. }
  7808. if = {
  7809. limit = {
  7810. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7811. }
  7812. create_ship = {
  7813. name = random
  7814. design = "Devastator"
  7815. graphical_culture = root
  7816. }
  7817. }
  7818. if = {
  7819. limit = {
  7820. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7821. }
  7822. create_ship = {
  7823. name = random
  7824. design = "Watcher"
  7825. graphical_culture = root
  7826. }
  7827. }
  7828. set_location = {
  7829. target = PREV
  7830. distance = 20
  7831. angle = 90
  7832. }
  7833. }
  7834. }
  7835. }
  7836. random_system_planet = {
  7837. limit = {
  7838. has_deposit_for = shipclass_research_station
  7839. has_research_station = no
  7840. }
  7841. create_research_station = {
  7842. owner = ROOT
  7843. }
  7844. }
  7845. random_system_planet = {
  7846. limit = {
  7847. has_research_station = no
  7848. has_mining_station = no
  7849. }
  7850. create_fleet = {
  7851. effect = {
  7852. set_owner = ROOT
  7853. if = {
  7854. limit = {
  7855. ROOT = { has_ethic = ethic_fanatic_materialist }
  7856. }
  7857. create_ship = {
  7858. name = random
  7859. design = "Sigma"
  7860. graphical_culture = root
  7861. }
  7862. }
  7863. if = {
  7864. limit = {
  7865. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  7866. }
  7867. create_ship = {
  7868. name = random
  7869. design = "Faith"
  7870. graphical_culture = root
  7871. }
  7872. }
  7873. if = {
  7874. limit = {
  7875. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  7876. }
  7877. create_ship = {
  7878. name = random
  7879. design = "Devastator"
  7880. graphical_culture = root
  7881. }
  7882. }
  7883. if = {
  7884. limit = {
  7885. ROOT = { has_ethic = ethic_fanatic_xenophile }
  7886. }
  7887. create_ship = {
  7888. name = random
  7889. design = "Watcher"
  7890. graphical_culture = root
  7891. }
  7892. }
  7893. set_location = PREV
  7894. }
  7895. }
  7896. }
  7897. }
  7898.  
  7899. neighbor_system = {
  7900. distance = { min = 0 max = 50 }
  7901. initializer = "fallen_col_1"
  7902. }
  7903. neighbor_system = {
  7904. distance = { min = 0 max = 50 }
  7905. initializer = "fallen_col_2"
  7906. }
  7907. }
  7908.  
  7909. fallen_orbitals_2 = {
  7910. asteroids_distance = 95
  7911.  
  7912. planet = {
  7913. count = 1
  7914. class = star
  7915. orbit_distance = 0
  7916. orbit_angle = 1
  7917. size = { min = 20 max = 30 }
  7918. has_ring = no
  7919. }
  7920.  
  7921. change_orbit = 30
  7922.  
  7923. planet = {
  7924. count = 2
  7925. orbit_distance = 20
  7926. orbit_angle = { min = 90 max = 270 }
  7927. }
  7928.  
  7929. change_orbit = 25
  7930.  
  7931. planet = {
  7932. count = { min = 1 max = 4 }
  7933. class = random_asteroid
  7934. orbit_distance = 0
  7935. orbit_angle = { min = 90 max = 270 }
  7936. }
  7937.  
  7938. planet = {
  7939. count = { min = 2 max = 5 }
  7940. orbit_distance = 25
  7941. orbit_angle = { min = 90 max = 270 }
  7942.  
  7943. change_orbit = @base_moon_distance
  7944.  
  7945. moon = {
  7946. count = { min = 0 max = 1 }
  7947. orbit_angle = { min = 90 max = 270 }
  7948. orbit_distance = 5
  7949. }
  7950. }
  7951.  
  7952. init_effect = {
  7953. random_system_planet = {
  7954. limit = {
  7955. is_ideal_planet_class = {
  7956. who = ROOT
  7957. status = yes
  7958. }
  7959. is_colony = no
  7960. }
  7961. set_planet_flag = fallen_empire_world
  7962. prevent_anomaly = yes
  7963. set_owner = ROOT
  7964. random_tile = {
  7965. limit = {
  7966. has_building = no
  7967. has_blocker = no
  7968. num_adjacent_tiles > 3
  7969. }
  7970. set_building = "building_capital_2"
  7971. add_resource = {
  7972. resource = minerals
  7973. amount = 1
  7974. replace = yes
  7975. }
  7976. add_resource = {
  7977. resource = food
  7978. amount = 1
  7979. }
  7980. }
  7981. random_tile = {
  7982. limit = {
  7983. has_building = no
  7984. has_blocker = no
  7985. }
  7986. set_building = "building_hydroponics_farm_4"
  7987. add_resource = {
  7988. resource = food
  7989. amount = 1
  7990. replace = yes
  7991. }
  7992. }
  7993. random_tile = {
  7994. limit = {
  7995. has_building = no
  7996. has_blocker = no
  7997. }
  7998. set_building = "building_power_plant_4"
  7999. add_resource = {
  8000. resource = energy
  8001. amount = 1
  8002. replace = yes
  8003. }
  8004. }
  8005. random_tile = {
  8006. limit = {
  8007. has_building = no
  8008. has_blocker = no
  8009. }
  8010. set_building = "building_power_plant_4"
  8011. add_resource = {
  8012. resource = energy
  8013. amount = 1
  8014. replace = yes
  8015. }
  8016. }
  8017. random_tile = {
  8018. limit = {
  8019. has_building = no
  8020. has_blocker = no
  8021. }
  8022. set_building = "building_power_plant_4"
  8023. add_resource = {
  8024. resource = energy
  8025. amount = 1
  8026. replace = yes
  8027. }
  8028. }
  8029. random_tile = {
  8030. limit = {
  8031. has_building = no
  8032. has_blocker = no
  8033. }
  8034. set_building = "building_mining_network_4"
  8035. add_resource = {
  8036. resource = minerals
  8037. amount = 1
  8038. replace = yes
  8039. }
  8040. }
  8041. random_tile = {
  8042. limit = {
  8043. has_building = no
  8044. has_blocker = no
  8045. }
  8046. set_building = "building_mining_network_4"
  8047. add_resource = {
  8048. resource = minerals
  8049. amount = 1
  8050. replace = yes
  8051. }
  8052. }
  8053. random_tile = {
  8054. limit = {
  8055. has_blocker = no
  8056. has_grown_pop = no
  8057. has_growing_pop = no
  8058. }
  8059. create_pop = {
  8060. species = owner_main_species
  8061. ethos = owner
  8062. }
  8063. }
  8064. random_tile = {
  8065. limit = {
  8066. has_blocker = no
  8067. has_grown_pop = no
  8068. has_growing_pop = no
  8069. }
  8070. create_pop = {
  8071. species = owner_main_species
  8072. ethos = owner
  8073. }
  8074. }
  8075. random_tile = {
  8076. limit = {
  8077. has_blocker = no
  8078. has_grown_pop = no
  8079. has_growing_pop = no
  8080. }
  8081. create_pop = {
  8082. species = owner_main_species
  8083. ethos = owner
  8084. }
  8085. }
  8086. random_tile = {
  8087. limit = {
  8088. has_blocker = no
  8089. has_grown_pop = no
  8090. has_growing_pop = no
  8091. }
  8092. create_pop = {
  8093. species = owner_main_species
  8094. ethos = owner
  8095. }
  8096. }
  8097. random_tile = {
  8098. limit = {
  8099. has_blocker = no
  8100. has_grown_pop = no
  8101. has_growing_pop = no
  8102. }
  8103. create_pop = {
  8104. species = owner_main_species
  8105. ethos = owner
  8106. }
  8107. }
  8108. random_tile = {
  8109. limit = {
  8110. has_blocker = no
  8111. has_grown_pop = no
  8112. has_growing_pop = no
  8113. }
  8114. create_pop = {
  8115. species = owner_main_species
  8116. ethos = owner
  8117. }
  8118. }
  8119. random_tile = {
  8120. limit = {
  8121. has_blocker = no
  8122. has_grown_pop = no
  8123. has_growing_pop = no
  8124. }
  8125. create_pop = {
  8126. species = owner_main_species
  8127. ethos = owner
  8128. }
  8129. }
  8130. create_army = {
  8131. name = random
  8132. owner = ROOT
  8133. species = ROOT
  8134. type = "defense_army"
  8135. }
  8136. create_army = {
  8137. name = random
  8138. owner = ROOT
  8139. species = ROOT
  8140. type = "defense_army"
  8141. }
  8142. create_army = {
  8143. name = random
  8144. owner = ROOT
  8145. species = ROOT
  8146. type = "defense_army"
  8147. }
  8148. create_army = {
  8149. name = random
  8150. owner = ROOT
  8151. species = ROOT
  8152. type = "defense_army"
  8153. }
  8154. }
  8155. random_system_planet = {
  8156. limit = { has_deposit_for = shipclass_mining_station }
  8157. create_mining_station = {
  8158. owner = ROOT
  8159. }
  8160. create_fleet = {
  8161. effect = {
  8162. set_owner = ROOT
  8163. if = {
  8164. limit = {
  8165. ROOT = { has_ethic = ethic_fanatic_materialist }
  8166. }
  8167. create_ship = {
  8168. name = random
  8169. design = "Sigma"
  8170. graphical_culture = root
  8171. }
  8172. }
  8173. if = {
  8174. limit = {
  8175. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8176. }
  8177. create_ship = {
  8178. name = random
  8179. design = "Faith"
  8180. graphical_culture = root
  8181. }
  8182. }
  8183. if = {
  8184. limit = {
  8185. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8186. }
  8187. create_ship = {
  8188. name = random
  8189. design = "Devastator"
  8190. graphical_culture = root
  8191. }
  8192. }
  8193. if = {
  8194. limit = {
  8195. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8196. }
  8197. create_ship = {
  8198. name = random
  8199. design = "Watcher"
  8200. graphical_culture = root
  8201. }
  8202. }
  8203. set_location = {
  8204. target = PREV
  8205. distance = 20
  8206. angle = 90
  8207. }
  8208. }
  8209. }
  8210. }
  8211. random_system_planet = {
  8212. limit = {
  8213. has_deposit_for = shipclass_mining_station
  8214. has_mining_station = no
  8215. }
  8216. create_mining_station = {
  8217. owner = ROOT
  8218. }
  8219. }
  8220. random_system_planet = {
  8221. limit = { has_deposit_for = shipclass_research_station }
  8222. create_research_station = {
  8223. owner = ROOT
  8224. }
  8225. create_fleet = {
  8226. effect = {
  8227. set_owner = ROOT
  8228. if = {
  8229. limit = {
  8230. ROOT = { has_ethic = ethic_fanatic_materialist }
  8231. }
  8232. create_ship = {
  8233. name = random
  8234. design = "Sigma"
  8235. graphical_culture = root
  8236. }
  8237. }
  8238. if = {
  8239. limit = {
  8240. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8241. }
  8242. create_ship = {
  8243. name = random
  8244. design = "Faith"
  8245. graphical_culture = root
  8246. }
  8247. }
  8248. if = {
  8249. limit = {
  8250. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8251. }
  8252. create_ship = {
  8253. name = random
  8254. design = "Devastator"
  8255. graphical_culture = root
  8256. }
  8257. }
  8258. if = {
  8259. limit = {
  8260. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8261. }
  8262. create_ship = {
  8263. name = random
  8264. design = "Watcher"
  8265. graphical_culture = root
  8266. }
  8267. }
  8268. set_location = {
  8269. target = PREV
  8270. distance = 20
  8271. angle = 90
  8272. }
  8273. }
  8274. }
  8275. }
  8276. random_system_planet = {
  8277. limit = {
  8278. has_deposit_for = shipclass_research_station
  8279. has_research_station = no
  8280. }
  8281. create_research_station = {
  8282. owner = ROOT
  8283. }
  8284. }
  8285. random_system_planet = {
  8286. limit = {
  8287. has_research_station = no
  8288. has_mining_station = no
  8289. }
  8290. create_fleet = {
  8291. effect = {
  8292. set_owner = ROOT
  8293. if = {
  8294. limit = {
  8295. ROOT = { has_ethic = ethic_fanatic_materialist }
  8296. }
  8297. create_ship = {
  8298. name = random
  8299. design = "Sigma"
  8300. graphical_culture = root
  8301. }
  8302. }
  8303. if = {
  8304. limit = {
  8305. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8306. }
  8307. create_ship = {
  8308. name = random
  8309. design = "Faith"
  8310. graphical_culture = root
  8311. }
  8312. }
  8313. if = {
  8314. limit = {
  8315. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8316. }
  8317. create_ship = {
  8318. name = random
  8319. design = "Devastator"
  8320. graphical_culture = root
  8321. }
  8322. }
  8323. if = {
  8324. limit = {
  8325. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8326. }
  8327. create_ship = {
  8328. name = random
  8329. design = "Watcher"
  8330. graphical_culture = root
  8331. }
  8332. }
  8333. set_location = PREV
  8334. }
  8335. }
  8336. }
  8337. }
  8338.  
  8339. neighbor_system = {
  8340. distance = { min = 0 max = 50 }
  8341. initializer = "fallen_col_1"
  8342. }
  8343. neighbor_system = {
  8344. distance = { min = 0 max = 50 }
  8345. initializer = "fallen_col_2"
  8346. }
  8347. }
  8348.  
  8349. ### SPECIAL FALLEN EMPIRE SYSTEMS
  8350.  
  8351. # Shielded Planet 1
  8352. fallen_shielded_1 = {
  8353. class = "rl_standard_stars"
  8354. flags = { fallen_shielded_1 }
  8355.  
  8356. planet = {
  8357. count = 1
  8358. class = star
  8359. orbit_distance = 0
  8360. orbit_angle = 1
  8361. size = { min = 20 max = 30 }
  8362. has_ring = no
  8363. }
  8364.  
  8365. change_orbit = 35
  8366.  
  8367. planet = {
  8368. count = { min = 1 max = 3 }
  8369. orbit_distance = 15
  8370. class = random_non_colonizable
  8371. orbit_angle = { min = 90 max = 270 }
  8372. }
  8373.  
  8374. planet = {
  8375. count = 1
  8376. orbit_distance = 20
  8377. class = pc_shielded
  8378. orbit_angle = { min = 90 max = 270 }
  8379. size = 16
  8380. modifiers = none
  8381. flags = { fallen_shield_world }
  8382.  
  8383. init_effect = {
  8384. prevent_anomaly = yes
  8385. }
  8386.  
  8387. change_orbit = @base_moon_distance
  8388.  
  8389. moon = {
  8390. count = { min = 0 max = 1 }
  8391. class = random_non_colonizable
  8392. orbit_angle = { min = 90 max = 270 }
  8393. orbit_distance = 5
  8394. }
  8395. }
  8396.  
  8397. planet = {
  8398. count = { min = 1 max = 3 }
  8399. orbit_distance = 25
  8400. class = random_non_colonizable
  8401. orbit_angle = { min = 90 max = 270 }
  8402. }
  8403.  
  8404. planet = {
  8405. count = { min = 1 max = 2 }
  8406. orbit_distance = 20
  8407. class = pc_gas_giant
  8408. orbit_angle = { min = 90 max = 270 }
  8409.  
  8410. change_orbit = @base_moon_distance
  8411.  
  8412. moon = {
  8413. count = { min = 1 max = 3 }
  8414. class = random_non_colonizable
  8415. orbit_angle = { min = 90 max = 270 }
  8416. orbit_distance = 5
  8417. }
  8418. }
  8419.  
  8420. planet = {
  8421. count = { min = 0 max = 1 }
  8422. orbit_distance = 20
  8423. class = random_non_colonizable
  8424. orbit_angle = { min = 90 max = 270 }
  8425. }
  8426.  
  8427. init_effect = {
  8428. random_system_planet = {
  8429. limit = { has_deposit_for = shipclass_mining_station }
  8430. create_mining_station = {
  8431. owner = ROOT
  8432. }
  8433. create_fleet = {
  8434. effect = {
  8435. set_owner = ROOT
  8436. if = {
  8437. limit = {
  8438. ROOT = { has_ethic = ethic_fanatic_materialist }
  8439. }
  8440. create_ship = {
  8441. name = random
  8442. design = "Sigma"
  8443. graphical_culture = root
  8444. }
  8445. }
  8446. if = {
  8447. limit = {
  8448. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8449. }
  8450. create_ship = {
  8451. name = random
  8452. design = "Faith"
  8453. graphical_culture = root
  8454. }
  8455. }
  8456. if = {
  8457. limit = {
  8458. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8459. }
  8460. create_ship = {
  8461. name = random
  8462. design = "Devastator"
  8463. graphical_culture = root
  8464. }
  8465. }
  8466. if = {
  8467. limit = {
  8468. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8469. }
  8470. create_ship = {
  8471. name = random
  8472. design = "Watcher"
  8473. graphical_culture = root
  8474. }
  8475. }
  8476. set_location = {
  8477. target = PREV
  8478. distance = 20
  8479. angle = 90
  8480. }
  8481. }
  8482. }
  8483. }
  8484. random_system_planet = {
  8485. limit = {
  8486. has_deposit_for = shipclass_mining_station
  8487. has_mining_station = no
  8488. }
  8489. create_mining_station = {
  8490. owner = ROOT
  8491. }
  8492. }
  8493. random_system_planet = {
  8494. limit = { has_deposit_for = shipclass_research_station }
  8495. create_research_station = {
  8496. owner = ROOT
  8497. }
  8498. create_fleet = {
  8499. effect = {
  8500. set_owner = ROOT
  8501. if = {
  8502. limit = {
  8503. ROOT = { has_ethic = ethic_fanatic_materialist }
  8504. }
  8505. create_ship = {
  8506. name = random
  8507. design = "Sigma"
  8508. graphical_culture = root
  8509. }
  8510. }
  8511. if = {
  8512. limit = {
  8513. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8514. }
  8515. create_ship = {
  8516. name = random
  8517. design = "Faith"
  8518. graphical_culture = root
  8519. }
  8520. }
  8521. if = {
  8522. limit = {
  8523. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8524. }
  8525. create_ship = {
  8526. name = random
  8527. design = "Devastator"
  8528. graphical_culture = root
  8529. }
  8530. }
  8531. if = {
  8532. limit = {
  8533. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8534. }
  8535. create_ship = {
  8536. name = random
  8537. design = "Watcher"
  8538. graphical_culture = root
  8539. }
  8540. }
  8541. set_location = {
  8542. target = PREV
  8543. distance = 20
  8544. angle = 90
  8545. }
  8546. }
  8547. }
  8548. }
  8549. random_system_planet = {
  8550. limit = {
  8551. has_deposit_for = shipclass_research_station
  8552. has_research_station = no
  8553. }
  8554. create_research_station = {
  8555. owner = ROOT
  8556. }
  8557. }
  8558. random_system_planet = {
  8559. limit = { is_planet_class = pc_shielded }
  8560. create_fleet = {
  8561. effect = {
  8562. set_owner = ROOT
  8563. if = {
  8564. limit = {
  8565. ROOT = { has_ethic = ethic_fanatic_materialist }
  8566. }
  8567. create_ship = {
  8568. name = random
  8569. design = "Omega"
  8570. graphical_culture = root
  8571. }
  8572. }
  8573. if = {
  8574. limit = {
  8575. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8576. }
  8577. create_ship = {
  8578. name = random
  8579. design = "Bulwark"
  8580. graphical_culture = root
  8581. }
  8582. }
  8583. if = {
  8584. limit = {
  8585. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8586. }
  8587. create_ship = {
  8588. name = random
  8589. design = "Reaper"
  8590. graphical_culture = root
  8591. }
  8592. }
  8593. if = {
  8594. limit = {
  8595. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8596. }
  8597. create_ship = {
  8598. name = random
  8599. design = "Sentinel"
  8600. graphical_culture = root
  8601. }
  8602. }
  8603. set_location = PREV
  8604. }
  8605. }
  8606. }
  8607. }
  8608. }
  8609.  
  8610. # Shielded Planet 2
  8611. fallen_shielded_2 = {
  8612. class = "rl_standard_stars"
  8613. flags = { fallen_shielded_2 }
  8614.  
  8615. planet = {
  8616. count = 1
  8617. class = star
  8618. orbit_distance = 0
  8619. orbit_angle = 1
  8620. size = { min = 20 max = 30 }
  8621. has_ring = no
  8622. }
  8623.  
  8624. change_orbit = 35
  8625.  
  8626. planet = {
  8627. count = { min = 1 max = 3 }
  8628. orbit_distance = 15
  8629. class = random_non_colonizable
  8630. orbit_angle = { min = 90 max = 270 }
  8631. }
  8632.  
  8633. planet = {
  8634. count = 1
  8635. orbit_distance = 20
  8636. class = pc_shielded
  8637. orbit_angle = { min = 90 max = 270 }
  8638. size = 16
  8639. modifiers = none
  8640. flags = { fallen_shield_world }
  8641.  
  8642. init_effect = {
  8643. prevent_anomaly = yes
  8644. }
  8645.  
  8646. change_orbit = @base_moon_distance
  8647.  
  8648. moon = {
  8649. count = { min = 0 max = 1 }
  8650. class = random_non_colonizable
  8651. orbit_angle = { min = 90 max = 270 }
  8652. orbit_distance = 5
  8653. }
  8654. }
  8655.  
  8656. planet = {
  8657. count = { min = 1 max = 3 }
  8658. orbit_distance = 25
  8659. class = random_non_colonizable
  8660. orbit_angle = { min = 90 max = 270 }
  8661. }
  8662.  
  8663. planet = {
  8664. count = { min = 1 max = 2 }
  8665. orbit_distance = 20
  8666. class = pc_gas_giant
  8667. orbit_angle = { min = 90 max = 270 }
  8668.  
  8669. change_orbit = @base_moon_distance
  8670.  
  8671. moon = {
  8672. count = { min = 1 max = 3 }
  8673. class = random_non_colonizable
  8674. orbit_angle = { min = 90 max = 270 }
  8675. orbit_distance = 5
  8676. }
  8677. }
  8678.  
  8679. planet = {
  8680. count = { min = 0 max = 1 }
  8681. orbit_distance = 20
  8682. class = random_non_colonizable
  8683. orbit_angle = { min = 90 max = 270 }
  8684. }
  8685.  
  8686. init_effect = {
  8687. random_system_planet = {
  8688. limit = { has_deposit_for = shipclass_mining_station }
  8689. create_mining_station = {
  8690. owner = ROOT
  8691. }
  8692. create_fleet = {
  8693. effect = {
  8694. set_owner = ROOT
  8695. if = {
  8696. limit = {
  8697. ROOT = { has_ethic = ethic_fanatic_materialist }
  8698. }
  8699. create_ship = {
  8700. name = random
  8701. design = "Sigma"
  8702. graphical_culture = root
  8703. }
  8704. }
  8705. if = {
  8706. limit = {
  8707. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8708. }
  8709. create_ship = {
  8710. name = random
  8711. design = "Faith"
  8712. graphical_culture = root
  8713. }
  8714. }
  8715. if = {
  8716. limit = {
  8717. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8718. }
  8719. create_ship = {
  8720. name = random
  8721. design = "Devastator"
  8722. graphical_culture = root
  8723. }
  8724. }
  8725. if = {
  8726. limit = {
  8727. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8728. }
  8729. create_ship = {
  8730. name = random
  8731. design = "Watcher"
  8732. graphical_culture = root
  8733. }
  8734. }
  8735. set_location = {
  8736. target = PREV
  8737. distance = 20
  8738. angle = 90
  8739. }
  8740. }
  8741. }
  8742. }
  8743. random_system_planet = {
  8744. limit = {
  8745. has_deposit_for = shipclass_mining_station
  8746. has_mining_station = no
  8747. }
  8748. create_mining_station = {
  8749. owner = ROOT
  8750. }
  8751. }
  8752. random_system_planet = {
  8753. limit = { has_deposit_for = shipclass_research_station }
  8754. create_research_station = {
  8755. owner = ROOT
  8756. }
  8757. create_fleet = {
  8758. effect = {
  8759. set_owner = ROOT
  8760. if = {
  8761. limit = {
  8762. ROOT = { has_ethic = ethic_fanatic_materialist }
  8763. }
  8764. create_ship = {
  8765. name = random
  8766. design = "Sigma"
  8767. graphical_culture = root
  8768. }
  8769. }
  8770. if = {
  8771. limit = {
  8772. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8773. }
  8774. create_ship = {
  8775. name = random
  8776. design = "Faith"
  8777. graphical_culture = root
  8778. }
  8779. }
  8780. if = {
  8781. limit = {
  8782. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8783. }
  8784. create_ship = {
  8785. name = random
  8786. design = "Devastator"
  8787. graphical_culture = root
  8788. }
  8789. }
  8790. if = {
  8791. limit = {
  8792. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8793. }
  8794. create_ship = {
  8795. name = random
  8796. design = "Watcher"
  8797. graphical_culture = root
  8798. }
  8799. }
  8800. set_location = {
  8801. target = PREV
  8802. distance = 20
  8803. angle = 90
  8804. }
  8805. }
  8806. }
  8807. }
  8808. random_system_planet = {
  8809. limit = {
  8810. has_deposit_for = shipclass_research_station
  8811. has_research_station = no
  8812. }
  8813. create_research_station = {
  8814. owner = ROOT
  8815. }
  8816. }
  8817. random_system_planet = {
  8818. limit = { is_planet_class = pc_shielded }
  8819. create_fleet = {
  8820. effect = {
  8821. set_owner = ROOT
  8822. if = {
  8823. limit = {
  8824. ROOT = { has_ethic = ethic_fanatic_materialist }
  8825. }
  8826. create_ship = {
  8827. name = random
  8828. design = "Omega"
  8829. graphical_culture = root
  8830. }
  8831. }
  8832. if = {
  8833. limit = {
  8834. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8835. }
  8836. create_ship = {
  8837. name = random
  8838. design = "Bulwark"
  8839. graphical_culture = root
  8840. }
  8841. }
  8842. if = {
  8843. limit = {
  8844. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8845. }
  8846. create_ship = {
  8847. name = random
  8848. design = "Reaper"
  8849. graphical_culture = root
  8850. }
  8851. }
  8852. if = {
  8853. limit = {
  8854. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8855. }
  8856. create_ship = {
  8857. name = random
  8858. design = "Sentinel"
  8859. graphical_culture = root
  8860. }
  8861. }
  8862. set_location = PREV
  8863. }
  8864. }
  8865. }
  8866. }
  8867. }
  8868.  
  8869. # Shielded Planet 3
  8870. fallen_shielded_3 = {
  8871. class = "rl_standard_stars"
  8872.  
  8873. flags = { fallen_shielded_3 }
  8874.  
  8875. planet = {
  8876. count = 1
  8877. class = star
  8878. orbit_distance = 0
  8879. orbit_angle = 1
  8880. size = { min = 20 max = 30 }
  8881. has_ring = no
  8882. }
  8883.  
  8884. change_orbit = 35
  8885.  
  8886. planet = {
  8887. count = { min = 1 max = 3 }
  8888. orbit_distance = 15
  8889. class = random_non_colonizable
  8890. orbit_angle = { min = 90 max = 270 }
  8891. }
  8892.  
  8893. planet = {
  8894. count = 1
  8895. orbit_distance = 20
  8896. class = pc_shielded
  8897. orbit_angle = { min = 90 max = 270 }
  8898. size = 16
  8899. modifiers = none
  8900. flags = { fallen_shield_world }
  8901.  
  8902. init_effect = {
  8903. prevent_anomaly = yes
  8904. }
  8905.  
  8906. change_orbit = @base_moon_distance
  8907.  
  8908. moon = {
  8909. count = { min = 0 max = 1 }
  8910. class = random_non_colonizable
  8911. orbit_angle = { min = 90 max = 270 }
  8912. orbit_distance = 5
  8913. }
  8914. }
  8915.  
  8916. planet = {
  8917. count = { min = 1 max = 3 }
  8918. orbit_distance = 25
  8919. class = random_non_colonizable
  8920. orbit_angle = { min = 90 max = 270 }
  8921. }
  8922.  
  8923. planet = {
  8924. count = { min = 1 max = 2 }
  8925. orbit_distance = 20
  8926. class = pc_gas_giant
  8927. orbit_angle = { min = 90 max = 270 }
  8928.  
  8929. change_orbit = @base_moon_distance
  8930.  
  8931. moon = {
  8932. count = { min = 1 max = 3 }
  8933. class = random_non_colonizable
  8934. orbit_angle = { min = 90 max = 270 }
  8935. orbit_distance = 5
  8936. }
  8937. }
  8938.  
  8939. planet = {
  8940. count = { min = 0 max = 1 }
  8941. orbit_distance = 20
  8942. class = random_non_colonizable
  8943. orbit_angle = { min = 90 max = 270 }
  8944. }
  8945.  
  8946. init_effect = {
  8947. random_system_planet = {
  8948. limit = { has_deposit_for = shipclass_mining_station }
  8949. create_mining_station = {
  8950. owner = ROOT
  8951. }
  8952. create_fleet = {
  8953. effect = {
  8954. set_owner = ROOT
  8955. if = {
  8956. limit = {
  8957. ROOT = { has_ethic = ethic_fanatic_materialist }
  8958. }
  8959. create_ship = {
  8960. name = random
  8961. design = "Sigma"
  8962. graphical_culture = root
  8963. }
  8964. }
  8965. if = {
  8966. limit = {
  8967. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  8968. }
  8969. create_ship = {
  8970. name = random
  8971. design = "Faith"
  8972. graphical_culture = root
  8973. }
  8974. }
  8975. if = {
  8976. limit = {
  8977. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  8978. }
  8979. create_ship = {
  8980. name = random
  8981. design = "Devastator"
  8982. graphical_culture = root
  8983. }
  8984. }
  8985. if = {
  8986. limit = {
  8987. ROOT = { has_ethic = ethic_fanatic_xenophile }
  8988. }
  8989. create_ship = {
  8990. name = random
  8991. design = "Watcher"
  8992. graphical_culture = root
  8993. }
  8994. }
  8995. set_location = {
  8996. target = PREV
  8997. distance = 20
  8998. angle = 90
  8999. }
  9000. }
  9001. }
  9002. }
  9003. random_system_planet = {
  9004. limit = {
  9005. has_deposit_for = shipclass_mining_station
  9006. has_mining_station = no
  9007. }
  9008. create_mining_station = {
  9009. owner = ROOT
  9010. }
  9011. }
  9012. random_system_planet = {
  9013. limit = { has_deposit_for = shipclass_research_station }
  9014. create_research_station = {
  9015. owner = ROOT
  9016. }
  9017. create_fleet = {
  9018. effect = {
  9019. set_owner = ROOT
  9020. if = {
  9021. limit = {
  9022. ROOT = { has_ethic = ethic_fanatic_materialist }
  9023. }
  9024. create_ship = {
  9025. name = random
  9026. design = "Sigma"
  9027. graphical_culture = root
  9028. }
  9029. }
  9030. if = {
  9031. limit = {
  9032. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  9033. }
  9034. create_ship = {
  9035. name = random
  9036. design = "Faith"
  9037. graphical_culture = root
  9038. }
  9039. }
  9040. if = {
  9041. limit = {
  9042. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  9043. }
  9044. create_ship = {
  9045. name = random
  9046. design = "Devastator"
  9047. graphical_culture = root
  9048. }
  9049. }
  9050. if = {
  9051. limit = {
  9052. ROOT = { has_ethic = ethic_fanatic_xenophile }
  9053. }
  9054. create_ship = {
  9055. name = random
  9056. design = "Watcher"
  9057. graphical_culture = root
  9058. }
  9059. }
  9060. set_location = {
  9061. target = PREV
  9062. distance = 20
  9063. angle = 90
  9064. }
  9065. }
  9066. }
  9067. }
  9068. random_system_planet = {
  9069. limit = {
  9070. has_deposit_for = shipclass_research_station
  9071. has_research_station = no
  9072. }
  9073. create_research_station = {
  9074. owner = ROOT
  9075. }
  9076. }
  9077. random_system_planet = {
  9078. limit = { is_planet_class = pc_shielded }
  9079. create_fleet = {
  9080. effect = {
  9081. set_owner = ROOT
  9082. if = {
  9083. limit = {
  9084. ROOT = { has_ethic = ethic_fanatic_materialist }
  9085. }
  9086. create_ship = {
  9087. name = random
  9088. design = "Omega"
  9089. graphical_culture = root
  9090. }
  9091. }
  9092. if = {
  9093. limit = {
  9094. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  9095. }
  9096. create_ship = {
  9097. name = random
  9098. design = "Bulwark"
  9099. graphical_culture = root
  9100. }
  9101. }
  9102. if = {
  9103. limit = {
  9104. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  9105. }
  9106. create_ship = {
  9107. name = random
  9108. design = "Reaper"
  9109. graphical_culture = root
  9110. }
  9111. }
  9112. if = {
  9113. limit = {
  9114. ROOT = { has_ethic = ethic_fanatic_xenophile }
  9115. }
  9116. create_ship = {
  9117. name = random
  9118. design = "Sentinel"
  9119. graphical_culture = root
  9120. }
  9121. }
  9122. set_location = PREV
  9123. }
  9124. }
  9125. }
  9126. }
  9127. }
  9128.  
  9129. # Fallen Empire's Holy World 1
  9130. fallen_holy_01 = {
  9131. class = "rl_standard_stars"
  9132.  
  9133. flags = { holy_system_1 }
  9134.  
  9135. planet = {
  9136. count = 1
  9137. class = star
  9138. orbit_distance = 0
  9139. orbit_angle = 1
  9140. size = { min = 20 max = 30 }
  9141. has_ring = no
  9142. }
  9143.  
  9144. change_orbit = 45
  9145.  
  9146. planet = {
  9147. count = 1
  9148. orbit_distance = 30
  9149. class = "pc_gaia"
  9150. orbit_angle = { min = 90 max = 270 }
  9151. size = 18
  9152. name = "Walled Garden"
  9153.  
  9154. init_effect = {
  9155. add_modifier = {
  9156. modifier = "holy_planet"
  9157. days = -1
  9158. }
  9159. }
  9160. }
  9161.  
  9162. planet = {
  9163. count = { min = 2 max = 10 }
  9164. orbit_distance = 20
  9165. orbit_angle = { min = 90 max = 270 }
  9166.  
  9167. change_orbit = @base_moon_distance
  9168.  
  9169. moon = {
  9170. count = { min = 0 max = 1 }
  9171. orbit_angle = { min = 90 max = 270 }
  9172. orbit_distance = 5
  9173. }
  9174. }
  9175. }
  9176.  
  9177. # Fallen Empire's Holy World 2
  9178. fallen_holy_02 = {
  9179. class = "rl_standard_stars"
  9180. asteroids_distance = 95
  9181.  
  9182. flags = { holy_system_2 }
  9183.  
  9184. planet = {
  9185. count = 1
  9186. class = star
  9187. orbit_distance = 0
  9188. orbit_angle = 1
  9189. size = { min = 20 max = 30 }
  9190. has_ring = no
  9191. }
  9192.  
  9193. change_orbit = 30
  9194.  
  9195. planet = {
  9196. count = 2
  9197. orbit_distance = 20
  9198. orbit_angle = { min = 90 max = 270 }
  9199. }
  9200.  
  9201. change_orbit = 25
  9202.  
  9203. planet = {
  9204. count = { min = 1 max = 4 }
  9205. class = random_asteroid
  9206. orbit_distance = 0
  9207. orbit_angle = { min = 90 max = 270 }
  9208. }
  9209.  
  9210. planet = {
  9211. count = 1
  9212. orbit_distance = 25
  9213. class = "pc_gaia"
  9214. orbit_angle = { min = 90 max = 270 }
  9215. size = 14
  9216. name = "Emerald Mausoleum"
  9217. init_effect = {
  9218. add_modifier = {
  9219. modifier = "holy_planet"
  9220. days = -1
  9221. }
  9222. }
  9223. }
  9224.  
  9225. planet = {
  9226. count = { min = 2 max = 5 }
  9227. orbit_distance = 30
  9228. orbit_angle = { min = 90 max = 270 }
  9229.  
  9230. change_orbit = @base_moon_distance
  9231.  
  9232. moon = {
  9233. count = { min = 0 max = 1 }
  9234. orbit_angle = { min = 90 max = 270 }
  9235. orbit_distance = 5
  9236. }
  9237. }
  9238. }
  9239.  
  9240. # Fallen Empire's Holy World 3
  9241. fallen_holy_03 = {
  9242. class = "rl_standard_stars"
  9243.  
  9244. flags = { holy_system_3 }
  9245.  
  9246. planet = {
  9247. count = 1
  9248. class = star
  9249. orbit_distance = 0
  9250. orbit_angle = 1
  9251. size = { min = 20 max = 30 }
  9252. has_ring = no
  9253. }
  9254.  
  9255. change_orbit = 45
  9256.  
  9257. planet = {
  9258. count = 1
  9259. orbit_distance = 10
  9260. class = "pc_gaia"
  9261. name = "Pristine Jewel"
  9262. orbit_angle = { min = 90 max = 270 }
  9263. size = 10
  9264.  
  9265. init_effect = {
  9266. add_modifier = {
  9267. modifier = "holy_planet"
  9268. days = -1
  9269. }
  9270. }
  9271. }
  9272.  
  9273. planet = {
  9274. count = { min = 1 max = 2 }
  9275. orbit_distance = 60
  9276. class = pc_gas_giant
  9277. orbit_angle = { min = 90 max = 270 }
  9278. size = 25
  9279.  
  9280. change_orbit = @base_moon_distance
  9281.  
  9282. moon = {
  9283. count = { min = 1 max = 4 }
  9284. size = { min = 8 max = 20 }
  9285. orbit_angle = { min = 90 max = 270 }
  9286. orbit_distance = 6
  9287. }
  9288. }
  9289.  
  9290. change_orbit = 20
  9291.  
  9292. planet = {
  9293. count = { min = 0 max = 2 }
  9294. orbit_distance = 20
  9295. orbit_angle = { min = 90 max = 270 }
  9296. }
  9297. }
  9298.  
  9299. # Fallen Empire's Holy World 4
  9300. fallen_holy_04 = {
  9301. class = "rl_standard_stars"
  9302. asteroids_distance = 120
  9303.  
  9304. flags = { holy_system_4 }
  9305.  
  9306. planet = {
  9307. count = 1
  9308. class = star
  9309. orbit_distance = 0
  9310. orbit_angle = 1
  9311. size = { min = 20 max = 30 }
  9312. has_ring = no
  9313. }
  9314.  
  9315. change_orbit = 120
  9316.  
  9317. planet = {
  9318. count = 1
  9319. orbit_distance = 10
  9320. class = "pc_gaia"
  9321. name = "Prophet's Retreat"
  9322. orbit_angle = { min = 90 max = 270 }
  9323. size = 25
  9324.  
  9325. init_effect = {
  9326. add_modifier = {
  9327. modifier = "holy_planet"
  9328. days = -1
  9329. }
  9330. }
  9331. }
  9332.  
  9333. change_orbit = -80
  9334.  
  9335. planet = {
  9336. count = { min = 0 max = 2 }
  9337. orbit_distance = 20
  9338. orbit_angle = { min = 90 max = 270 }
  9339. }
  9340.  
  9341. change_orbit = 80
  9342.  
  9343. planet = {
  9344. count = { min = 0 max = 2 }
  9345. orbit_distance = 40
  9346. orbit_angle = { min = 90 max = 270 }
  9347. }
  9348. }
  9349.  
  9350. # Fallen Empire Xeno Zoo
  9351. fallen_xeno_zoo = {
  9352. class = "rl_standard_stars"
  9353. asteroids_distance = 80
  9354.  
  9355. flags = { fe_xeno_zoo }
  9356.  
  9357. planet = {
  9358. count = 1
  9359. class = star
  9360. orbit_distance = 0
  9361. orbit_angle = 1
  9362. size = { min = 20 max = 30 }
  9363. has_ring = no
  9364. }
  9365.  
  9366. change_orbit = 70
  9367.  
  9368. planet = {
  9369. count = 1
  9370. orbit_distance = 15
  9371. class = "pc_gaia"
  9372. name = "The Preserve"
  9373. orbit_angle = { min = 90 max = 270 }
  9374. size = 20
  9375.  
  9376. orbit_angle = 60
  9377. orbit_distance = 0
  9378. tile_blockers = none
  9379. modifiers = none
  9380.  
  9381. init_effect = {
  9382. set_planet_flag = fallen_empire_world
  9383. prevent_anomaly = yes
  9384. set_owner = ROOT
  9385. set_planet_flag = fe_the_preserve
  9386.  
  9387. create_species = {
  9388. name = random
  9389. class = random
  9390. portrait = random
  9391. traits = random
  9392. }
  9393. random_tile = {
  9394. limit = { has_building = no has_pop = no has_blocker = no }
  9395. create_pop = {
  9396. species = last_created_species
  9397. ethos = random
  9398. }
  9399. set_building = "building_fe_xeno_zoo"
  9400. }
  9401.  
  9402. create_species = {
  9403. name = random
  9404. class = random
  9405. portrait = random
  9406. traits = random
  9407. }
  9408. random_tile = {
  9409. limit = { has_building = no has_pop = no has_blocker = no }
  9410. create_pop = {
  9411. species = last_created_species
  9412. ethos = random
  9413. }
  9414. set_building = "building_fe_xeno_zoo"
  9415. }
  9416.  
  9417. create_species = {
  9418. name = random
  9419. class = random
  9420. portrait = random
  9421. traits = random
  9422. }
  9423. random_tile = {
  9424. limit = { has_building = no has_pop = no has_blocker = no }
  9425. create_pop = {
  9426. species = last_created_species
  9427. ethos = random
  9428. }
  9429. set_building = "building_fe_xeno_zoo"
  9430. }
  9431.  
  9432. every_tile = {
  9433. limit = { has_building = no has_pop = no }
  9434. set_blocker = tb_xeno_preserve
  9435. }
  9436.  
  9437. create_spaceport = {
  9438. owner = ROOT
  9439. initial_module = "fallen_empire_weapon"
  9440. }
  9441. spaceport = {
  9442. set_spaceport_level = 6
  9443. set_spaceport_module = {
  9444. slot = 1
  9445. module = "crew_quarters"
  9446. }
  9447. set_spaceport_module = {
  9448. slot = 2
  9449. module = "fleet_academy"
  9450. }
  9451. set_spaceport_module = {
  9452. slot = 3
  9453. module = "synchronized_defenses"
  9454. }
  9455. set_spaceport_module = {
  9456. slot = 4
  9457. module = "engineering_bay"
  9458. }
  9459. }
  9460.  
  9461. create_fleet = {
  9462. effect = {
  9463. set_owner = ROOT
  9464. if = {
  9465. limit = {
  9466. ROOT = { has_ethic = ethic_fanatic_materialist }
  9467. }
  9468. create_ship = {
  9469. name = random
  9470. design = "Omega"
  9471. graphical_culture = root
  9472. }
  9473. }
  9474. if = {
  9475. limit = {
  9476. ROOT = { has_ethic = ethic_fanatic_spiritualist }
  9477. }
  9478. create_ship = {
  9479. name = random
  9480. design = "Bulwark"
  9481. graphical_culture = root
  9482. }
  9483. }
  9484. if = {
  9485. limit = {
  9486. ROOT = { has_ethic = ethic_fanatic_xenophobe }
  9487. }
  9488. create_ship = {
  9489. name = random
  9490. design = "Reaper"
  9491. graphical_culture = root
  9492. }
  9493. }
  9494. if = {
  9495. limit = {
  9496. ROOT = { has_ethic = ethic_fanatic_xenophile }
  9497. }
  9498. create_ship = {
  9499. name = random
  9500. design = "Sentinel"
  9501. graphical_culture = root
  9502. }
  9503. }
  9504. set_location = {
  9505. target = PREV
  9506. distance = 30
  9507. }
  9508. }
  9509. }
  9510. }
  9511. }
  9512.  
  9513. change_orbit = -45
  9514.  
  9515. planet = {
  9516. count = { min = 1 max = 1 }
  9517. orbit_distance = 20
  9518. orbit_angle = { min = 90 max = 270 }
  9519. }
  9520. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement